Unable to remove coupon

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 10 months ago #19019

Click on coupon X to remove it.
Does not get removed.

Looking at the response in Firebug I see the following.

Failed to load source for:

https://springs-aquatic.co.uk/component/hikashop/checkout/step/step-1/previous-0/removecoupon-1/7a4b6c10beac722c93b9343737ebe5af-1

See springs-aquatic.co.uk
Use coupon code RC11A

Last edit: 12 years 10 months ago by brainforge.

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
12 years 10 months ago #19039

Could you give more information on the response you get in Firebug ?

Could you try to deactivate the SEF and see if that helps ?
Also, I see that you use 1.4.8. An update might help although I'm not sure that we changed something on the coupon handling since then.

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

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 10 months ago #19103

Thanks.

Its also happening on a 1.5.1 site.

Not a high priority for me at the moment.
I will investigate further and let you know / give you access to the other site later.

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

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 10 months ago #19161

Looks like its sorted:

In both cases looking at the joomla menu table I had somehow got a record with an empty value for menutype. The Force a Menu on Checkout config for Hikashop was pointing at that menu!!

Removed that record, corrected Hikashop config and all is now OK.

In step() of checkout.php the value of $Itemid was null and $itemid_for_checkout pointed to this rogue menu record. Don't know if there is anyway you can code to protect against this scenario in the future.

The code history for these installations is totally different - the menu IDs where different - I did not copy one to the other!

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
12 years 10 months ago #19163

Well it's always possible to check on that. The problem is that it adds again a query for something which should not happen normally :/

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

  • Posts: 165
  • Thank you received: 7
  • Hikashop Essential
12 years 5 months ago #29949

Hi Nicolas/Jonathan

Same thing here, but can remove voucher if set force menu to None.

Will check another site later.

Ian

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

  • Posts: 165
  • Thank you received: 7
  • Hikashop Essential
12 years 5 months ago #29950

Happening on another of my sites as well, exactly the same...

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
12 years 5 months ago #29968

And did you remove that record with an empty value for menutype in the joomla menu table via phpmyadmin as explained by Jonathan ?
That should solve the problem.

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

  • Posts: 36
  • Thank you received: 0
12 years 2 months ago #39869

I'm having a similar issue and found no such rogue entries in my Joomla menu. My "Force a menu on the checkout" is set to None.

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
12 years 2 months ago #40088

If you turn off sef, in the joomla configuration, does it work ?
Also, could you give your shop URL after turning off sef so that we can see the problem ?

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

  • Posts: 36
  • Thank you received: 0
12 years 2 months ago #40619

Turning off SEF did the trick. Is there no other way around this with SEF turned on?

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
12 years 2 months ago #40800

No, it should also work with SEF turned on. However, looking at the unSEFed URLs on your website would give us more clues from where the problem is coming from.

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

  • Posts: 36
  • Thank you received: 0
12 years 2 months ago #40932

For some reason turning SEF off and on has resolved the issue. I can now remove coupons.

Thanks for your help.

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

  • Posts: 15
  • Thank you received: 0
10 years 6 months ago #129115

Hello,

I have the same problem - i cannot remove the coupon when once is added

Turning caching off doesn't resolve the problem.
Turning SEF URL's off and/or setting Force Menu on Checkout -> none - Does

But i need to force the menu on checkout.
Also we have multilanguage site with six languages.

In table menu in first record is a record with empty menutype, id 1, but it seems to be for a joomla menu item root (also i tried the solution posted here before - didn't work)

Thank you for guides

Last edit: 10 years 6 months ago by Hátle.

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

  • Posts: 15
  • Thank you received: 0
10 years 6 months ago #129116

I guess it must be something with the languages and menu ID's.
I tried to remove the record with empty menutype column again and it was working unless i changed the language.

Also i have joomla menu item set for Checkout for each language.
And Force Menu on Checkout is set to one of them, but it is working with all languages.

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

  • Posts: 15
  • Thank you received: 0
10 years 6 months ago #129118

I got it :) it is working just with the language / menu item on which is set Force Menu on Checkout.

Please is it possible to somehow have working the coupons correctly with set Force Menu on Checkout with all languages / menu items ?

I have menu item for checkout for each language, because of the menu associations to be able to switching the checkout among languages.

Last edit: 10 years 6 months ago by Hátle.

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #129293

Hi,

I do not understand your question.
A force menu is just for one menu, right ?

So you can't force a menu for several languages, because you will just have one force menu, so for one language.

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.

  • Posts: 15
  • Thank you received: 0
10 years 6 months ago #129308

Hi,

Yes a force menu is just for one menu, but it works for all other languages / menus associated with that menu in joomla menus configuration.
For example, when i have a force english checkout menu in hikashop configuration, and i go checkout in other language, it goes correctly to the checkout menu associated with it in that language.

The point is that the coupon works correctly just for the language / menu item set in hikashop force a menu configuration.
And i need to have it work for all languages / menu items :)

Is that possible somehow ?
I guess its the coupon programming thing.

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
10 years 6 months ago #129651

Hi,

Instead of having different menu items for different languages, you should have only one. Then, with Falang/JoomFIsh, simply translate the title of the menu item and it will work fine.

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

Time to create page: 0.112 seconds
Powered by Kunena Forum