- Posts: 281
- Thank you received: 42
Waitlist wrong redirection after submit
4 years 5 months ago - 4 years 5 months ago #341356
by oxido
Waitlist wrong redirection after submit was created by oxido
-- 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!
-- 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!
Last edit: 4 years 5 months ago by oxido. Reason: Adding more info.
Please Log in or Create an account to join the conversation.
4 years 5 months ago #341371
by nicolas
Replied by nicolas on topic Waitlist wrong redirection after submit
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:
before the line:
and it will work like that.
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:
Code:
<input type="hidden" name="redirect_url" value="<?php echo $this->product_url;?>" />
Code:
<?php echo JHTML::_( 'form.token' ); ?>
The following user(s) said Thank You: oxido
Please Log in or Create an account to join the conversation.
Time to create page: 0.134 seconds