Announcement

Collapse

Posting Rules

Posting Rules
This forum was created to help 3dcart users share tips on getting the best out of the service, offer knowledge and experiences about e-commerce in general, and to promote a positive environment in which our merchants can request/dispense advice regarding best practices.

The forum was not created for 3dcart users to submit requests for customer support. Any support related thread will be removed and a support ticket will be placed on your behalf. If you have technical difficulties please visit http://support.3dcart.com.

The 3dcart forum is also not intended to be a medium in which to express dissatisfaction about 3dcart's service, policies or its management and staff. Threads of this nature will also be removed from the forum. If a support issue with your 3dcart store was not resolved in a satisfactory manner; or if you feel that a particular 3dcart offering/policy is not to your liking, please let us know by emailing [email protected] so we can address your concerns directly.

Again, our purpose is to cultivate a positive learning environment for our merchants rather than platform in which to express grievances.

Very Important Rules:
* Never give away your store administration login/password in this forum.

Should you need technical help, please let 3dcart staff help.
Also, please be aware that 3dcart staff will NEVER need to ask for your 3dcart related passwords.

General Rules:
* While debate and discussion are acceptable, we will never tolerate rudeness, insulting posts, personal attacks or inflammatory posts. Our decision is final in these matters.
* Please refrain from posting meaningless threads, one word (or short) nonsensical posts, or similar postings.
* Multiple or repeated posting in order to increase your post count is not allowed.
* Advertising, spamming and trolling is not allowed. This includes using the forum email and Private message system to spam other members.
* We also do not allow posts that are sexual in nature.
* Please wait at least 24 hours before bumping posts.
* Discussion of illegal activities such as software and music piracy and other intellectual property violations are not allowed.
* Each member is allowed one login account. Registering with multiple accounts is not allowed.
* We reserve the right to remove offensive posts without notice.
* We also reserve the right to remove postings which are in violation of our specified posting rules
* Also, while these rules cover most common situations, they cannot anticipate everything. Consequently, we reserve the right to take any actions we deem appropriate to ensure these forums are not disrupted or abused in any way.
* You cannot post any affiliate or referral links, or post anything asking for a referral. Such posts will be subject to removal.
* You cannot post advertisements or notices for contests.
* We also reserve the right to ban anyone who willfully violates the forum rules, as access to our support forums are a privilege and not a right. A banned customer is still entitled to support from the support system, but will not be able to participate in the forum.
See more
See less

Make Minimum Quantity Show in the Qty Field

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

  • Make Minimum Quantity Show in the Qty Field

    Does anyone know how to make the minimum quantity show in the Qty box of the product listing template?

    On my previous cart the Qty box would automatically pull the minimum and display that by default. If a customer put a different quantity in (say the minimum is 5 and they changed it to 1), a popup would alert them of the minimum quantity.

    Customers are telling me it's confusing when a product has a minimum quantity but they're allowed to add a lower quantity to the cart. The only notification they get is when they view the cart and find that a quantity different from what they wanted has been added.
    Chris
    TC Life Safety
    TC Wireless

  • #2
    My stores do have the minimum quantity in the box. Under the advanced tab on products I have the minimum quantity entered. I'm using a style 1 for the listing page template (it has been slightly modified). Don't think there was anything else we had to do to get the quantity in the box.

    Comment


    • #3
      Hmmm...I'll have to look at one of the default templates and see if anything's different. 3dCart created my listing template and it's definitely showing 0 when there is a minimum.

      Thanks for the info.
      Chris
      TC Life Safety
      TC Wireless

      Comment


      • #4
        I'm trying to get this to work also and no luck. I also have the min entered in the advanced section.

        Comment


        • #5
          Originally posted by pnkgirl25 View Post
          I'm trying to get this to work also and no luck. I also have the min entered in the advanced section.
          You have to change [qty] to [minimumorder] in the template and it will show correctly.
          Chris
          TC Life Safety
          TC Wireless

          Comment


          • #6
            Do you know how/where I do this?

            Comment


            • #7
              You will need to download whichever product template your site is using via FTP from assets/templates/[yourtemplatename]/listing_x.html and edit the [qty] field in the code to read [minimumorder]. You'll find this between the <!--START: qtybox--> and <!-END: qtybox--> tags.

              Not sure how up to speed you are on the 3dCart template system, so here are some resources:

              Intro to Templates
              https://support.3dcart.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticl eid=149&nav=0,7

              Customizing the Product Page
              http://support.3dcart.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticl eid=80&nav=0,7

              Template Reference Guide
              http://www.3dcart.com/guide/

              Once you understand how the templates are constructed it's not difficult to work them provided you have some HTML knowledge.

              Hope this helps.
              Chris
              TC Life Safety
              TC Wireless

              Comment


              • #8
                Confused.

                Originally posted by tclifesafety View Post
                You will need to download whichever product template your site is using via FTP from assets/templates/[yourtemplatename]/listing_x.html and edit the [qty] field in the code to read [minimumorder]. You'll find this between the <!--START: qtybox--> and <!-END: qtybox--> tags.

                When I look at my listing_2.html this is what I see.
                HTML Code:
                <!--START: qtybox-->
                                                
                <input type="text" size="3" name="qty-0" value="1" onChange="validateValues(document.add,1);" class="txtBoxStyle">
                                                
                <!--END: qtybox-->
                What do I need to change to get this to work?

                Comment


                • #9
                  Change
                  Code:
                  <!--START: qtybox-->
                                                  
                  <input type="text" size="3" name="qty-0" value="1" onChange="validateValues(document.add,1);" class="txtBoxStyle">
                                                  
                  <!--END: qtybox-->
                  to
                  Code:
                  <!--START: qtybox-->
                                                  
                  <input type="text" size="3" name="qty-0" value="[minimumorder]" onChange="validateValues(document.add,1);" class="txtBoxStyle">
                                                  
                  <!--END: qtybox-->
                  Chris
                  TC Life Safety
                  TC Wireless

                  Comment


                  • #10
                    Thank you!

                    Comment


                    • #11
                      Does anyone know how to do this in the Core templates? Using "[minimumorder]" doesn't work like it did when my template was HTML5.

                      Thanks

                      Comment

                      Working...
                      X