Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Aug 2008
    Posts
    48
    Plugin Contributions
    0

    Default Change out "Shopping Cart" images & text

    I've got a client who wants to swap out every instance of "Shopping
    Cart" and replace it with an image of a jewelry box and refer to it as
    "My Jewelry Box".

    Is that fairly hard to do? Has anyone here done anything like that?
    I'm trying to decide if I want to muddle through it myself or find
    someone to out-source it to....

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    Tip: in admin->tools->developers tool kit, you can look for phrases like "shopping cart".

    In includes/languages/YOUR_TEMPLATE/english.php, look for

    Code:
    Line #108 : define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart'); 
    
    Line #480 : // shopping cart errors 
    
    Line #482 : define('ERROR_PRODUCT_STATUS_SHOPPING_CART','<br />We are sorry but this product has been removed from our inventory at this time.<br />This item has been removed from your shopping cart.'); 
    
    Line #492 : define('WARNING_SHOPPING_CART_COMBINED', 'NOTICE: For your convenience, your current shopping cart has been combined with your shopping cart from your last visit. Please review your shopping cart before checking out.'); 
    
    Line #560 : define('EMPTY_CART_TEXT_NO_QUOTE', 'Whoops! Your session has expired ... Please update your shopping cart for Shipping Quote ...');
    The line numbers won't be in the file, but if you use a text editor like Crimson Editor, it'll show you the line numbers. Of course you can just search for the phrase. Replace it with "jewelry box". Be careful not to replace SHOPPING_CART.

    I'll have to look around for the image information, but someone else may jump in before I have a chance.

    Shopping cart appears other places as well (like includes/languages/english/YOUR_TEMPLATE/shopping_cart.php). Use the tool kit to find them.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    At least one of the images is from includes/templates/template_default /buttons/english/button_in_cart.gif or includes/templates/YOUR_TEMPLATE/buttons/english/button_in_cart.gif. You can always create the appropriate jewelry box image and put it in the YOUR_TEMPLATE folder. That should get you started.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Aug 2008
    Posts
    48
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    To clarify, I would just do a search for "shopping cart" in every one of those boxes on the Developers Took Kit page?

    I'm still trying to figure out how to do a back up before I make any changes like that. I got the book today but can't find how to do a back-up in there!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Change out "Shopping Cart" images & text

    Searching the FAQ area for the word "backup" brings up this article on doing database backups: https://www.zen-cart.com/tutorials/i...hp?article=103

    As for backups of the PHP files, use your FTP program and download the files from the server to your PC. Zip them up if you desire, after downloading.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Change out "Shopping Cart" images & text

    Quote Originally Posted by dkjwebs View Post
    To clarify, I would just do a search for "shopping cart" in every one of those boxes on the Developers Took Kit page?
    You don't have to use "every" field ... just the one that's applicable to your needs. If uncertain, use the last one, and choose "All files" from the pulldown, and it'll search everything.

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Change out "Shopping Cart" images & text

    Search for 'shopping cart' in the bottom left box and choose 'All Files Catalog/Admin in the bottom middle dropdown.

    What you're after is lines which begin with 'define'. Change the 'shopping cart' in each to what you want it to say. Don't forget to leave the single quote marks, and to place the edited file in the proper override folder.

  8. #8
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    DrByte and stevesh are right. You won't have to change every occurence, but I wanted you to be aware that there may be other instances of "shopping cart" that will need to be changed.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  9. #9
    Join Date
    Aug 2008
    Posts
    48
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    Okay - got everything backed up and did the search for all the instances of "shopping cart" in the site.

    This looks a little dicey since I don't know PHP...yet

  10. #10
    Join Date
    Aug 2008
    Posts
    48
    Plugin Contributions
    0

    Default Re: Change out "Shopping Cart" images & text

    This tip from stevesh was very helpful:

    What you're after is lines which begin with 'define'.

    I guess I'll start there and see if anything else needs to be changed.

    Then I need to figure out what the names of the images are that need to be swapped out!

    At least I am making some good progress here, thanks to all of you!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  2. "information" text --hiding out in additional images code
    By phillycheese123 in forum General Questions
    Replies: 3
    Last Post: 22 Aug 2012, 03:24 PM
  3. Shopping cart - trying to turn off "Total Items" "Weight" and "Price"
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Apr 2011, 07:15 PM
  4. Comment out "Check for Updates" Button, "Support Site" Link, & "Version" Link?
    By g00glethis1 in forum Customization from the Admin
    Replies: 4
    Last Post: 15 Mar 2010, 06:32 AM

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