Closed webrained closed 3 years ago
@webrained can you give an example of a sale you're trying to use - thanks.
@mcjackson18 I created new sale and assigned that sale to specific user groups. Then I created and filled new bulk price for product variant and beyond the price supertable I filled related sales, with my created sale. In twig template I can't get the discounted price.
If you want I can put here some screenshots, of my cpanel options and dump in twig template.
See above, I have 3 prices for this variant and added related sales
This screenshot is showing the dump in twig template, so you can see it's returning just the base. prices, not discounted ones.
Is anyone here?
In your last commit I just can see something half baked, can you please elaborate about how's working the beyond:
In both 127 and 128 row i can see that: $event->lineItem->salePrice = $value; $event->lineItem->price = $value;
In both cases it's assigning to $value.
And I need ability to show salePrice also before it's beginning to be lineItem, but also in product details page, so please let me know when can I expect those fixes.
Best regards Arman T.
Hi Arman, I hope you can accept our apologies for a slow response, our productivity has been affected by the current global coronavirus pandemic.
The plugin currently is not compatible with commerce sales, the bulk price overrides any sales that apply. The previous commit resets the sale price to the reduced bulk price. This was required to fix issue #5 and an issue with another plugin.
I have made some changes to allow sales to modify the bulk price in the development branch. Can you see if this fixes the problem you are seeing.
The plugin does not make changes to the purchasable until it becomes a lineItem because it requires the quantity value of the lineItem. Perhaps I am misunderstanding your final point?
@mikeymeister when will the changes regarding the sales you made in the develop branch make into production ?
@CMeldgaard, version 1.1.6 now supports Commerce Sales.
Hey @mcjackson18 is there a way get the bulk discount sale price for showing this in a template?
Similar to the native selectedVariant.salePrice
?
Thanks
Hi, I'm using bulk price plugin for my craft commerce website and it works for product variants, but when I append related sales to that variant bulk prices, plugin doesn't decrease the sale value.