It looks like I have encountered another issue again with this script but I am not sure how to resolve it.
I have a minimum order of £5 on the site. Orders between £5 and £9.99 are charged £1.95 for shipping. On any orders of £10 and above shipping is inclusive.
Effectively, the script works as it should up to a point but I have discovered a problem when the following scenario occurs.
A customer adds items to the value of £6.58 to his/her shopping cart. The corresponding countdown to inclusive shipping message reads as follows:
'You need to spend £3.42 to obtain inclusive delivery!'
He/she can 'View Cart' and they can see the total of the products (excluding any shipping).
The customer then decides to Checkout and selects UK from the drop-down menu and clicks on next. Now, this is where the problem occurs. The £1.95 shipping is added on to the order meaning that the countdown to inclusive shipping message updates to the following:
You need to spend £1.47 to obtain inclusive delivery!
This is obviously not the case as the inclusive shipping should not be included towards the cost of the order. It should be based on the products only. Shipping cost is additional to this.
The customer can then continue shopping if they wish and add another £2.08 worth of products. In reality, this would mean that their order totalled £8.66 meaning that they would still have to pay the £1.95 for shipping.
However, due to the fact that they have already been to the checkout once and the £1.95 was added on, this is contributing to the value of the order as if it were additional products. This means that even though the order is worth £8.66 and should not qualify for inclusive shipping, the customer is actually receiving a message stating that they are eligble for inclusive delivery as the order value has been taken to £10.61 due to the £1.95 for shipping being included in the total.
This is obviously incorrect so I am wondering if a condition required somewhere at checkout so that if a customer leaves the checkout to continue shopping it removes the £1.95 shipping charge
Also, I have tried emptying the cart and starting again but for some reason the £1.95 is added on and contributes towards the goal of £10 for inclusive shipping. The only way around this is to close the browser, emptying the cookies etc, and re-opening and starting again. Obviously a customer is not going to do this if they can see they are going to get free shipping when spending less than £10.
I have now received confirmation from the support desk that this script does not work and that there is currently no workaround for this.
The support desk have advised that the problem with the script is that it takes the cart total from the CART_CONTENT cookie which contains the TOTAL of the cart and the count of items and unfortunately the shipping charge cannot be taken out. This means that the shipping charge will always contribute to the total value of the cart and display a false figure as to the remaining amount needed to qualify for free shipping.
I have requested that the 'Displaying a message that counts down to free shipping' script should be removed from the AUG. It was apparently initially included after being submitted by a forum user.
Clearly, the script was not tested properly by Actinic before it was included in the AUG.
Just in case anybody else is considering using this I would refrain from doing so until a workaround is found.
Comment