Replacing Pre-Filled Quantity Fields - by sunland2

This topic has 6 replies, 3 voices, and was last updated 6 years, 9 months ago ago by Olga Barlow

  • Avatar: sunland2
    sunland2
    Participant
    December 13, 2017 at 00:21

    Our customers are older and are having trouble indicating the order quantities when ordering off our Preview site. Is there some way for us to override Xstore’s code to display a blank order quantity input field so they can simply type in their quantities instead of having to click-delete, or click-backspace to clear the quantity 1 that is displayed by default in that field?

    You’ll need to log in to see our product catalog and product pages.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2017 at 14:03

    Hello,

    Thanks for the topic. Hope you are having a nice day.
    Please provide a screenshot for better understanding.

    Regards

    Avatar: sunland2
    sunland2
    Participant
    December 13, 2017 at 15:40

    See https://preview.sunlandspecialties.com/Capture.png for one of our product pages. Note the quantity 1 is pre-filled. If a customer wants to order 24 of this item, and they don’t want to click the + button 24 times, then they have to click in the quantity field in front or behind the 1, and then click delete or backspace to erase the 1 before they can enter a number like 24. Our customers are generally older, not computer savvy, and they are having trouble doing all that. They simply want a blank quantity field and be able to enter their quantity themselves.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 13, 2017 at 16:22

    Hello,

    You may try to edit xstore/woocommerce/single-product/add-to-cart/simple.php file
    change http://prntscr.com/hmzmdt to this http://prntscr.com/hmzmp5
    We recommend you to make file changes in a child theme.

    Regards

    Avatar: sunland2
    sunland2
    Participant
    December 13, 2017 at 17:37

    That worked. Thank you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 13, 2017 at 17:46

    You are welcome!

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.