Zen Cart Logo
Forums / Addon Sideboxes / Shopping Cart with CheckOut Button--change image

Shopping Cart with CheckOut Button--change image

Locked

Views: 3,320

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 Jun 2010, 9:08 PM
#1
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Shopping Cart with CheckOut Button--change image

I have installed the Shopping Cart with Checkout Button, but I need it to display a different checkout button than what I use on the Checkout page (that is too big)! I already have the image I want in my images file, but how do I do make it show up in the Sidebox?

14 Jun 2010, 10:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping Cart with CheckOut Button--change image

Find the name and image type of the default image

Replace it with yours - - Insuring that yours is the same image type and renaming yours to be EXACTLY the same as the one being replaced

15 Jun 2010, 12:06 AM
#3
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: Shopping Cart with CheckOut Button--change image

You mean in the images file, right? I really don't want to replace it because I want to keep the bigger one for the checkout page. Is there a way to have 2 -- one for the checkout page, and a different one for the shopping cart sidebox?

If so, I couldn't find the code in the tpl_shopping_cart.php to adjust so it would point to image #2.

15 Jun 2010, 12:38 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping Cart with CheckOut Button--change image

If wanting the product nfo page image different....
tpl_product_info_display.php

Best to post a link to the page in question

15 Jun 2010, 2:05 AM
#5
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: Shopping Cart with CheckOut Button--change image

Good idea. Here's an example of the shopping cart sidebox, where the "Checkout" button is too big:
https://www.schoolebookstore.com/

I don't think this link will show anything unless a product is in there, but here is the Shopping Cart page (where the "Checkout" button needs to be big):
http://www.schoolebookstore.com/index.php?main_page=shopping_cart

15 Jun 2010, 2:17 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping Cart with CheckOut Button--change image

Is the Shopping Cart sidebox a 3rd party add on module?

If so look at those files

15 Jun 2010, 2:23 AM
#7
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Shopping Cart with CheckOut Button--change image

the button image is located in your store at:

/includes/templates/mystore/buttons/english

just replace button_checkout.gif with a new button_checkout.gif that is the right size for your store

24 Jun 2010, 12:18 PM
#8
dan123 avatar

dan123

New Zenner

Join Date:
Apr 2008
Posts:
82
Plugin Contributions:
0

Re: Shopping Cart with CheckOut Button--change image

I am sorry for reposting my question here, I just could not get any help in the other thread. I have a small bug, I changed a little bit the look of my shopping cart sidebox, and added a line to show the price for each product, everything works but now the price has two additional zeroes at the end. (something like this - $6.9900). Here is the code I added:

$content .= $products[$i]['quantity'] . BOX_SHOPPING_CART_DIVIDER . $products[$i]['name'] . ' (' . $products[$i]['model'] . ') -$' . $products[$i]['price'] . '</a></span></li>' . "\n";
you can see it live here - http://www.klybni4ka.net/platya-vechernie-platya-c-10_107/zhenstvennoe-plate-p-2951
just add to caart and then hover over the bag at the top.
Does anybody know how to fix that?
Thank you!!!!!!!!!!!!