Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37
  1. #31
    Join Date
    Apr 2005
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can you change the "back to shopping" behaviour?

    Technically.... Yes. If you look at the statements following the IF statements, they set $link=<a ... then, the back button can be made to go anywhere.

    I suspect that it would be confusing to the user if the Back button did not take them back to where they were, but off to some other page though.

  2. #32
    Join Date
    Jul 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Can you change the "back to shopping" behaviour?

    Quote Originally Posted by harrylshulman View Post
    Is there a way to have the button take you to a specific URL instead of just going back?
    Yea this is what I changed the line to, as I wanted to go back to the home page, but just change the url to what ever you desire.

    Original Code and File: /includes/templates/template_default/templates tpl_shopping_cart_default.php

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

    Changed to -

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

  3. #33
    Join Date
    Jan 2009
    Location
    Victoria Australia
    Posts
    100
    Plugin Contributions
    0

    Default Re: Can I change the "back to shopping" behaviour?

    Thanks to adelante... I tried a few fixes for this and his suited my needs best.
    I would have never figured that out myself.
    Only thing is that it is not working if I viewed, then added to cart from a dynamically generated category. I.E. All Products.
    If I have previously added a product from a defined category it returns there instead.
    I suspect it has to do with the fact that the categories are dynamically generated, or perhaps it's something to do with my URI re-write module.

    If anyone has figured out how to get this to work, I would greatly appriciate some advise.
    David

    countrytothecore.net

  4. #34
    Join Date
    May 2006
    Location
    QLD Australia
    Posts
    77
    Plugin Contributions
    0

    Default Re: Can I change the "back to shopping" behaviour?

    I'm glad the little mod has been useful. australican I think it's because you're you actually in a category, personally I don't use the show all products menu item. I'll have to re-vist the code and have a look again.

  5. #35
    Join Date
    Jan 2009
    Location
    Victoria Australia
    Posts
    100
    Plugin Contributions
    0

    Default Re: Can I change the "back to shopping" behaviour?

    My little e-shop is an extension of our little B&M gift shop and fairly new. I'm still just testing really. I've never been an online shopper so I don't know how many shoppers would use All or New categories yet, but would still like to clean up that loose end.
    Personally All seems silly, especially for shops with large amounts of products. It's probably intended for shop with only a dozen or so items.
    I like to give people as many options as possible, but too many might just lead to confusion.
    Anyone else have an opinion or words of wisdom on this?
    (Not that yours wasn't relevant adelante)

    Anywho... Thanks again for the little mod.
    David

  6. #36
    Join Date
    Nov 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can you change the "back to shopping" behaviour?

    Thanks to everyone on this thread. You just saved me hours of digging and experimenting and frustration.

  7. #37
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Can I change the "back to shopping" behaviour?

    brilliant exactly what I wanted to do, have the button just go 'back' :-) thanks!

    But...only problem is, the buttons there (ive made my own) it goes back when you click on it but on the hover over it doesnt change, looks like an inactive button that doesnt link to anything only when you click it does it actually work. Any ideas?

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Can't change the "price" and "Item Name" Link
    By thricelll in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Feb 2011, 08:16 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 can I change how the "Back" button works/displays?
    By askjv in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2007, 10:52 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR