Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Category listing- add text under each price

    Pretty much all my items are listed with a base price and a customer can choose larger sizes from the product's page. Problem is, many do not realize this from the Category listing page even though I have text on top explaining it. So I'd like to add "and up" under each price.

    I do not use the "More info" link and thought of changing that text to suit my needs, but it wouldn't work for many other items. And I haven't been able to figure out what file to adjust for this idea.

    Any ideas?


    R

    ZC 1.38a
    alexandergifts.ca

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Category listing- add text under each price

    Quote Originally Posted by giftmeister View Post
    ...many do not realize this from the Category listing page...
    ... do you mean the PRODUCT listing page (where products in a given category are listed... ?
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Category listing- add text under each price

    Yup, Product listing page!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Category listing- add text under each price

    You can edit the content in /includes/modules/your_template/product_listing.php. There is a "case" list, and you can insert a bit of text in the code for the "price" case. This can be quick & dirty, or done with defined constants for multi-language support.

  5. #5
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Category listing- add text under each price

    Okay, getting closer...you're talking about this part, right?

    PHP Code:
        case 'PRODUCT_LIST_PRICE':
        
    $lc_text TABLE_HEADING_PRICE;
        
    $lc_align 'right' . (PRODUCTS_LIST_PRICE_WIDTH '" width="' PRODUCTS_LIST_PRICE_WIDTH '');
        
    $zc_col_count_description++;
        break; 
    20 minutes later and none of my attempts worked. As you can tell, I'm not a real programmer. Any specifics, please?

    R

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Category listing- add text under each price

    There are two sets of cases; the first one is for the headings. You want to edit the second set, where the actual price is output.

 

 

Similar Threads

  1. Add "Each" after product listing price
    By marknew in forum General Questions
    Replies: 2
    Last Post: 19 Jul 2011, 09:38 AM
  2. how to add the optiona name(text type) to all products under a category?
    By mybiz9999 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 7 Aug 2010, 04:24 AM
  3. Add an add to cart button under each product quantity on the category page
    By buxton1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Apr 2010, 06:37 PM
  4. How do I add a category link under each catergory image in the Center Column??
    By bluealice in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 15 Mar 2010, 01:45 PM
  5. Add custom images to each category on the product listing page?
    By immersive in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Jul 2009, 03:29 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