- Posts: 1
- Thank you received: 0
redirect after add to wishlist
- hashemi.wg
-
Topic Author
- Offline
Less
More
7 years 11 months ago #299591
by hashemi.wg
redirect after add to wishlist was created by hashemi.wg
-- HikaShop version -- : 3.4
-- Joomla version -- : 3.8.11
-- PHP version -- : 5.6
-- Browser(s) name and version -- : chrom 70
-- Error-message(debug-mod must be tuned on) -- : redirect after add to wishlist
Hi
when click "add to wishlist" redirect to "component/hikashop/product/listing"
is possible to redirect another page (example my custom page)?
thanks
-- Joomla version -- : 3.8.11
-- PHP version -- : 5.6
-- Browser(s) name and version -- : chrom 70
-- Error-message(debug-mod must be tuned on) -- : redirect after add to wishlist
Hi
when click "add to wishlist" redirect to "component/hikashop/product/listing"
is possible to redirect another page (example my custom page)?
thanks
Please Log in or Create an account to join the conversation.
7 years 11 months ago #299592
by nicolas
Replied by nicolas on topic redirect after add to wishlist
Hi,
There is no option for that.
It will require adding a bit of javascript in the view file where you have the add to wishlist buttons, like that:
where you would replace URL by the actual URL you want to be redirected to.
So for example, if the add to wishlist buttons are on the product, you can add that in the show_default view file via the menu display>views.
There is no option for that.
It will require adding a bit of javascript in the view file where you have the add to wishlist buttons, like that:
Code:
<script type="text/javascript">
window.localPage.wishlistRedirect = function(cid,pid,resp){window.location="URL";};
</script>
So for example, if the add to wishlist buttons are on the product, you can add that in the show_default view file via the menu display>views.
Please Log in or Create an account to join the conversation.
Time to create page: 0.164 seconds