News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Hide Quantity Box on Category List Display with a Template Override - Frontpage

Started by anandmahey, October 03, 2019, 16:09:37 PM

Previous topic - Next topic

anandmahey

Virtuemart Version 3.6.2
Joomla Version 3.9.12

Thank you Kelvyn for solving my initial problem at this thread: https://forum.virtuemart.net/index.php?topic=143578.msg507577#msg507577

I'd like to do the same, essentially with a category template override. I've followed the instruction here: https://forum.virtuemart.net/index.php?topic=130589.0

And tried solutions by naming the products.php file to something else, products_noqty (in /template/html/com_virtuemart/sublayouts).

The name of this edited php file appears for selection, but upon selection and saving nothing happens.

I also copied default.php (renamed, example, noqty_default.php taken from com_virtuemart category folder) to template/html/com_virtuemart/category but this does not seem to work either. Maybe this step is not needed? Either way, with this step it does not work also.

I commented out the php codes i thought might affect the quanity box, such as addtocart. I even deleted all to code see if it breaks, but nothing.

Thank you