• Resolved libbycarter

    (@libbycarter)


    Hi I have installed and set up the gift card and it works well on desktop, however, when testing on mobile I am unable to select the amount. I have tried this on a couple of different devices all with the same outcome, this is only happening with the gift card. Please could you advise?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pimwick

    (@pimwick)

    Unfortunately this is something related to your Theme. It is not calling the standard WooCommerce hook woocommerce_before_add_to_cart_quantity. There are a couple of things we can try but if they don’t work you will need to reach out to your Theme developer to find out why the fields do not appear.

    First, go to Pimwick Plugins -> PW Gift Cards -> Settings -> Check the box “Apply Fix For Missing Fields” and click “Save Changes”.

    If that doesn’t work, uncheck that box and then try this:

    1. Download the wp-config.php from your FTP server.
    2. Keep a backup of wp-config.php in case there are problems.
    3. Edit wp-config.php and scroll to the end and add the following bit of code:

    Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line (change the values as needed):

    define( 'PWGC_BEFORE_ADD_TO_CART_QUANTITY_FIX', true );
    
    /* That's all, stop editing! Happy blogging. */

    4. Save the wp-config.php file and re-upload it to your server.

    If neither of these solutions work, you will need to contact your Theme developer to see if they offer updated template files that correctly call the WooCommerce hook woocommerce_before_add_to_cart_quantity.

    Thread Starter libbycarter

    (@libbycarter)

    Hi,

    Thank you for your quick reply.
    I already had the missing fields fix selected, so I tried the other but neither seemed to work… but while working on the rest of the site I hid the reviews and it is now working. ??

    Plugin Author pimwick

    (@pimwick)

    Great, glad to hear you found the culprit. I’m marking this thread as resolved, best of luck with your store!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to select amount on mobile’ is closed to new replies.