Waitlist wrong redirection after submit

  • Posts: 224
  • Thank you received: 26
  • Hikashop Business
1 year 11 months ago #341356

-- HikaShop version -- : 4.5.1
-- Joomla version -- : 3.10.8
-- PHP version -- : 7.4.29

Hi,
This problem it's new, in 4.5.0 the waitlist it is working well.
1) After you enter your name and email and press "ok", you are redirected to a page where the template is not loaded and you can see only the wailist form and the confirmation message, as you can see in the GIF.

PRODUCT PAGE URL
/carti/copii/produs/2126-atlas-geografic-scolar
/index.php?option=com_hikashop&ctrl=product&task=show&cid=2126&name=atlas-geografic-scolar&Itemid=470

WAITLIST PAGE URL
/index.php?option=com_hikashop&ctrl=product&task=waitlist&cid=2126&Itemid=470
/carti/copii/product/waitlist/cid-2126

URL AFTER SUBMITION
/index.php?option=com_hikashop&ctrl=product&Itemid=470
/carti/copii/product

Even if in the GIF you can see the message that "you are already subscribed to...", this is happening anyway.

2) And I have a suggestion for waitlist, to be redirected directly back to the product page and to see the confirmation message there.

Thank you!

Attachments:
Last edit: 1 year 11 months ago by oxido. Reason: Adding more info.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
1 year 11 months ago #341371

Hi,

1. Thank you for your feedback. I've added a patch which should fix the problem.
Please download again the install package on our website and install it on yours.

2. If you edit the file product / waitlist via the menu Display>Views, you can add the line:

<input type="hidden" name="redirect_url" value="<?php echo $this->product_url;?>" />
before the line:
<?php echo JHTML::_( 'form.token' ); ?>
and it will work like that.

The following user(s) said Thank You: oxido

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

Time to create page: 0.059 seconds
Powered by Kunena Forum