• Resolved hadarhacohen

    (@hadarhacohen)


    When clicking a specific gift card on the website store, going to the product ticket –

    I have 2 columns:

    One for entering the sender’s name, personal note, the receiver email, quantity selection and add to basket button.

    On the 2nd column, I have two gift cards, both with the correct gift card title:

    The top one is including the name, receiver and the personal note.

    The bottom one has just the title and the default from, to and personal note.

    How can I remove the bottom – no need – gift card?

    Thanks

    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)

    When I visit the link I don’t see the gift card product, however based on the description of the problem it sounds like your Theme is calling the WooCommerce hook “woocommerce_before_add_to_cart_quantity” twice.

    We use the “woocommerce_before_add_to_cart_quantity” hook to add the To / From / Message fields for the gift cards. Try temporarily switching to the Storefront Theme from WooCommerce to verify that the issue goes away. If it works with the Storefront Theme, then it is definitely your Theme that is causing the duplicate form. Contact your Theme developer to find out how to fix the issue.

    If the problem persists even when using the Storefront Theme, then the issue is being caused by another plugin. Deactivate all plugins except for WooCommerce and our plugin. If this solves the problem, gradually activate your plugins one by one until you spot the problematic plugin and we can dig in further.

    Thread Starter hadarhacohen

    (@hadarhacohen)

    Thanks,

    I looked for the StoreFront theme – there are few themes that the name include the term “storfront”, I picked the plain Storefront one.

    I tried it and  still can see the gift card twice:

    The first one, with the sender’s name, the receiver email and the personal message

    The second one, just after, with plain view / preview.

    See this URL: https://kitchen-gadgets.hamumlazim.co.il/product/%d7%92%d7%99%d7%a4%d7%98-%d7%9b%d7%90%d7%a8%d7%93-100-%d7%a9%d7%97/

    Thanks

    Plugin Author pimwick

    (@pimwick)

    Since the problem happens even using a different Theme, it means that it is another plugin that is causing the conflict.

    Deactivate all plugins except for WooCommerce and our plugin. If this solves the problem, gradually activate your plugins one by one until you spot the problematic plugin and we can dig in further.

    Thread Starter hadarhacohen

    (@hadarhacohen)

    Problem was solved!!
    The product template, had as additional product description area that had no effect on the website products. However, this affected the gift cards.

    By deleting this product description, the additional not needed gift card was eliminated.

    Thanks
    Hadar

    Plugin Author pimwick

    (@pimwick)

    Wonderful, glad to hear that you found the culprit. I am marking this thread as resolved, have a great week!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.