- Posts: 19
- Thank you received: 0
blank screen when updating cart
- laurangeng18
-
Topic Author
- Offline
Less
More
13 years 3 months ago #109978
by laurangeng18
Replied by laurangeng18 on topic blank screen when updating cart
Hi Nicolas
Thanks for finding the source of the problem!!!! Would never figure this out!
Thanks for finding the source of the problem!!!! Would never figure this out!
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129349
by silaroo
Replied by silaroo on topic blank screen when clearing cart
hi.
i do have the same problem, can you tell me how i can fix it?
I added a screenshot from the page i get when i clear the cart.
robosi.ch/hts_shop2013/
this ist only a test site.
thank you
silaroo
i do have the same problem, can you tell me how i can fix it?
I added a screenshot from the page i get when i clear the cart.
robosi.ch/hts_shop2013/
this ist only a test site.
thank you
silaroo
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129355
by silaroo
Replied by silaroo on topic blank screen when clearing cart
When i change the modulposition of the cart, the problem is gone...but that can't be the solution...?
but i think it also says that i do not have exactly the same problem like lurangeng...
but anyway i would be very happy about help.
thanks
but i think it also says that i do not have exactly the same problem like lurangeng...
but anyway i would be very happy about help.
thanks
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129356
by silaroo
Replied by silaroo on topic blank screen when clearing cart
when i change the modulposition of the cart also an other problem is solved: there is no 404 page shwing up when i try to log out...what is here goning on? strange.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129477
by Xavier
Replied by Xavier on topic blank screen when clearing cart
Hi,
It seem that you problem is solved, I don't really understand why it was due to the cart module position...
But it's working fine now
It seem that you problem is solved, I don't really understand why it was due to the cart module position...
But it's working fine now
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129482
by silaroo
Replied by silaroo on topic blank screen when clearing cart
no it is noch working fine. it works only in the sideboard position. but i got this message from you team:
Hi,
The issue comes from the way the cart module is displayed by your template. There is a link which opens a popup with the cart. That is done with an iframe which calls a specific page with just the cart module displayed in it and then inserted in the popup. However, when an action is performed in the cart module, HikaShop redirects to the current URL. And since the module is displayed from inside the popup, the system redirects to that page, which only contains the cart.
With the way the cart module is displayed on your website, you should edit the file "cart" of the view "product" via the menu Display->Views and modify the redirect URL line:
<input type="hidden" name="url" value="<?php echo $this->params->get('url');?>"/>
The simplest will be to have instead:
<input type="hidden" name="url" value=" robosi.ch/hts_shop2013/"/ >
i did what he said and it is working, but it makes no sense when the user is getting to the first page of the site after clearing the cart. so i placed the cart in the sideboard modulposition, but the cart is to wide for this position. i can make it more wide, but then the mainbody is to small for the productlisting...i did not find out how to make the productlisting mor narrow...i dont want to make the whole site more big, caus of the smal screens some users have.
so i am still lucking for a solution.
do you have one?
Hi,
The issue comes from the way the cart module is displayed by your template. There is a link which opens a popup with the cart. That is done with an iframe which calls a specific page with just the cart module displayed in it and then inserted in the popup. However, when an action is performed in the cart module, HikaShop redirects to the current URL. And since the module is displayed from inside the popup, the system redirects to that page, which only contains the cart.
With the way the cart module is displayed on your website, you should edit the file "cart" of the view "product" via the menu Display->Views and modify the redirect URL line:
<input type="hidden" name="url" value="<?php echo $this->params->get('url');?>"/>
The simplest will be to have instead:
<input type="hidden" name="url" value=" robosi.ch/hts_shop2013/"/ >
i did what he said and it is working, but it makes no sense when the user is getting to the first page of the site after clearing the cart. so i placed the cart in the sideboard modulposition, but the cart is to wide for this position. i can make it more wide, but then the mainbody is to small for the productlisting...i did not find out how to make the productlisting mor narrow...i dont want to make the whole site more big, caus of the smal screens some users have.
so i am still lucking for a solution.
do you have one?
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129521
by Xavier
Replied by Xavier on topic blank screen when clearing cart
Ok, I understand the problem.
The cart must be displayed in a popup, but when clearing it, it redirect to the current utl, so the popup instead of redirecting to the parent of this popup.
So I think that you have to use some Javascript to set dynamically the value of this input field when the popup is loaded.
You have to get the parent url with javascript code like: parent.window.href (not sure that it's this code to use)
The cart must be displayed in a popup, but when clearing it, it redirect to the current utl, so the popup instead of redirecting to the parent of this popup.
So I think that you have to use some Javascript to set dynamically the value of this input field when the popup is loaded.
You have to get the parent url with javascript code like: parent.window.href (not sure that it's this code to use)
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129529
by silaroo
Replied by silaroo on topic blank screen when clearing cart
but i do have no idea hwo to place this code, and where...;-(
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129650
by nicolas
Replied by nicolas on topic blank screen when clearing cart
No no no. The size of the module can simply be changed with the display options of the cart module that you will find via the hikashop options link of the options of your cart module when you edit it via the joomla modules manager.
Also, please avoid posting your problems in both the forum and the contact form.
Also, please avoid posting your problems in both the forum and the contact form.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129671
by silaroo
Replied by silaroo on topic blank screen when clearing cart
Hi nicolas
i do not understand why you are sending mails? i though I'm going to write also in the forum, so that
other users can see whats going on. sorry for that, don't wanted to make a confusion.
i do not understand why you are sending mails? i though I'm going to write also in the forum, so that
other users can see whats going on. sorry for that, don't wanted to make a confusion.
Please Log in or Create an account to join the conversation.
Time to create page: 0.248 seconds