We’re locked at home because of covid-19, but working to support your business.
We apologize if you face any delay to get support response.
Stay safe and take care of your family and yourself.

Swatches Not Showing Stock Status after Ajax Page Load

Frano Matic

Hey. I purchased your swatches plugin but I’m facing an issue.

The plugin works fine but when more products are loaded via infinite load, the swatches won’t show the inventory status on these new-loaded products. The infinite load plugin I’m using is this one.

I have tried reloading your plugin’s scripts manually after ajax, but it doesn’t work. Please let me know the solution asap.

Thanks.

Ahmed Ehsaan

What is your site link?

Ahmed Ehsaan

Try this plugin: https://wordpress.org/plugins/malinky-ajax-pagination/

Frano Matic

Hey, We just tried this plugin, it isn’t working either. The issue is still there.

Ahmed Ehsaan

After activating the plugin let me know and send me your site login details. I’ll fix it for you.

Frano Matic

have sent you site login details. this is the staging site, please fix it there and let me know what you did, we will apply it ourselves on the live site.

Ahmed Ehsaan

Check here now: https://www.loom.com/share/12378653574245d088fde21c1472d6ef

Frano Matic

hey, thanks for the explanation. we applied the code and it worked but… there was a side effect. The javascript which was applied makes the lazy load on mobile very slow. You can check on the mobile for verification. Is there a way around for it? To fix the main issue without causing another issue?

Frano Matic

Hey, I am expecting a reply from you guys. Very disappointing…

Ahmed Ehsaan

HI there,

We apologize for the late response. We’ve been moving to the new office that’s why it’s taking to time to reply.

Is it possible to record me your issue? On my end it’s loading normal.

Thank You

Frano Matic

Hi. Please view the videos below. As you can see in the first video of the staging site on mobile where we have applied the code as you said, the ajax load speed is significantly slower and it stops working after the second or third page. While as you can see in the second video of the live site where we haven’t applied the code which you provided, the site is much faster and works smoothly. We have tested the issue by removing the code on the staging site and have confirmed that, the issue is caused by the javascript code. Can you debug and let us know what’s going on and how we can have the swatches work without causing this trouble? I should also mention that both sites work fine on desktop, the issue is only caused by mobile devices.

video 1 (staging site): https://www.dropbox.com/s/wl3754xd7qdimm8/mobizen_20191209_164039.mp4?dl=0

video 2 (live site): https://www.dropbox.com/s/98ks806yw629rin/mobizen_20191209_164244.mp4?dl=0

Ahmed Ehsaan

Okey, confirm me which plugin you would have been using for Ajax scrolling?

Frano Matic

We used the plugin you recommended and load speed with that plugin is even worse. I have updated the staging URL, you can visit that and see it for yourself.

Ahmed Ehsaan

I asked you before my recommendation which plugin you used to use for ajax scrolling.

Frano Matic

atlease go through chat history plz. its already there.

 

Ahmed Ehsaan
1 month ago

Try this plugin: https://wordpress.org/plugins/malinky-ajax-pagination/

this was recommended by you.

 

if u want to check the site  , please use this link

https://redpyramid.b.wpstage.net/

user = blogvault

pass = 64e56bc2

 

the user n pass is only to access the staging.  if you need wp-admin login, feel free to ask. i will provide.  thanks.

Ahmed Ehsaan

Hi Frano,

Can you please give us a temporary admin access to your site? We’ll try to investigate the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!