We have a requirement to discount the total order price based on the total quantity and a custom quantity property of specific order lines.
On the following website, https://www.three-choirs-vineyards.co.uk/shop/wine-list/, a user will receive n percentage discount for ordering x amount of bottles. The requirement is to mix and match this quantity based discount rule with a custom property for wine case product types, 'bottleQuantity', which indicates the amount of bottles in any given case.
Does Tea Commerce support this requirement out of the box? So far we have tried adding a property rule that checks if bottleQuantity is greater than or equal to x but it doesn't actually do anything or perhaps our assumption about what this property rule does is wrong.
I have double checked that custom property is getting setting, by recalling it using the order.Properties[] syntax. It's all set properly, as soon as the Property rule is removed the discount works as expected.
I also noticed an issue with discounts not being passed across to PayPal, but perhaps this is fixed in this release too! :-D
Is 3.1 compatible with v6, or is it time to upgrade to v7? I wasn't quite sure from the release notes - it perhaps it works, but some new features aren't available? Thanks! L
Discounts are not sent detailed to PayPal but the total price should be correct. But we changed that in a newer version of TC, but cant remember the specific version.
The 3.0.8 for v6 is actually 3.1.0 - we just had it named wrongly. And it works with v6. But would make sense soon to update to Umbraco 7 :) And yes - the variant stuff is only Umbraco 7+ so if you want that, then you need to run v7
Discount rules based on custom property
We have a requirement to discount the total order price based on the total quantity and a custom quantity property of specific order lines.
On the following website, https://www.three-choirs-vineyards.co.uk/shop/wine-list/, a user will receive n percentage discount for ordering x amount of bottles. The requirement is to mix and match this quantity based discount rule with a custom property for wine case product types, 'bottleQuantity', which indicates the amount of bottles in any given case.
Does Tea Commerce support this requirement out of the box? So far we have tried adding a property rule that checks if bottleQuantity is greater than or equal to x but it doesn't actually do anything or perhaps our assumption about what this property rule does is wrong.
Thanks,
Dave
Can you try and post a screenshot of your rule and settings and also where the bottleQuantity is - is it an order property or an order line property
I'm having possibly the same problem:
Using the following code to set the property:
I have double checked that custom property is getting setting, by recalling it using the order.Properties[] syntax. It's all set properly, as soon as the Property rule is removed the discount works as expected.
Any ideas would be greatly appreciated :-)
Fixed in 3.1 :)
https://documentation.teacommerce.net/revision-history/
Kind regards
Anders
Thanks Anders!
I also noticed an issue with discounts not being passed across to PayPal, but perhaps this is fixed in this release too! :-D
Is 3.1 compatible with v6, or is it time to upgrade to v7? I wasn't quite sure from the release notes - it perhaps it works, but some new features aren't available? Thanks! L
Discounts are not sent detailed to PayPal but the total price should be correct. But we changed that in a newer version of TC, but cant remember the specific version.
The 3.0.8 for v6 is actually 3.1.0 - we just had it named wrongly. And it works with v6. But would make sense soon to update to Umbraco 7 :) And yes - the variant stuff is only Umbraco 7+ so if you want that, then you need to run v7
Kind regards
Anders
is working on a reply...