Redirect to cart when click buy button

18.10.2012 12:23
#1
designwebpro2
Joomshopping forum user no avatar
Name: design
12.12.2011
Posts: 78
Quote
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
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Redirect to cart when click buy button

url?

 
18.10.2012 13:46
#3
designwebpro2
Joomshopping forum user no avatar
Name: design
12.12.2011
Posts: 78
Quote
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
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Redirect to cart when click buy button

Disable plugin "cart ajax".
Enable only "cartajaxattributes"

 
18.10.2012 22:56
#5
designwebpro2
Joomshopping forum user no avatar
Name: design
12.12.2011
Posts: 78
Quote
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
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Redirect to cart when click buy button

Delete Other javascript errors in page products.

 
19.10.2012 09:16
#7
designwebpro2
Joomshopping forum user no avatar
Name: design
12.12.2011
Posts: 78
Quote
Aw: Redirect to cart when click buy button

Thanks, I resolved disable duplicated plugins.Great!!!

 
02.11.2012 12:15
#8
challenge-r
Joomshopping forum user no avatar
Name: adam
13.09.2012
Posts: 70
Quote
Aw: Redirect to cart when click buy button

sorted :)


Letzte Änderung: 02.11.2012 13:21
 
Copyrights MAXXmarketing GmbH. All Rights Reserved