popup problem

  • Posts: 171
  • Thank you received: 4
10 years 7 months ago #187451

-- url of the page with the problem -- : jupitercykler.web10.redhost.dk/udstyr
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : no error, item gets added to cart and redirect to frontpage

Hi,
when adding products to cart ("læg i kurv") from category page 2 times using shop on with popup enabled, i get redirected to front page on second add.

i only have this problems sometimes, not every time...
It does not matter i use custom template or protostar on the site.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #187524

Hi,

When the page is displayed with the parameter "popup=1" ; the value of the field "return_url" does not contains the current url but it contains the homepage url.
I think the problem is coming from the function "hikashop_currentURL" which has been modified for HikaShop 2.3.5 in order to add more security (and does not allow redirection to external websites).

What you can do for the moment is to edit the file "components/com_hikashop/views/product/view.html.php" and replace

$url = hikashop_currentURL('return_url');
By
$url = hikashop_currentURL();

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: 171
  • Thank you received: 4
10 years 7 months ago #187615

Changed that file, and i still get same problem.

On first visit i'm on
jupitercykler.web10.redhost.dk/udstyr/pr...-spectra-spd-vendbar

When i then add to cart, i go to url
jupitercykler.web10.redhost.dk/udstyr/pr...-spd-vendbar?popup=1

If i then click "shop on" and add to cart again, i get redirected to
jupitercykler.web10.redhost.dk/index.php?popup=1

so problem is still not solved.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #187636

Hi,

What is this "shop on" ? Does that redirect to a page with a correct url ?
The page is protected by password, so we can no more see the issue, please give us the login details.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum