Announcement

Collapse
No announcement yet.

Min Quantity displayed in product

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Min Quantity displayed in product

    Hi,

    I am selling items in pairs and have set the min products available as 2. What I want to achieve tho, is to show the Quantity as '2' on the actual product page where you can add the number manually. It currently defaults to '1'.

    Is there anyway to change this without the customer being sent back from the checkout to add the amount as 2 in this textfield?

    Thanks

    Brian
    Organic Image - Award-winning Airbrush Kustom Art & Airbrush Classes

    #2
    Hello Brian,

    I have just worked on this very thing for a customer. Basically you do not have access to the minimum quantity field in the templates (confirmed by CD a few days ago) so you have to create a custom var for it and then use the custom var in the scripts.

    I have written some scripts to create the customvar for all products that do not have one and then another set to update the customvar's value to be the same as the current entry in the product table.

    So to get access to the value you just have to click on a button and then when you change the value you just click on a button again to update them.

    I would be more than happy to sell these scripts to you (and anyone else watching) as well. I could also do the same for any Actinic or external field quite simply now that I have done the hard work.

    Miind you in your case as you always sell the mats in sets of 2 maybe you could just hardcode it in somewhere - or make them a component of a product and set the required quantity to 2, then you will automatically sell them in pairs, unless you particularly want to cope with the case of the three handed DJs that shop with you.

    Cheers
    Jan Strassen, Mole End Software - Plugins and Reports for Actinic V4 to V11, Sellerdeck V11 to V2018, Sellerdeck Cloud
    Visit our facebook page for the latest news and special offers from Mole End

    Top Quality Integrated label paper for Actinic and Sellerdeck
    A4 Paper with one or two peel off labels, free reports available for our customers
    Product Mash for Sellerdeck
    Link to Google Shopping and other channels, increase sales traffic, prices from £29.95
    Multichannel order processing
    Process Actinic, Sellerdeck, Amazon, Ebay, Playtrade orders with a single program, low cost lite version now available from £19.95

    Comment


      #3
      Originally posted by Jan

      Miind you in your case as you always sell the mats in sets of 2 maybe you could just hardcode it in somewhere - or make them a component of a product and set the required quantity to 2, then you will automatically sell them in pairs, unless you particularly want to cope with the case of the three handed DJs that shop with you.

      Cheers
      Hiya Jan,

      you know.. you have a point there actually! Some DJ's DO have 3 turntables! I mayhave to think again about this?

      Always something simple that stumps isn't it!! Let me know the cost of the scripts anyway..

      Brian
      Organic Image - Award-winning Airbrush Kustom Art & Airbrush Classes

      Comment


        #4
        Brian,

        I answered a similar query an hour or two ago:-

        To have the Quantity preset to 2 edit the Act_ProductLine.html and replace

        NETQUOTEVAR:PRODUCTQUANTITY

        with



        Code:
        <input type="hidden" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="2"><!-- NETQUOTEVAR:PRODUCTQUANTITY -->
        This will force all product using that template to have a hidden quantity of 2 applied.

        If you'd rather that they be able to alter this then do:

        Code:
        <input type="text" size="4" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="2"><!-- NETQUOTEVAR:PRODUCTQUANTITY-->
        Use "Quantity on Product page" type sections WITHOUT the Single Add to Cart. If you do use the Single Add then you'll get every product on that page into the cart all at quantity 2 and you probably don't want that.


        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks Norman, I'll give it a try.

          Brian
          Organic Image - Award-winning Airbrush Kustom Art & Airbrush Classes

          Comment


            #6
            Hi Norman,

            this works brilliant! BUT - I put the default price for the '2' in the product price as £20 and of course, got a sale of £40!

            What I really wanted to do was show the price as £20 (for a pair) and have the price added as '2' at a total of £20.

            Is the only way to do this to set the price at the £10 and hard-code the £20 figure into the product template?

            Cheers..

            Brian
            Organic Image - Award-winning Airbrush Kustom Art & Airbrush Classes

            Comment


              #7
              Is the only way to do this to set the price at the £10 and hard-code the £20 figure into the product template?
              I think that's probably the only easy way to do this. You can always comment out the product price netquotevar and put the price text in via a CUSTOMVAR. This way you only need 1 template for all your paired products.

              Norman
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                Well, something wierd is happening! I have added extra text in Design | options | Shop Defaults to say 'Price Each:' and I aslo changed the name of Online Catalogue to Slikmats Store.

                When I preview my store offline I see these changes applied but I have even done a site refrsh and i can't see the changes??

                The price per productis showing as £20 and not £10 and the 'Online Catalogue' still remains the same text?

                Any ideas??

                Thanks gang

                Brian
                Organic Image - Award-winning Airbrush Kustom Art & Airbrush Classes

                Comment


                  #9
                  The whole updating issue sounds like a server caching issue. What I do to check this is to manually delete the file from the server and then refresh the browser and see if the browser sees that it is missing.

                  Comment

                  Working...
                  X