18.10.2012 12:23
|
|
designwebpro2
Name: design
12.12.2011
Сообщения: 78
|
Redirect to cart when click buy button
I, I want redirect to cart when client push to buy button on list products.I paste this code in templates/zoom01/listproducts/product but don´t work.Can you help me for this please?
<td class = "buttons">
<input type = "submit" class = "anyadircarro" value = "<?php print _JSHOP_ADD_TO_CART?>" onclick="jQuery('#to').val('cart');/julio/cart/view.html" />
<?php if ($this->enable_wishlist){?>
<input type = "submit" class = "botondeseos" value = "<?php print _JSHOP_ADD_TO_WISHLIST?>" onclick="jQuery('#to').val('wishlist');" />
<?php }?>
<?php print $this->_tmp_product_html_buttons;?>
</td>
This code is the product page and work perfectly.But the list product don´t work.Thanks for helpme
|
|
18.10.2012 13:38
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Redirect to cart when click buy button
url?
|
|
18.10.2012 13:46
|
|
designwebpro2
Name: design
12.12.2011
Сообщения: 78
|
Aw: Redirect to cart when click buy button
http://www.dekodirect.com/julio/decoracion/decoraci%C3%B3n-hogar/espejos.html
Is button whit label "Comprar"
|
|
18.10.2012 14:24
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Redirect to cart when click buy button
Disable plugin "cart ajax".
Enable only "cartajaxattributes"
|
|
18.10.2012 22:56
|
|
designwebpro2
Name: design
12.12.2011
Сообщения: 78
|
Aw: Redirect to cart when click buy button
Perfect, works great!!!
I have other question, about search ajax.Don´t work in page products.I open other post?
|
|
19.10.2012 07:57
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Redirect to cart when click buy button
Delete Other javascript errors in page products.
|
|
19.10.2012 09:16
|
|
designwebpro2
Name: design
12.12.2011
Сообщения: 78
|
Aw: Redirect to cart when click buy button
Thanks, I resolved disable duplicated plugins.Great!!!
|
|
02.11.2012 12:15
|
|
challenge-r
Name: adam
13.09.2012
Сообщения: 70
|
Aw: Redirect to cart when click buy button
sorted :)
Последнее изменение: 02.11.2012 13:21
|
|