Hi there! I tried copy-pasting the code in the documentation into my “Code Snippets” plugin to make Swatches work with infinite scroll. However, I’m getting the error message:

“The code snippet you are trying to save produced a fatal error on line 0:

Exception thrown without a stack frame”

The code I copy-pasted is here:

$(‘.variations_form’).each(function(){
$(this).wc_variation_form();
});

Please advise!

Ahmed Ehsaan

Hi Samuel,

Thanks for reaching us. We are sorry for your inconvenience.

Could you send us the latest version of the theme that you are using on your site. We’ll try to investigate your issue installing your theme on our local setup.

You can upload the theme file in Dropbox or Google drive and send the download link here directly.

Looking forward to hearing from you soon.

Thank you

Ahmed Ehsaan

Hi Samuel,

Are you using Astra Pro or free version. If it’s free, guide me how can I enable infinite scrolling. If it’s premium version, provide me premium file.

Thank You

Hi Ahmed, I’m using the pro version. Here’s the download link:¬†https://drive.google.com/drive/folders/1iRhSG72sBPkWc79bIzdHd5Hx9NWUpSDR?usp=sharing

Thanks again!

Ahmed Ehsaan

I don’t find infinite scrolling option here:¬†https://www.loom.com/share/72d80bd575d6405e86895ccb611c33da

Please check and point me.

Hi Ahmed, it looks like you must not have the Pro version activated?

The infinite scroll feature is under Customizing > Layout > Shop, and then you scroll down to “Shop Pagination”

I don’t see it in your video, however… :/

Ahmed Ehsaan

I think, I have upload your given plugin. Check here: https://www.loom.com/share/ba8e5b95156248b6a5ab80306d64c90b

Could you provide me 2.0.0 version theme? And what is your theme version?

Thank You