Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • gogue66 Friend
    #200740

    Hi,

    I’m trying to figured how to fix the quantity for some products to 1.
    After some research, the solution seems to be to create a new product page detail without quantity box.
    When I follow instruction on how to do it. I could not find the code to replaced: http://forum.virtuemart.net/index.php?topic=97549.0

    In the joomla_root/components/com_virtuemart/views/productdetails/tmpl/default.php there is no quatity box code related?
    So I think the template load this page elsewhere.

    Could you help me setting up a product detail page for some specific products.
    No quantity box, add to cart will add 1 product to the cart automatically.

    Maybe you have a better solution?

    Thanks

    gogue66 Friend
    #547067

    Hi,

    After some hard work (for me), I made it.
    I found that default.php load a Template called default_addtocart.php who’s containing the quantity box code.
    So I’ve created my product detail page and I finally made it work.
    Don’t use uppercase when naming php files, It will not work….

    You could give me you idea about how you will have done it.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  gogue66 10 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum