We have tried installing the module combinations pro for list of products but the quantity field is not appearing even when in your module the quantity field is enabled, please tell us how to fix it.
combinations pro on list of products
#2
Posted 30 January 2018 - 06:14 AM
free tutorials, free templates, free addons, prestashop modules
#3
Posted 30 January 2018 - 06:14 AM
Thank you very much, it works perfectly, I did add some code to hide it for non-registered customers, it’s amazing.
1- I have a question, what is the possibility to implement the same exact table in product.tpl, is there a hook code that we can use to implement this table in the product page as well as the product-list page, it is very interesting to add it as it’s a full module and much better than the varietion standard system for Prestashop with radio buttons.
2- Your “Plus” and “Minus” buttons code is very complicated, I do not wish to mess up the code, would you please tell me what code should I add after on-click to do something like: onclick="noattr_ct_matrix_ ('up','_{$pla_upc}') (probably wrong code), I wish to make the plus/minus buttons to multiple the UPC field, for example if UPC is 40, one + click will make 40, the second click will make 80, third click 120 etc, we added the “full carton quantity” into UPC field to let customer buy full cartons only, we can’t sell 30 PCS while the box full quantity is 40, if a customer wants 6 cartons then they click + 6 times.
#4
Posted 30 January 2018 - 06:14 AM
Hello
- This module is dedicated for lists of products, by default it does not have a support of product page hooks.
But there is a possibility to show it on product page with little code addition to theme file that is responsible for product page design.
You can try to add shortcode:{hook h="displayProductDeliveryTime" product=$product}
to product.tpl file. PrestaShop will execute a module on product page then and show it there, where you will put the code.
i've got also dedicated module for product pages: product page combinations table: https://mypresta.eu/...ions-table.html (with much more features)
- Where i can see this upc field? an easiest way will be a modification of javascript, but it will be required to display somewhere upc field value
free tutorials, free templates, free addons, prestashop modules
#5
Posted 05 April 2023 - 01:24 PM
#6
Posted 05 April 2023 - 01:26 PM