Closed robzor closed 1 year ago
Hi @robzor
Thank you for bringing this to our attention. We have just pushed up a fix for the issue which will be included in the next release of Commerce.
To get this early, change your craftcms/commerce
requirement in your project's composer.json
to:
"require": {
"craftcms/commerce": "dev-develop#700229aeac88abd6edc2ac3111a6b3f12ac7b917 as 4.1.2",
"...": "..."
}
Then run composer update
.
Thanks
Thanks, I'll give this a go :)
@nfourtythree bug seems to be back, I have the same problem with craft 4.3.10 and commerce 4.2.5.1. In sales I can add the variant, but variant onSale is false.
See my question on #3097 please @stefanfriedrich thanks.
What happened?
Description
If i click 'Add to Sale' in a variant or 'Add all to sales' in the right hand sidebar and select any variants, they are not being applied to the sale. In the console I can see this:
The response is
[]
Shortly afterwards (no user action just with the product page open) there is an XHR request:
With a response of
{"sales":[]}
I am running the site locally via Laravel Valet on OSX.
Is there a good way I can expose the log for this, as I am getting a 'Added to sale' confirmation toast message but obviously it's not working?
Steps to reproduce
Expected behavior
Variant is added to sale
Actual behavior
Variant is not added to sale
Craft CMS version
4.2.4
Craft Commerce version
4.1.2
PHP version
8.0.17
Operating system and version
Mac OSX Catalina 10.15.7
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-