Jump to content


Photo

quantity discouts do not appear


  • Please log in to reply
1 reply to this topic

#1 akroma

akroma

    Member

  • Members
  • PipPip
  • 23 posts

Posted 01 February 2018 - 07:36 AM

Hi,
 
I just bought the module to show quantity discounts a few hours ago. My Prestashop version is 1.6.1.17 with Modez themes installed on top. (Modez theme Link : https://themeforest....e-blog/8318914)
 
However I noticed that my website is not showing the module even though the module has been installed and enabled.
I think the one it is showing is the default Prestashop Volume discount table. With price not correctly displayed. (see below)
Weirdly enough, once you go to Checkout / Shopping cart, all the calculations are correct as what I intended.  zzzzzzz


looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 10104 posts

Posted 01 February 2018 - 07:37 AM

Hello,
Module "product list quantity discount" uses default prestashop's hook named:
in PrestaShop 1.6:
- displayProductDeliveryTime
in PrestaShop 1.7:
- displayProductListReviews
- displayProductDeliveryTime

From what i see you are on prestashop 1.6 so I will focus on this version
displayProductDeliveryTime hook is a default prestashop hook included to theme's product-list.tpl file that is responsible for products lists. You can see it here: https://github.com/P...t-list.tpl#L111 (this is default prestashop file). This is the code:
{if isset($product.is_virtual) && !$product.is_virtual}{hook h="displayProductDeliveryTime" product=$product}{/if}
From my own experience I know that some of the theme-developers does not include this default hook to product-list.tpl. (i dont know why because it's a default feature in prestashop!) In this case - I bet - that the problem is related to fact that theme file does not contain this default code. It will be necessary to re-add it to theme's product-list.tpl file.

There is also a possibility that your theme has some tool to customize list of products
I see that your theme has this tool: https://i.imgur.com/oUpbW76.png - there is a menu item "product list".
I dont know this tool but from my own experience in prestashop i know that some tools allows to enable / disable some hooks directly from theme-configuration module like this one.
Verify please if there is an option to activate / deactivate some "hooks" in this case "displayProductDeliveryTime".


display quantity discounsts on product page
To display quantity discounts table that module creates on product page you can use two positions "displayProductButtons" and "displayProductFooter".
- Please go to modules > positions
- hit "transplant" button
- from first dropdown select module you purchased
- from second dropdown select "displayProductButtons" and "displayProductFooter" (depending on where you want to show the module)
- save changes

Your product page should display the module you purchased now.
If you are not tech-savvy i offer my full inspection directly in your shop.


free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png





IPB Skin By Virteq