Juan Rios1 Posted July 7, 2020 Share Posted July 7, 2020 Hello, I'm starting to sell shirts, but I want to put a sizes chart. Since I don't have more room for pictures, I was thinking of adding a button that would show a pop up with the image. Any ideas how to do this? I'm not a developer, but I've gotten the hang of some things. Thanks in advance! Link to comment Share on other sites More sharing options...
Guest Posted July 7, 2020 Share Posted July 7, 2020 Will the size image be for all products? Link to comment Share on other sites More sharing options...
Juan Rios1 Posted July 7, 2020 Author Share Posted July 7, 2020 No, it would only be for certain categories, if thats possible. If it has to be on all products, I guess I'll just have to work with that. Link to comment Share on other sites More sharing options...
Guest Posted July 7, 2020 Share Posted July 7, 2020 It has become more complicated by categories. To do this, the module would have to be done and created a hook for product.tpl Because you would have to manually enter conditions into product.tpl eg: {if $product->id_category_default == 3 || $product->id_category_default == 11} <img src="{$img_dir}/shirt-size-men.png" style="max-height:150px;"> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now