Shipping Calculation based on Order $ amount
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Shipping Calculation based on Order $ amount
I set up a new shipping service with the following simple objective
Orders over $50 will ship free
Orders Under $50 will be charged $10 shipping
I have
Provider : Standard, Reduction
reduction.basket-value-max : 100000
reduction.basket-value-min : 50
reduction.percent : 100
reduction.product-costs : no
Prices:
Tax Rate % : 0.00
Actual Current Price : 0.00
Subtracted Rebate Amount : 0.00
Shipping/Payment Cost : 10.00
Minimum Qty : 1
However, regardless of whether the cart value is over or under $50, instead of a line showing Shipping Cost I just get a line under the total showing:
Included rebates $ 10.00 (That is not deducted from the total.)
Any idea what I'm doing wrong here? I'm new to Aimeos and one would think such a simple shipping calculation wouldn't be that complicated.
Orders over $50 will ship free
Orders Under $50 will be charged $10 shipping
I have
Provider : Standard, Reduction
reduction.basket-value-max : 100000
reduction.basket-value-min : 50
reduction.percent : 100
reduction.product-costs : no
Prices:
Tax Rate % : 0.00
Actual Current Price : 0.00
Subtracted Rebate Amount : 0.00
Shipping/Payment Cost : 10.00
Minimum Qty : 1
However, regardless of whether the cart value is over or under $50, instead of a line showing Shipping Cost I just get a line under the total showing:
Included rebates $ 10.00 (That is not deducted from the total.)
Any idea what I'm doing wrong here? I'm new to Aimeos and one would think such a simple shipping calculation wouldn't be that complicated.
Re: Shipping Calculation based on Order $ amount
The calculation is correct and exactly what you want. The value of the free shipping ($10) is added to the amount of rebates granted, which is also perfectly valid. If you don't want to show that value, you should hide it via CSS.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Shipping Calculation based on Order $ amount
Still wasn't working (shipping value not shown for amounts under $50) and I identified the problem was caused by how I had incorrectly entered the reduction values as shown below:
reduction.basket-value-max : 100000
reduction.basket-value-min : 50
Once I corrected this to the following values everything seems to work great. Thanks for your help.
reduction.basket-value-max : {"USD":"100000"}
reduction.basket-value-min : {"USD":"50"}
reduction.basket-value-max : 100000
reduction.basket-value-min : 50
Once I corrected this to the following values everything seems to work great. Thanks for your help.
reduction.basket-value-max : {"USD":"100000"}
reduction.basket-value-min : {"USD":"50"}