• Resolved allismachine

    (@allismachine)


    Hi there,
    I have installed this and it’s running on the latest version of WooCommerce and WordPress. However, the gift card product photo is not appearing and the form fields to enter the giftcard details are not displaying, they both have inline attributes of display:none; why is this? I have tried checking and unchecking the to/from check box fix in settings but neither make a difference.

    Also, I cant add to basket as I get an error saying “An invalid form control with name=’pw_gift_card_to’ is not focusable.” as it has a value of required but no value. If you remove this, it becomes focusable. Any help would be much appreciated

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

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

    (@pimwick)

    I’m not able to see the gift card product page (it says “Coming Soon”) but this sounds like the gift card form is not being displayed.

    Most likely your Theme 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, try this:

    1. Uncheck the “Apply Fix For Missing Fields” setting from before and then save the changes.
    2. Download the wp-config.php from your FTP server.
    3. Keep a backup of wp-config.php in case there are problems.
    4. 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. */

    5. 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.

    @pimwick it’s any way to get support from your side for a paid plugin? I have sent you a message to all emails address and contact form, but nothing back. Thank you.

    Plugin Author pimwick

    (@pimwick)

    @sorinv we cannot use the www.ads-software.com forums to communicate for paid plugins, however we did reply to your email request.

    Thread Starter allismachine

    (@allismachine)

    Thanks very much for your help on this, I think it might be a theme issue with WooCommerce in general so I have gone back to the theme developers.

    Plugin Author pimwick

    (@pimwick)

    You’re welcome, I’m marking this thread as resolved but let us know if you have further questions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gift card fields don’t show and error in console about not being focusable’ is closed to new replies.