Shipment method after coupon usage

  • Posts: 169
  • Thank you received: 2
  • Hikashop Business
10 years 3 months ago #135324

i've done that for all orders >$100 i offer a free shipping.
I put in a cart products and when i reach $100 my shipment method goes free - perfect.
But, when i enter a coupon code which gives me 30% discount, total order sum is becoming less then $100, but free shipping still offered. How can i do, free shipping to be calculated from total total sum after all coupons, etc.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #135337

Hi,
I think that you should set the "Include virtual products price" option of your shipping configuration page to yes, so that your shipping restrictions will be applied to regarding the final total price.

Please Log in or Create an account to join the conversation.

  • Posts: 169
  • Thank you received: 2
  • Hikashop Business
10 years 3 months ago #135344

It is already set to YES, but still my shipping restrictions is not applied to final total price. It is applied to total price.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 3 months ago #135364

Ok
Can I :
- have a link to your web site with your coupon code so that I can directly test it ?
- have screenshots of how did you configured your shipping method + coupon so that I can also test it on my end ?

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 1 week ago #148845

Hi,
this is exactly my problem as well.
My limit for free standard shipping is 30 Euros. When I add a coupon for 5 Euros the free shipping is still offered, even the price is 25 Euros. Here is my adress: emmde.de
I would be glad, if you could help me!

I can give you an admin-account for my site, if you like.

Attachments:
Last edit: 10 years 1 week ago by Marius.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 week ago #148917

Hi,
Did you tried to change the value of the "Include virtual products price" option of your shipping configuration page ? If not, can you do it and test it again ?

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 1 week ago #148964

Hi,
thank you for your answer and for this hint.
I turned the switch off => include virtual price: NO
The half of my problem is solved now:
When the customer buys for 25 Euros and activates the coupon over 5€ the shipping does not change to free.

Here is the unsolved part of my problem:
When the customer buys for 30 Euros the shipping is free.
Wheh he activates his coupon over 5€ (total = 25€) the shipping still is free.

It's absolutely strange...

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 1 week ago #148971

Hello,
Can you show me how did you configured your free shipping method through some screenshots ?

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 1 week ago #149070

Hi,
here is a screenshot of my standard-shipping (up to 29.99 Euro) and the free-shipping for more than 30 Euros. The fields which don't fit on the screenshot are empty.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 6 days ago #149125

Hi,
1.

Here is the unsolved part of my problem:
When the customer buys for 30 Euros the shipping is free.
Wheh he activates his coupon over 5€ (total = 25€) the shipping still is free.


As it's said on the documentation :

Include virtual products price : If you activate this option, the price of virtual goods (no weight) is taken into account for the maximum and minimum price restrictions above as well as the percentage price calculation. Otherwise, only the real goods (with a weight) are taken into account.

Note that coupons are "virtual goods" so you're shipping method will automatically see your shipping method as a 30€ order and note a 25€ order if your "Include virtual products price" isn't activated.

2.

My limit for free standard shipping is 30 Euros. When I add a coupon for 5 Euros the free shipping is still offered, even the price is 25


I don't think that you should have that issue if you have set the "Include virtual products price" to YES, can you test it again ?

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 4 days ago #149315

Hi Mohamed,
for testing I have created a shipping method which will all 10%.
Then I ordered things for 30 Euros and added a coupon over 5 Euros. See the results in the screenshots:

Option: Include virtual products price" to NO:
Total: 30€
coupon:-5€
Final total: 25€
The 10%-test-shipping calculates: 30€ When a coupon is virtual product the calculation is undersandable.

Option: Include virtual products price" to YES:
Total: 30€
coupon:-5€
Final total: 25€
The 10%-test-shipping calculates: 35€ This is abolutely strange behaviour. Because the shipping calculation adds the price of the coupon instead of subtracting.

Thank you for your effort!

Attachments:
Last edit: 10 years 4 days ago by Marius.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 4 days ago #149391

Hi,
I just tested it on my end and It seems to be working fine, so can you download the last Hikashop version through our website, install it and test it again ?
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 3 days ago #149397

Hi,
Hika on my site tells me to in the latest release:
You have the latest stable version of HikaShop Essential: 2.3.0
It is the same release 2.3.0, I could download form my subscriptions.
Thanks for your patience

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 3 days ago #149403

Ok,
Can you give me a temporary access to your back-end through a private message so that I can directly test it ?

The following user(s) said Thank You: Marius

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 23 hours ago #149829

Hi,
I sent you an account for my site.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 20 hours ago #149862

Hello,
I just made a fix regarding that issue, so can you :
- edit the file : "\administrator\components\com_hikashop\classes\shipping.php"
- change these lines :

	if ($order->coupon->discount_flat_amount != 0)
	{
		$order->shipping_prices[$key]->all_with_tax += $order->coupon->discount_flat_amount;
		$order->shipping_prices[$key]->all_without_tax += $order->coupon->discount_flat_amount;
	}
By :
	if ($order->coupon->discount_flat_amount != 0)
	{
		$order->shipping_prices[$key]->all_with_tax -= $order->coupon->discount_flat_amount;
		$order->shipping_prices[$key]->all_without_tax -= $order->coupon->discount_flat_amount;
	}
And test it again ?

Last edit: 10 years 20 hours ago by Mohamed Thelji.
The following user(s) said Thank You: Marius

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
9 years 11 months ago #150048

GREAT! it works!
Thank you very much!

Please Log in or Create an account to join the conversation.

  • Posts: 228
  • Thank you received: 8
5 years 8 months ago #294905

Hello,

I'm encountering this issue with Hikashop 3.3.0. I have free shipping of 99 Nis and after coupon is enabled the shipping remains free although the price drooped under 99. Tried to play with the "Include virtual products price" but there was no effect.
I will note that the coupon is set to be auto loaded to the cart. When I add the coupon manually the issue is not present and shipping costs are added despite the total price lower then 99.

Please advice,

Guy.

Last edit: 5 years 8 months ago by theguy.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
5 years 8 months ago #294923

Hello,

I just tested it with the last Hikashop version and it worked fine, can you download it through our website, install it and test it again ? Thank you.

Best regards,
Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 228
  • Thank you received: 8
5 years 8 months ago #295015

Thank you Mohamed,

I've installed the new version (3.3.5) but the problem remains.
Any other suggestions please?

Guy.

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum