Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default more info link on product listings

    I asked part of this question on a existing thread, but decided It needed it's own thread...

    I disabled the setting, "Display Multiple Products Qty Box Status and Set Button Location" in the Product Listing controls, and saw the "Buy Now" button, but I want to replace "Buy Now" with "View Product" and have it link to the product info page instead of adding it to the cart. Do I have to hard-code that change?

    If there are attributes, I get "...more info" and I am sure I could replace that with a button, and I want that to happen regardless of if there are attributes.

    How do I do this?

  2. #2
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: more info link on product listings

    I forgot to mention I am using the Product Layout Grid mod.

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

    Default Re: more info link on product listings

    The 'more info' link when there are attributes requires the customer to go to the product info page where the attributes are selected. What would you have them do instead?

  4. #4
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: more info link on product listings

    Quote Originally Posted by stevesh View Post
    The 'more info' link when there are attributes requires the customer to go to the product info page where the attributes are selected. What would you have them do instead?
    Thanks for the reply.
    This is the behavior I want. The problem is that it does not happen if there are no attributes.

    I want the "more info..." behavior even when there is no attribute.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: more info link on product listings

    In the Configuration ... Product Listing ...
    Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
    Do you want to display the Add to Cart Button?

    NOTE: Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product
    set to 0 and you have more info on the listing with or without attributes ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: more info link on product listings

    Thanks Linda.
    That's what I was looking for.

    I'm sure I could figure this out, but is there a set way I should go about replacing the text "...more info" with an image? I thought about finding it in a language define and putting in the html for an IMG, but I don't know if it would cause problems in some other page.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: more info link on product listings

    Depends on what directory you put it in ...

    If in the /images you can use:
    Code:
    define('MORE_INFO_TEXT', zen_image(DIR_WS_IMAGES . 'info_more.jpg'));
    Just adjust as needed ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: more info link on product listings

    Thanks,
    That worked.

  9. #9
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: more info link on product listings

    Quote Originally Posted by Ajeh View Post
    Depends on what directory you put it in ...

    If in the /images you can use:
    Code:
    define('MORE_INFO_TEXT', zen_image(DIR_WS_IMAGES . 'info_more.jpg'));
    Just adjust as needed ...
    Hi Ajay
    Just wondering where you would place the code - I tried to place it in includes>modules>MYTEMPLATE>product_listing.php

    I uploaded the image to /images

    it didnt work

  10. #10
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: more info link on product listings

    Hi ive managed to sort it -

    heres what i done.

    I amended the coding in includes>languages>english.php

    on line 745 i found the text

    define('MORE_INFO_TEXT','... more info');

    and replaced it with

    define('MORE_INFO_TEXT','<img src="images/More_Info.gif" alt="More Info" />');

    I uploaded my more info button (More_Info.gif) to the /images file

    For some reason I tried to add the english.php files to includes>languages>english>MYTEMPLATE however it would not pick up on the changes. Im not sure but i though i would have needed to add it here - for me i had to overright the file in its original place in order for it to work

    thanks

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product listing - move price/more info link
    By RobM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 May 2011, 06:46 PM
  2. HELP! How to Remove "more info..." from product listings
    By taraeng in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Apr 2011, 05:46 PM
  3. Product listing more info link
    By 121webconsultancy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Jan 2009, 12:26 AM
  4. Display more info link in Product Listing
    By numenor in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jul 2006, 01:56 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