Skip to main content

25% off coupon

More
11 years 2 months ago #209121 by diesel1984
25% off coupon was created by diesel1984
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 2.5
-- PHP version -- : 5

Hi,

First of all i must use the coupon system rather than the discount system as i have been provided with coupon codes so please bear that in mind for my question (see below)...

If i create a coupon that applies 25% off then will it just apply to the total cost of the products in the basket or will it also apply 25% off the cost of the shipping too?

Thanks in advance

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

More
11 years 2 months ago #209123 by nicolas
Replied by nicolas on topic 25% off coupon
Hi,

Coupons only apply to products, not shipping.
The following user(s) said Thank You: diesel1984

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

More
11 years 2 months ago #209196 by diesel1984
Replied by diesel1984 on topic 25% off coupon
Hi,

One last thing - if i use the quota (built into the coupon system) then it gets used as soon as the order is created. This causes a problem because i only want the quota to be updated when the customer has made a successful payment and returned from the payment gateway. Is this possible to do with use of the settings in hikashop or will i have to do custom development work?

Thanks

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

More
11 years 2 months ago #209212 by Xavier
Replied by Xavier on topic 25% off coupon
Hi,

It is not possible only via settings to update the quote only on confirmed orders.
The system is made this way to avoid too many use of this coupon, for example if there is a quota of "1" and "2" orders are created, if all the payments are done at the same time, so the coupon will be used twice...

Currently, if an order is created, so we increment the quote, but if this order is then cancelled, so the quota is decremented.
A solution could be to enable the Auto order cancel plugin to cancel not confirmed orders after xx minutes.
The following user(s) said Thank You: diesel1984

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

More
11 years 2 months ago #209866 by diesel1984
Replied by diesel1984 on topic 25% off coupon
Hi,

Ok so i have followed your advice and installed the "Hikashop Orders Automatic Cancel Plugin" and set its period to 180 (which im assuming is seconds?). I have setup the following cron job in my crontab:-
Code:
*/3 * * * * wget "http://www.mysite.com/dev/index.php?option=com_hikashop&ctrl=cron"

The "dev" subfolder is intentional as im building this extension on a development site.
I have also set hikashop to email me when the cron job executes. I have received the following email:-
Code:
HikaShop Triggered at 28 July 2015 12:53 Orders checked

However, when i view the orders the orders in the "created" state have not been set to "cancelled". Do you know why this would be? The last order that was placed into the "created" state on my development site was on 2015-07-23 10:23.

Thanks

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

More
11 years 2 months ago #209868 by Jerome
Replied by Jerome on topic 25% off coupon
Hi,

The plugin use the HikaShop setting in order to know the order statuses for "default order status" and "cancelled order statuses" (it use the first one).
www.hikashop.com/support/support/documen...nfig.html#main_order

The plugin list the 20 first orders which are older than the period time and change their order status.

So you have to be sure that your HikaShop configuration is correct and you have to call the plugin several time if you have more than 20 orders to cancel.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.246 seconds
Powered by Kunena Forum