Had quite a few issues with AJAX on this theme, mostly that data from things like the PDF woo commerce vouchers was not being sent to the AJAX cart, so I simply removed that aspect of the template to prevent it using AJAX and using normal add to cart functionality instead.
Most products are ok on the site, but the vouchers, which are using this plugin, with using Safari and iOS Safari are not being added to the cart and the page is just refreshing. Chrome, etc. however are adding the products just fine so I cannot understand why this would be.
I have been in touch with the developer of the PDF plugin and he assures me that the actual adding to cart is ‘as is’ with Woocommerce, so that’s nothing to do with that plugin.
The things I need to know are can we get the fields from the above product (click Add gift name and message for more fields) into the AJAX cart as they currently do not appear, and if not, why is the standard add to cart (visible on that link above) not working on safari/ios.
You can try both browsers (Chrome/Safari) to see that the add to cart does work.
Just to add to this, I have subsequently tested this with no custom templates, settings on and off for the voucher plugin, and all attempts result in the same nothing adding to the cart.
The AJAX standard one does work as I mentioned, but cannot be used as it doesn’t add the information from the fields into the cart contents so it’s ‘just’ a product.
Reverted back to the standard TwentySeventeen Theme and it adds to cart perfectly on Safari – so it’s something within Vitrine.
What’s the best way to deactivate AJAX cart for a certain product type?
Hope you to be fine.
I will investigate this issue on Tuesday and then come back you with a solution.
We really need this sorting today latest as we’ve been losing sales for a few days now sadly.
Do you need anything else to check it? It’s fundamentally an error somewhere when the AJAX is not being used, we’ve had loads of devs looking into it but they have found nothing either.
I am now thinking of reverting to the standard 2017 theme for this product to prevent it being an issue to current shoppers.
I could zip and send a copy though for you to test though as you might end up seeing an out of date inaccurate version, with the theme revert applied.
Is there a way you know of that would pass information to the AJAX cart from the voucher single page fields?
File too large to update
Are you guys looking at this today? http://sharpham.staging.wpengine.com/buy/vine-to-wine-gift-voucher/
That’s a prime example of whats going wrong, the mini cart is NOT detecting the voucher fields
Sorry for the delay in responding.
It isn’t possible for us to pass data from the plugin, Ajaxified.
But, I think if you disable “Ajax add to cart” feature, your issue resolves. Try to do it:
Dashboard > Woocommerce > Settings > Add to cart behaviour > Enable AJAX add to cart buttons on archives
Was it helpful?
If no, tell me and I will share the issue with our developers.
That’s an option yeah – but we chose this theme for the side pop out AJAX cart which would them be disabled across the site right?
If we can disable it just for the vouchers page then that would work.
I don’t recall using a plugin ajaxified? I am using PDF Woocommerce Vouchers by wpweb.
I contacted our developers and ask them to investigate this plugin.
But as you know these type of services is out of themes’ support services. So, it has extra cost for you.
Yeah I can accept that to an extent, but we won’t be paying any more for this as we’ve had countless problems with this theme already and I’ve had such slow response times each time I’ve asked I’ve had to spend hours creating work arounds, for many plugins. I was also told by your support team last time that they were aware of AJAX bugs with the theme and they would be addressed when they are able and have the time to.
I feel that as this is just a simple product, with a few straight forward fields, this is not outside of the scope of what I would expect the theme to already be able to do. If the slide our basket cannot support anything other than simple and variable products, that should be clearly stated on your theme overview page as I can think of many integrations which would be void with this theme in this case.
I have gone out of my way to research ways to turn off the AJAX for this product type which was very successful and worked on all browser but Safari as something in this theme preventing it working.
I would be open to disabling AJAX like I said, but I think if this theme is not compatible with certain product types then the option to remove AJAX Cart for certain products is essential.
Let me know about what you find out – the mini cart already displays the fields upon refresh, so it clearly has the ability to capture them.
Hope you to be fine.
I will share the issue with our team. I will contact you on Monday.
Thank you, I will expect to hear back Monday then?
It’s certainly something within the Vitrine theme regarding the AJAX cart, as when any other theme is activated the vouchers and details checkout and go through fine.
Just an aside – over the weekend when I shared the URL for staging with you guys, the live site theme settings completely reset. Did you guys go on the live URL and activate the parent theme at all?
If so I would appreciate you letting us know that as the Vitrine logo has been on the client’s site for over a day… if this is the case it would make sense why the theme settings reset though – as if this was not you, I am seriously concerned this setting reset will happen again. LUCKILY I have the staging site as a backup to copy the settings from.
You must be logged in to reply to this topic.