Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Replace "Add Selected Products to Cart" with custom graphic image

    I've been searching and haven't found anything on this. I just want to replace the dynamic buttons, such as the "Add Selected Products to Cart" on the categories page, with my own custom button graphic (.jpg, .gif, etc).

    I'm sure others have done this. Any ideas on where I can find a tutorial for this or does anyone have any suggestions? Thanks for any help.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    Not sure what your template is displaying

    A good reason to post a link to your page in question

    https://www.zen-cart.com/tutorials/index.php?article=51
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    Sorry about that - if you go to this link: https://www.sarasotafarms.org/biz/in...roducts_id=182

    You will see there are three buttons above the product. They are "previous, listing , and next". The previous and next buttons are graphics uploaded by me, but it seems the "listing" button is dynamically generated (it's not a .gif or .jpg).

    This is my guess to why it looks different from the other two buttons. I'm just trying to get this middle button to be a custom image button as the other two are. My guess is I have to edit some php somewhere and tell Zen Cart to use my custom graphic instead of creating a dynamic button. I don't know what pages or code to change. Any suggestions greatly appreciated.

  4. #4
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    If you right click the button and choose Properties you will get the filename you need to save your created button as...in your case:

    http://www.sarasotafarms.org/biz/inc...ttons/english/button_return_to_product_list.gif

    Once you save it as that and upload it to your server it should show :)
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  5. #5
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    It's that easy! Great. I got confused and thought the button wasn't an actual image (I thought the text in the button we generated dynamically with some styling around it). Anyway, thanks for the help.

  6. #6
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    One more quick question on the topic of buttons. I am going to redesign all the buttons for the cart in photoshop. I'm going to keep them close to the same size, but some of them I would like to enlarge a bit. Is there width/height settings I need to adjust anywhere, or does Zen Cart automatically accept the new button sizes uploaded? I thought I would ask before I start creating the buttons!

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    Is there width/height settings I need to adjust anywhere, or does Zen Cart automatically accept the new button sizes uploaded? I thought I would ask before I start creating the buttons!
    As long as you do not go overboard and exceed the relestate available you will be fine
    Check as you create your larger ones
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Jun 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Replace "Add Selected Products to Cart" with custom graphic image

    More good news - thanks

 

 

Similar Threads

  1. Taking off "Add Selected Products to Cart"
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 May 2010, 09:56 AM
  2. "add selected products to cart" not working after upgrade
    By nickgreaves in forum Upgrading from 1.3.x to 1.3.9
    Replies: 20
    Last Post: 3 May 2010, 09:42 AM
  3. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  4. Turn off top "add selected products to cart"
    By multichild in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Sep 2007, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg