Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Anyway To Keep Quantity Discounts Displayed If The Stock Out? Rate Topic   - - - - -

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 05 September 2014 - 12:17 AM #1

Once a product is marked out of stock, then the Quantity discount box goes away. I can see why this happens because there would be no quantity discounts if you don't even have any in stock at all. However, I want the customer to still see the quantity prices even if we are out of stock because our prices are much less for higher volumes.

Seems like I should be able to edit the products template file but after looking at it it is too foreign to me to figure it out.

Thanks for your help if you have any ideas.

Jacson

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20936 posts

Posted 05 September 2014 - 08:18 AM #2

Try the following solution (not tested):

Open the design/themes/responsive/templates/common/product_data.tpl file move this code:

{if $product.prices}
         {include file="views/products/components/products_qty_discounts.tpl"}
{/if}

before this line:

<!--qty_update_{$obj_prefix}{$obj_id}--></div>

Then clear the cache and check the result.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)