25% off coupon

  • Posts: 32
  • Thank you received: 0
9 years 4 months ago #209121

-- 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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 4 months ago #209123

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.

  • Posts: 32
  • Thank you received: 0
9 years 4 months ago #209196

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.

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #209212

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.

  • Posts: 32
  • Thank you received: 0
9 years 3 months ago #209866

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:-

*/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:-
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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 3 months ago #209868

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum