Please refer to TemplateMonster Support for any issues surrounding TemplateMonster/TemplateTuning Themes – thanks, Jigoshop Team

Remove quantity field before "Add to Cart" on single product pages

Kristin's Avatar

Kristin

19 Apr, 2012 02:47 PM

Hi there!

Love this plugin because it's so customizable. :)

I have quantity-based pricing set up for my stationery business. I know that Jigoshop does not provide for this setup at this time, so I've instead created quantities as an attribute. Now I'd like to remove the quantity field with the plus and minus buttons that appears next to the Add to Cart button on single product pages (since they already have selected their quantity from the available attributes).

How can I disable the code that shows this quantity field? Thanks in advance!

  1. 2 Posted by Mooihoek on 28 Apr, 2012 11:48 PM

    Mooihoek's Avatar

    Did you get an answer to this? I'd also like to know how to do this.

  2. 3 Posted by lbonati on 28 Jun, 2012 12:04 AM

    lbonati's Avatar

    Please, someone have resolved this problem?
    I also need this configuration.

  3. 4 Posted by lbonati on 28 Jun, 2012 12:22 AM

    lbonati's Avatar

    I found the solution to clear the amount next to the add to cart button.

    You have to delete the following line in the file "jigoshop_template_fuctions.php" :

    <div class="quantity"><input name="quantity" value="1" size="4" title="Qty" class="input-text qty text" maxlength="12" /></div>
    
  4. 5 Posted by tobiasla on 29 Jun, 2012 11:05 AM

    tobiasla's Avatar

    It is better to disable the output in a custom css file (most themes offer an easy way to include one)

    form.cart div.quantity {visibility: hidden; display: none;}
    This is update-save - because it won't be overwritten during the next update.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.