Although it is generally bad practise to put PHP code directly into your (CubeCart 5) Smarty templates, its sometimes inenvitable.
You will need to edit controllers/controller.index.inc.php Continue reading “[Snippet] Allow PHP in Smarty (CubeCart 5)”
Here’s something that bugged me for a while. I’m working on an alternative image viewer for CC4, I don’t like the old style pop up window and I don’t think LightBox is really suitable.
Anyway, I needed the original product thumbnail visible on the view product page along with the additional images.
Here’s how it’s done. Continue reading “CubeCart – Product Thumbnail in viewProd.tpl”