Storefront JS Not Working - Shopware 6.5

Hello…

I have one major issue in my custom plugin. I developed the custom plugin in shopware version 6.4.* . The custom plugin working correctly in shopware version 6.4.* series. But the plugin is not working in shopware version 6.5.0.

So, I tried to fix the problem. But unfortunately it’s failed. The reason for issue is generated js file mismatch between shopware version 6.4 and 6.5.

I have attached the screenshot. please helps to troubleshooting the issue.

Note : In screenshot left side : 6.5.0 and right side : 6.4.20.2



PFA,

Hi @deepak_a.

Did you find a solution for this? Just facing the same issue.

greetings Mike

Hi @_MikeB

Yes. We resolved the issue. Only the version control is possible.

For example we released two version 1.0.0 and 2.0.0 .

We implemented.

1.0.0 version supported 6.3 to 6.4.

and 2.0.0 version supported only 6.5.

We have controlled in composer.json file and store.

Example :

1.0.0 :
„version“: „1.0.0“,
„require“: {
„shopware/core“: „^6.3.0“,
„shopware/storefront“: „^6.3.0“
},

2.0.0
„version“: „2.0.0“,
„require“: {
„shopware/core“: „^6.5.0“,
„shopware/storefront“: „^6.5.0“

},

It’s automatically download based on the shop version. Paypal also used this same concept. PayPal for Shopware 6 | Shopware Store(check changelog).

Our plugin : Customer Discount Request | Shopware Store

Thanks for your reply. I hoped there will be a better solution but it seems its the only one. So after the update to 6.5 the plugin stop working in the frontend until the shopowner updated the plugin. Thats sad :frowning: