Jump to content

Building first theme - issue with product page


Recommended Posts

This is the first site I've used Prestashop to build with and really like it! I usually use Bolt CMS to build sites or Angular which are awesome but offer no ecommerce ability out-of-the-box. I have used the Classic Theme (Starter) to build a new theme for a client and have only one issue so far, the product page. For some reason it's missing the functionality of the "Classic" theme in terms of having the Modal for Product Images working, also the style of the page doesn't seem to carry over even though I've used the CSS from the Classic on it. I am wondering if anyone can see what Assets I may be missing or what my  issue is:

http://simplecreatif.shop/index.php?id_product=22&id_product_attribute=44&rewrite=more-hood-long-sleeve-t&controller=product#/1-size-s/5-color-grey

I am happy to post any code, template files or structure that you may need to help, just let me know what you need.

Cheers and thanks much!

 

 

Link to comment
Share on other sites

Actually finally figured this issue out, problem was two template files :)

product-images-modal.tpl was missing and there were changes needed to the product-cover-thumbnails.tpl

Not sure anyone will read this but it really really helped to add a comment to the top of each .tpl file with the template name so that when I used Chrome Dev Tools to inspect the code I could see which templates were controlling different sections of the page, like this:

<!-- templates/_partials/breadcrumbs.tpl -->

 

Edited by simplecreatif
Finished the sentence (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...