Add Product Variation Error 404 Page Not Found

Hi,

I have an error 404 page not found if I click the add variation button under the product variations tab. I deleted the variants of a product and after this action I noticed the problem with the add new variation. Ηas anyone encountered this problem? We have the cs-cart version 4.12.1.

Please see the attached image

https://snipboard.io/LZfhPM

Thanks

When you get a 404 error, it would really help to post the URL (everything after your admin url) so we can see what's being requested.

Yes sure,

?dispatch=products.update&product_id=3265

That's a pretty valid URL assuming you have product_id of 3265

I know that is a pretty url. Yes there is the product_id 3265. The url not change if you click the add variation button. A pop up opens with 404 error on it. Please see the screenshot link below.

https://snipboard.io/LZfhPM

That's not the URL of the button that is generating the popup. Right-click the button and choose inspect and look at the 'href' value in the button.

If you have 3rd party addons installed, suggest you disable them and see if the problem continues. If so, contact helpdesk. If not, and things are okay, start re-enabling the addons one-by-one and test the results. When it fails you'll have found the culprit. Yes it's time consuming and it's the same process a developer will do to validate your environment. The more addons, the more time.

From the inspect element the button has this href link:

?dispatch=product_variations.update&product_id=3267

Thanks for your help and your suggestion to disable the addons and try re-enable one by one to investigate the error origination. I'll do it and will post again to inform you and the topic.

Thank you

Looks correct to me. The only thing it could be is a permissions issue for that admin (if they're in an admin group, fix permissions).

That's not the URL of the button that is generating the popup. Right-click the button and choose inspect and look at the 'href' value in the button.

If you have 3rd party addons installed, suggest you disable them and see if the problem continues. If so, contact helpdesk. If not, and things are okay, start re-enabling the addons one-by-one and test the results. When it fails you'll have found the culprit. Yes it's time consuming and it's the same process a developer will do to validate your environment. The more addons, the more time.

You had right. Responsible for this issue was a third party addon. I talked with the addon support team and they fixed the issue just in some minutes. Probably this wasn't something difficult. They answered me that there was a conflict with this addon with another addon.

Thank you very much for your help tbirnseth

I've had the same issue couple of times with new cs-cart installation, without any custom addons
.The solution that I've found to fix was:
- delete the product that created the 404
- delete all created (variations (if any) of that product
- delete the features and groups that created the 404

and then repeat the process:

- recreate the product that created the 404
- recreate the features and groups that created the 404

For some reason it works fine the second time around

Hope this helps :)