Remove Qty Field On Product Detailed Page (Version 4.3.4)

Hi Guys, I'm a little rusty having not worked on CS Cart for some time; like the subject says, I want to remove the qty option entirely from the product detailed page. The product on this particular site relies on the customer using a dropdown menu to choose their desired qty (250, 500, 1000 etc)

I know in older versions of CS Cart you could simply change the {show qty=true} smarty tag, but the new version looks a lot more complicated. So just wondering if the file to edit is;

design\themes\responsive\templates\blocks\product_templates\default_template.tpl and what part of the code I would disable?

Lastly, I'm so rusty with hooks and my_changes add on - do I recreate that directory structure under my changes, copy the file over and make changes to it?

Thanks for your time,

Scott.

Setting {$show_qty = false} should still work.

The structure of V4 is completely different than V2/V3 so you should go to the knowledge base and search for "port addon" and that will probably give you the info you need to know.

Can't help with the rust.

Welcome back.

Hi Guys, I'm a little rusty having not worked on CS Cart for some time; like the subject says, I want to remove the qty option entirely from the product detailed page. The product on this particular site relies on the customer using a dropdown menu to choose their desired qty (250, 500, 1000 etc)

I know in older versions of CS Cart you could simply change the {show qty=true} smarty tag, but the new version looks a lot more complicated. So just wondering if the file to edit is;

design\themes\responsive\templates\blocks\product_templates\default_template.tpl and what part of the code I would disable?

Scott, you can use the products:qty hook in the following file:

design/themes/YOUR_THEME/templates/common/product_data.tpl

Use the following condition if you are on the product details page:

{if $details_page}
   ...
{/if}

Read more about hooks in the latest versions here:

http://docs.cs-cart.com/4.3.x/developer_guide/addons/hooking/tpl_hooks.html

Hi Guys, thank you for the help. Tony, thanks for the welcome back. I'm still using your EZ Admin Helper btw, great add-on.

Cheers,

Scott.