Removing the "continue" button in the shopping cart

GK User
Tue Dec 06, 2011 7:38 pm
How do i remove the "continue" button in the shopping cart detail page??

I don't see where I can modify this in the redshop templates, because I've already unpublished the default "cart.php" template per the directions in the gavick wiki...


it's essential i remove this button.

thanks,
addison
User avatar
Fresh Boarder

GK User
Tue Dec 06, 2011 8:13 pm
You can do as following:

- Open file: \templates\gk_boutique\html\com_redshop\cart\default.php

- Find (line 143):

Code: Select all
$cart_data=str_replace("{shop_more}",$shop_more,$cart_data);


- Comment it out:

Code: Select all
//$cart_data=str_replace("{shop_more}",$shop_more,$cart_data);
User avatar
Platinum Boarder

GK User
Tue Dec 06, 2011 9:13 pm
thank you so much for the quick response, worked like a charm!


BUT!

i found one more location.. when i'm checking out... after submitting the credit card information there's another location just before payment completion, there's another "Continue" button where they can continue shopping....

i need to remove this one as well.


thank you so much!
User avatar
Fresh Boarder

GK User
Thu Dec 08, 2011 8:09 pm
HeisAddison wrote:thank you so much for the quick response, worked like a charm!


BUT!

i found one more location.. when i'm checking out... after submitting the credit card information there's another location just before payment completion, there's another "Continue" button where they can continue shopping....

i need to remove this one as well.


thank you so much!



any help with this problem?
User avatar
Fresh Boarder

GK User
Fri Dec 09, 2011 9:27 am
Can you give me just the link where you see the button then I can know the file to edit? Thanks!
User avatar
Platinum Boarder

GK User
Fri Dec 09, 2011 9:43 am
Never mind, I found it.

Open: \templates\gk_boutique\html\com_redshop\checkout\default_checkoutnext.php

Find:

Code: Select all
$cart_data = '<h1>{cart_lbl}</h1><table style="width: 100%;" class="tdborder" cellpadding="0" cellspacing="0"><thead><tr><th>{product_name_lbl}</th> <th></th><th>{price_lbl} </th><th>{quantity_lbl}</th><th>{total_price_lbl}</th></tr></thead><tbody>{product_loop_start}<tr class="tdborder"><td><div class="cartproducttitle">{product_name}</div><div class="cartattribut">{product_attribute}</div><div class="cartaccessory">{product_accessory}</div><div class="cartuserfields">{product_userfields}</div></td><td>{product_thumb_image}</td><td>{product_price}</td><td><table><tbody><tr><td>{update_cart}</td><td>{remove_product}</td></tr></tbody></table></td><td>{product_total_price}</td></tr>{product_loop_end}</tbody></table><table style="width: 100%;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td cellspacing="5" cellpadding="5" valign="top" width="50%"><table><tbody><tr><td class="cart_discount_form" colspan="2">{coupon_code_lbl}</td></tr><tr><td class="cart_thirdparty_email" colspan="2">{thirdparty_email_lbl}<br />{thirdparty_email}</td></tr><tr><td class="cart_customer_note" colspan="2">{customer_note_lbl}<br />{customer_note}</td></tr></tbody></table><br /></td><td valign="top" width="50%" align="right"><br /><br /><table class="cart_calculations"><tbody><tr><td>{totalpurchase_lbl}:</td><td width="100">{subtotal}</td></tr>{if vat}<tr><td><em>{vat_lbl}</em></td><td width="100">{tax}</td></tr>{vat end if}{if discount}<tr><td>{discount_lbl}</td><td width="100">{discount}</td></tr>{discount end if}{if payment_discount}<tr><td>{payment_discount_lbl}</td><td>{payment_order_discount}</td></tr>{payment_discount end if}<tr><td>{shipping_lbl}</td><td width="100">{shipping}</td></tr></tbody></table><table class="regnestykke_sidste"><tbody><tr><td><div class="singleline"><strong>{total_lbl}:</strong></div></td><td width="100"><div class="singleline">{total}</div></td></tr></tbody></table><div id="tabelstreg_bund"></div>{checkout}<br /><br /> {shop_more}</td></tr></tbody></table><div id="cart_left"></div>';


Change to:

Code: Select all
$cart_data = '<h1>{cart_lbl}</h1><table style="width: 100%;" class="tdborder" cellpadding="0" cellspacing="0"><thead><tr><th>{product_name_lbl}</th> <th></th><th>{price_lbl} </th><th>{quantity_lbl}</th><th>{total_price_lbl}</th></tr></thead><tbody>{product_loop_start}<tr class="tdborder"><td><div class="cartproducttitle">{product_name}</div><div class="cartattribut">{product_attribute}</div><div class="cartaccessory">{product_accessory}</div><div class="cartuserfields">{product_userfields}</div></td><td>{product_thumb_image}</td><td>{product_price}</td><td><table><tbody><tr><td>{update_cart}</td><td>{remove_product}</td></tr></tbody></table></td><td>{product_total_price}</td></tr>{product_loop_end}</tbody></table><table style="width: 100%;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td cellspacing="5" cellpadding="5" valign="top" width="50%"><table><tbody><tr><td class="cart_discount_form" colspan="2">{coupon_code_lbl}</td></tr><tr><td class="cart_thirdparty_email" colspan="2">{thirdparty_email_lbl}<br />{thirdparty_email}</td></tr><tr><td class="cart_customer_note" colspan="2">{customer_note_lbl}<br />{customer_note}</td></tr></tbody></table><br /></td><td valign="top" width="50%" align="right"><br /><br /><table class="cart_calculations"><tbody><tr><td>{totalpurchase_lbl}:</td><td width="100">{subtotal}</td></tr>{if vat}<tr><td><em>{vat_lbl}</em></td><td width="100">{tax}</td></tr>{vat end if}{if discount}<tr><td>{discount_lbl}</td><td width="100">{discount}</td></tr>{discount end if}{if payment_discount}<tr><td>{payment_discount_lbl}</td><td>{payment_order_discount}</td></tr>{payment_discount end if}<tr><td>{shipping_lbl}</td><td width="100">{shipping}</td></tr></tbody></table><table class="regnestykke_sidste"><tbody><tr><td><div class="singleline"><strong>{total_lbl}:</strong></div></td><td width="100"><div class="singleline">{total}</div></td></tr></tbody></table><div id="tabelstreg_bund"></div>{checkout}<br /><br /></td></tr></tbody></table><div id="cart_left"></div>';
User avatar
Platinum Boarder


cron