Skip to main content

How to configure coupons?

More
9 years 3 months ago #272258 by nunonog
-- url of the page with the problem -- : www.portal-gestao.com
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2

Hello,
A customer gets a 30% discount coupon on a product that costs €55.
How can we calculate the right price?
Right price:
* Price: 55
* Coupon: 16,5
* Price before taxes: 38,5
* VAT (23%): 8.86
* Final price 47.36

And this is how HS is calculating the price (see attachment).

Thanks
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272285 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

Can you provide a screenshot of your taxes configuration please (in Component => Configuration => HikaShop, Main tab & Taxes part), AND other elements that can explain us better the situation.
Awaiting news from you.

Regards
Last edit: 9 years 3 months ago by Philip.
The topic has been locked.
More
9 years 3 months ago #272290 by nunonog
Replied by nunonog on topic How to configure coupons?
Yes, have a look at the attachments.
Than ks!
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272318 by Philip
Replied by Philip on topic How to configure coupons?
Hello again,

Sorry but I need this :



Like I precised in my previous post :

"in Component => Configuration => HikaShop, Main tab & Taxes part"


Regards
Last edit: 9 years 3 months ago by Philip.
The topic has been locked.
More
9 years 3 months ago #272359 by nunonog
Replied by nunonog on topic How to configure coupons?
Hello,
Here it is:
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272381 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

I try to reproduce your result with a product price without taxe 55.00 Euro and 67.65 with taxe (23%) and a coupon of 30%, and impossible to get your results with your configuration, so we forget something...

Can you provide an Url link to your website AND a frontend/backend access in order to process some tests ?
Precise if your website is on production phase.
And use our Contact us form to provide these elements, add an url link to this topic and notify us here we it's done.

Regards
Last edit: 9 years 3 months ago by Philip.
The topic has been locked.
More
9 years 3 months ago #272393 by nunonog
Replied by nunonog on topic How to configure coupons?
Yes, I know what the problem is:

The coupon is generated by a tag in Acymailing:



That results in a code like this:

{hikashop_coupon:30|1||2017-09-30 23:59|30|0|1|[name][key][value]|}

BUT, the coupon code has no Product Tax Category:



So you have to add that in the tag generator.
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272403 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

Can you try to create (via manual classic way) a coupon with same criteria in order to see if your coupon leads different results from the one created via Acymailing tag.
The point is to see if the issue (strange results in your checkout cart) come from Acymailing coupon creation OR something in your HikaShop configuration.
Awaiting news from you.

Regards
Last edit: 9 years 3 months ago by Philip.
The topic has been locked.
More
9 years 3 months ago #272471 by nunonog
Replied by nunonog on topic How to configure coupons?
Hello,

Yes, same configurations get the same results:



The topic has been locked.
More
9 years 3 months ago #272473 by nunonog
Replied by nunonog on topic How to configure coupons?
However, when the product tax category is defined, the price is correct:


The topic has been locked.
More
9 years 3 months ago #272528 by nunonog
Replied by nunonog on topic How to configure coupons?
Hello,

My customers are complaiting...
Can you please fix this asap? Coupons sent automatically are a critical feature for us...

Thanks!
The topic has been locked.
More
9 years 3 months ago #272479 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

It seems that the issue is up to your HikaShop, and not the AcyMailing integration with HikaShop... And I didn't see what can be the roots of this.
Can you provide an Url link to your website AND a frontend/backend access in order to process some tests ?
Precise if your website is on production phase.
And use our Contact us form to provide these elements, add an url link to this topic and notify us here we it's done.

Regards
The topic has been locked.
More
9 years 3 months ago #272581 by nunonog
Replied by nunonog on topic How to configure coupons?
Sent, please help.
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272594 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

Thanks for waiting and sorry for the issue, here with this message you will find a new hikashop.php file.
You have to replace your in your Acymailing plugin in YourWebsite\plugins\acymailing\hikashop.
After replaced this file, go in your AcyMailing Newsletter configuration, and especially the coupon manager part, you will see a new option in order to set the tax link to your coupons.



That's may solve your issue, hope this will fit your needs and awaiting returns from you.

Regards
Last edit: 9 years 3 months ago by Jerome.
The topic has been locked.
More
9 years 3 months ago #272642 by nunonog
Replied by nunonog on topic How to configure coupons?
Hello,

Proceeded accordingly, but the coupon tag in Acymailing interface seems to be broken...
The topic has been locked.
More
9 years 3 months ago #272656 by nicolas
Replied by nicolas on topic How to configure coupons?
Hi,

There seems to be an error with the modification Philippe added in the plugin.
Unfortunately, I don't have the modifications on my end as we're on the weekend.

Could you try again with the "error reporting" setting of the Joomla configuration activated ?
That will display an error message you can provide which will allow Philippe to easily fix the issue on monday.
The topic has been locked.
More
9 years 3 months ago #272667 by nunonog
Replied by nunonog on topic How to configure coupons?
Hi,

Here it is:
The topic has been locked.
More
9 years 3 months ago - 9 years 3 months ago #272727 by Philip
Replied by Philip on topic How to configure coupons?
Hello,

Sorry for the delay, I analyse the code and I think I get the root issue, can you go to your plugin code in YourWebsite\plugins\acymailing\hikashop, and replace this around line 580 :
Code:
echo $this->categoryType->display('', '', 'onchange="updateTag();"', true, 'tax_id');
For this :
Code:
echo $categoryType->display('', '', 'onchange="updateTag();"', true, 'tax_id');
Hope this will solve your issue, and awaiting news from you.

Regards
Last edit: 9 years 3 months ago by Philip.
The topic has been locked.
More
9 years 3 months ago #272729 by nunonog
Replied by nunonog on topic How to configure coupons?
The product tax category is now displayed, but the coupon is invalid!
The topic has been locked.
More
9 years 3 months ago #272746 by nicolas
Replied by nicolas on topic How to configure coupons?
Hi,

I've checked on my end but the modifications of Philippe properly generate coupons with their tax category selected now.
Did you recreate your coupon tag in the newsletter ? There is an extra parameter that is necessary in order to select the tax category and you need to select it if you want it to be selected in the coupons that are generated.
The topic has been locked.
Time to create page: 0.409 seconds
Powered by Kunena Forum