Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Plugin Contributions
    0

    Default How to modify "back to shopping" destination url

    I would like to know which I file and line I edit to change the destination url for the back to shopping button. For example the default takes a visitor to index.php?main_page=product_free_shipping_info&products_id=10.

    I would like to change that to an .html page that I define. Any help is appreciated.

  2. #2
    Join Date
    Aug 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: How to modify "back to shopping" destination url

    I believe I have to edit this line in the tpl_shopping_cart_default.php file (line 133)

    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>

    to redirect the button, but I am not sure how to add the proper language, such as <a href=http://www.websitename.com>

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

    Default Re: How to modify "back to shopping" destination url

    Just replace it with the A HREF link you want it to go to.

    ie:


    <div class="buttonRow back"><a href="blahblah"><?php echo zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPI ....
    .

    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.

 

 

Similar Threads

  1. "Back to Shopping" always goes back to homepage
    By possum in forum General Questions
    Replies: 42
    Last Post: 25 Dec 2010, 01:23 AM
  2. How can I "flip" layout of Back to Shopping button with the Shipping Estimator button
    By MarleneF in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 May 2010, 09:38 PM
  3. How can I hide the "back to shopping" button?
    By heheno1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 May 2009, 10:56 PM
  4. How can I pre-set the "Back to Shopping"?
    By dhcernese in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 7 Aug 2008, 06:12 PM
  5. How to modify "Product Weight" to "Unit Size"
    By signagen in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Jan 2008, 01:38 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