How Do I Show Quantity & Quantity Discount With Catalog Mode?

While using the catalog mode add-on, how can I include the quantity and quantity discount for products with an empty buy now URL. (I selected the “Allow purchasing products with empty Buy Now URL” option in the add-on). I would like users to purchase some products on my store while others are linked to another shopping cart.



Storefront mode:

[attachment=8732:Screen Shot 2014-11-15 at 4.00.03 PM.png]



Catalog mode:

[attachment=8733:Screen Shot 2014-11-15 at 3.58.40 PM.png]



Catalog mode add-on:

[attachment=8734:Screen Shot 2014-11-15 at 3.59.35 PM.png]

Screen Shot 2014-11-15 at 4.00.03 PM.png

Screen Shot 2014-11-15 at 3.58.40 PM.png

Screen Shot 2014-11-15 at 3.59.35 PM.png

[quote name='jmoon' timestamp='1416662157' post='197695']

While using the catalog mode add-on, how can I include the quantity and quantity discount for products with an empty buy now URL. (I selected the “Allow purchasing products with empty Buy Now URL” option in the add-on). I would like users to purchase some products on my store while others are linked to another shopping cart.



Storefront mode:

[attachment=8732:Screen Shot 2014-11-15 at 4.00.03 PM.png]



Catalog mode:

[attachment=8733:Screen Shot 2014-11-15 at 3.58.40 PM.png]



Catalog mode add-on:

[attachment=8734:Screen Shot 2014-11-15 at 3.59.35 PM.png]

[/quote]



Try to edit design\themes\THEME\templates\addons\catalog_mode\hooks\products\qty.override.tpl file and replace:



{if ''|fn_catalog_mode_enabled == 'Y'}
 
{/if}




with



{if ''|fn_catalog_mode_enabled == 'Y' && ($product.buy_now_url != '' || ($product.buy_now_url == '' && $addons.catalog_mode.add_to_cart_empty_buy_now_url == 'Y')) }
 
{/if}




Do not forget to clear a cache

Thanks for the assist! For some reason, the code was not working for me – however, I was able to tweak it slightly so it works.



Updated code:

{if ''|fn_catalog_mode_enabled == 'Y' && $product.buy_now_url != ''}
{elseif ''|fn_catalog_mode_enabled == 'Y' && $addons.catalog_mode.add_to_cart_empty_buy_now_url != 'Y'}
 
{/if}