- Posts: 16
- Thank you received: 0
jumps to Cart
14 years 9 months ago #33099
by zurli
jumps to Cart was created by zurli
In Configuration --> Checkout : I selected "After a product is added to the cart" to "Always sty on the same page"
But still on the Content Module Productdisplay, after I add a product to cart, the cart is displayed. I would like to stay in Productdisplay
Settings Content Module Productdisplay
But still on the Content Module Productdisplay, after I add a product to cart, the cart is displayed. I would like to stay in Productdisplay
Settings Content Module Productdisplay
- Type of Content Product
- Type of Layout Div
- Display Add to Cart button True
Please Log in or Create an account to join the conversation.
14 years 9 months ago #33101
by nicolas
Replied by nicolas on topic Re: jumps to Cart
Please look here for a solution:
www.hikashop.com/en/support/forum/4-how-...d-to-cart.html#33078
www.hikashop.com/en/support/forum/4-how-...d-to-cart.html#33078
Please Log in or Create an account to join the conversation.
14 years 9 months ago #33110
by zurli
Replied by zurli on topic Re: jumps to Cart
Thanks, its working after i changed the file listing_img_title like described in
www.hikashop.com/en/support/forum/4-how-...d-to-cart.html#33078
Code:
<form action="<?php echo hikashop::completeLink('product&task=updatecart'); ?>" method="post" name="hikashop_product_form_<?php echo $this->row->product_id.'_'.$this->params->get('main_div_name'); ?>"><?php
$this->ajax='';
$this->setLayout('quantity');
echo $this->loadTemplate();
?>
<input type="hidden" name="product_id" value="<?php echo $this->row->product_id; ?>" />
<input type="hidden" name="add" value="1"/>
<input type="hidden" name="ctrl" value="product"/>
<input type="hidden" name="task" value="updatecart"/>
</form>
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds