After adding a couponcode shippingcosts are added

  • Posts: 235
  • Thank you received: 4
8 years 10 months ago #204323

-- url of the page with the problem -- : www.schuurpapierxl.nl
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.5
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : After adding a coupon code the shippingcosts are added

When an order is ready and more than € 100,- no shipping costs are required. But as soon as we add a coupon code like SXL55555, shippingcosts are added to the order.

Jan

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
8 years 10 months ago #204354

Hello Jan,
Your issue is probably coming from the fact that you have set the "Include virtual products price" option to YES through your shipping method configuration page.

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

  • Posts: 235
  • Thank you received: 4
8 years 10 months ago #204486

Mohamed,

I tried this one, but that wasn't the solution. Now shippingcosts were always added, even above € 100,- and with or without coupon code.
Turn it of again.

Jan

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

  • Posts: 13201
  • Thank you received: 2322
8 years 10 months ago #204493

Hi,

Please enable the option "Coupon percentage applies to product only" in the coupon settings.

Last edit: 8 years 10 months ago by Xavier.
The following user(s) said Thank You: janvankuijk

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

  • Posts: 235
  • Thank you received: 4
8 years 10 months ago #204560

Yeah! That's it.

Thanks a lot!

Jan

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #206947

I had the exact same problem and enabling the option 'Coupon percentages applies to product only' works and keeps my 'free shipping' option in place but now it causes a new issue.

The discount only applies to the net cost before taxes.

Switching the option 'Coupon percentages applies to product only' back to 'No' makes the discount amount correct so it's applied to the total but then shipping is added back on again.

Any ideas?

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
8 years 9 months ago #207002

Hi,

Did you try changing the "include virtual products price" setting of your shipping method ?

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #207035

Yes I did. It is currently set to 'yes'.
If I set it to 'No' then it chooses the wrong shipping method.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #207088

Hello,

The discount only applies to the net cost before taxes.

Then you should set the "Apply discounts" option to "After Taxes" via "Hikshop->System->Configuration->Main"

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #207214

It is already set to apply 'after taxes'. Out of interest I set it to apply 'before taxes' and it works correctly.
Since my coupon is for a percentage discount it should calculate the same result either way so this is a strange result.

To check I can leave it like this I created another coupon with a flat rate discount but this then adds tax to the discount. (so at 20% tax a £5 discount becomes a £6 discount). So I've fixed one problem and caused another.

In the coupon, if I set 'product tax category' to 'none' then the coupon is correct and remains at £5 but the total tax calculation is incorrect and is incorrect regardless of the configurations I choose.

So still having the same issue.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #207229

Hello,

but the total tax calculation is incorrect and is incorrect regardless of the configurations I choose.

If the Discount value is equals to what you want and the tax is calculated on everything but your discount isn't it ok ? If not, can you give me more information about it and tell me how do you want it to work.
Thanks :).

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #207465

EXAMPLE 1
Main Config - Apply After Taxes
Shipping - Include Virtual Product Price - YES
COUPON 10%

RESULT
Pricing/Discount/Taxes are correct
Shipping switches from 'free' to a paid for shipping price which is incorrect

EXAMPLE 2
Main Config - Apply Before Taxes
Shipping - Include Virtual Product Price - YES
COUPON 10%

RESULT
Pricing/Discount/Taxes - Tax calculated incorrectly
Shipping switches from 'free' to a paid for shipping price which is incorrect

EXAMPLE 3
Main Config - Apply Before Taxes
Shipping - Include Virtual Product Price - NO
COUPON 10%

RESULT
Pricing/Discount/Taxes - Tax calculated incorrectly
Shipping doesn't calculate correctly even before coupon

EXAMPLE 3
Main Config - Apply After Taxes
Shipping - Include Virtual Product Price - NO
COUPON 10%

RESULT
Pricing/Discount/Taxes are correct
Shipping doesn't calculate correctly even before coupon

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #207974

Hello,
The best solution will probably be to use the examples 1 or 3, the only issue that you are facing is regarding the "Include Virtual Product Price" which is making your shipping methods selection to be wrong.
If you set to NO, and that you want the price of ALL your product to be taken into account, make sure that the products that you have in your cart aren't "virtual goods".

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #208173

OK, I've tried this but it's not working as it should. How do I check that the products aren't virtual goods, I can't find a setting?

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #208177

You'll just have to go to your product configuration page and set a weight/dimensions on your product.

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #208330

Is there a way to mass action this so I can put the same weight (or dimensions) into all our products as we have nearly 2000.

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

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
8 years 9 months ago #208337

OK, I've managed to mass action so everything has a weight in and managed to get everything to calculate correctly. Here is the set up.

All products now have a weight
Main Config - Apply Before Taxes
Shipping - Include Virtual Product Price - NO

NB Additionally I had to turn off 'Display the cost per unit weight' in main config as this effected the look of the price now a weight is included.

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

Time to create page: 0.115 seconds
Powered by Kunena Forum