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

Help adding quantity box and to cart in category page and home page for each item

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

  • Help adding quantity box and to cart in category page and home page for each item

    hi , i tryed multiple combination without any success to what i want to achive
    first is i tried to use the button from the quick_view.html

    which is like this :

    HTML Code:
    <div class="addToCartBlock">
    <div class="qtybox">
    <label>[product_quantity]</label>
    <!--START: qtybox-->
    <input type="text" size="3" name="qty-0" value="1" onchange="validateValues(document.add,1);" class="form-control" />
    <!--END: qtybox-->
    </div>
    <div class="addcart-button">
    <button type="button" onclick="check_and_add(document.add);" id="Add" name="Add" class="btn btn-color btn-lg">[product_addtocart]</button>
    <a href="javascript:void(0);" onclick="window.top.location='product.asp?itemid=[catalogid]'">Or View Details</a>
    </div>
    </div>
    i took this piece and pasted it here :in home.html to try it out but didnt work .

    what i m looking for is to have a field for quantity and add to cart in the home page and category page , so when customer is on the page he choose the quantity and add it to the cart without having to navigate to another page .
    thank you

  • #2
    Originally posted by momoze View Post
    ...what i m looking for is to have a field for quantity and add to cart in the home page and category page , so when customer is on the page he choose the quantity and add it to the cart without having to navigate to another page .
    thank you
    3dCart may already include a solution for the category page. Look at the Category page settings. Change the Template / Category Page settings to Style 3. Check the way the products display to see if this works for you.
    Luxlife

    Comment


    • #3
      tnx for the answer but it doesnt seem that i have that option to do , mine is fixed to style_1 and i checked the common file to see if i have more files of category on the common html but nothing shows to direct this idea on how to do it via category page .
      i may rather keep on looking to find a solution even hard code it into the template i have .

      Comment


      • #4
        If you're using a CORE template, then you need to edit the product_items.html file. If the template is HTML5 it will be inside the category_0.html file under ITEM_TEMPLATE_0

        Comment


        • #5
          Originally posted by JoeBTI View Post
          If you're using a CORE template, then you need to edit the product_items.html file. If the template is HTML5 it will be inside the category_0.html file under ITEM_TEMPLATE_0
          thank you for your answer .

          is there any way that when i click on add to cart it just add the item and the quantity to the cart without refreshing and getting redirected to a different page , i would like to have the customer stay on the same page , but just adding the items to there cart , some jquery maybe , if that doesnt exist , could you direct me to build my own module or plugin for that purpose please !

          thank you

          Comment

          Working...
          X