• Resolved dmr92

    (@dmr92)


    Hi,

    Everything appears to work properly and across all browsers other than Internet Explorer. When you select the desired gift card amount the add to cart button pops up, however with internet explorer this is not the case. It remains blank and doesn’t allow our customers to add the card to their cart. Please let me know how to resolve the issue or if there is a way. This plug-in could be very useful, we just need to fix this.

    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    we got the same problem on one of our pages too.
    The problem with IE is that display: initial isn’t supported and the plugin uses this css rule to show the “add to cart” button when a value is selected.
    The problem is caused on line 12 in assets\js\ywgc-frontend.js. To fix this problem you need to change the line to $("div.single_variation_wrap").css('display', ''); (You also need to update the minified file: assets\js\ywgc-frontend.min.js). This will remove the css rule from the add to cart button correctly across all browsers.
    Please keep in mind that if you change it directly in the plugin files this fix will be automatically overwritten if the plugin gets updated.

    Kind regards
    WebKinder

    Thread Starter dmr92

    (@dmr92)

    Thanks WebKinder, my team made the changes and the “add to cart” option does now appear. However we are having issues with the fact that the price is not being added to the cart. Once i choose an amount for my gift card, it shows the quantity in the cart, however it does not update the price as it stays at 0.00 or whatever the total was before. The price does add to the cart when we go to the cart page and refresh the page. Do you know how to fix this?

    Thanks again

    Hi dmr92,
    glad to hear it worked. But as I already said keep in mind that this fix is not permanent. Updating the plugin will automatically overwrite your changes. So this support ticket isn’t solved at all, the fix should be added to the code to guarantee the highest browser compatibility (there is are sill many users that use IE). The fix I wrote above is not the way you should solve problems in plugins, its just a quick way to fix it temporarily if you really need to get it working.
    Regarding your issue with the price thats set to 0.00, we got that problem too.

    Kind regards
    WebKinder

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    many thanks for your reporting.
    Today we’ll release a new version of the plugin that will fix both issues.
    Add to cart button will showed properly also using Internet Explorer browser and the amount of gift card will set correctly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No “add to cart” in Internet Explorer’ is closed to new replies.