Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Different Prod info pages for differnt products?

    Hello
    i have a nice product info page which suits 80% of my products.
    For the other 20% id like to make a different layout.
    A smaller image size, more room for text and some other layout changes.

    Is this possible?

    Regards
    Cookie

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

    Default Re: Different Prod info pages for differnt products?

    Anything is possible, it just depends on exactly what you want for how difficult/easy it will be.
    If all of your 20% products are in one or more separate categories, you could probably set up per-category stylesheets to override standard CSS rules. If you have a small/manageable number of different products, you could make a per-product stylesheet and copy it for each relevant product id.

    If your desired changes are not susceptible to CSS solutions, or are scattered among different categories, you might need to create a new product type to have its own tpl_product_special_info_display.php and other files.

  3. #3
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different Prod info pages for differnt products?

    Thanks Gjh42
    If all of your 20% products are in one or more separate categories, you could probably set up per-category stylesheets to override standard CSS rules.

    i think your approach above might work.
    Could you give me few tips?

    Thanks again
    Cookie

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

    Default Re: Different Prod info pages for differnt products?

    Read the CSS-readme.txt in /includes/templates/template_default/css/ for a summary.
    Make a stylesheet file with just the rules you need to be different from standard, and name it according to the category id or cPath, like c_23.css. You will need a copy of the same file named for each category.

    For the rules you need, I would have to see what you have (live, not a screenshot) and what you want.

  5. #5
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different Prod info pages for differnt products?

    Thanks again
    i have a working knowledge of CSS
    And the product id like to have a different prod page are all in the same category.

    But were im stuck is how do i make those different products display the new CSS

    instead of the current CSS file im using for all the other prod info pages.

    if im making sense - i hope

    Regards
    Cookie

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

    Default Re: Different Prod info pages for differnt products?

    Did you read the readme file I told you about? Saving a file with the correct name will cause it to automatically load for the desired category (or other page type).

  7. #7
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different Prod info pages for differnt products?

    O Great
    Nice one!
    Thanks

  8. #8
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Different Prod info pages for differnt products?

    Hi
    I dont think CSS alone is gonna do it.
    would there be a way to just reduce the image size displayed on the prod info page -
    But only for products in a particular category?

    Thank you
    Cookie

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

    Default Re: Different Prod info pages for differnt products?

    If you are depending on the medium image size setting to scale your images down, you are doing it wrong. You should save your medium images at the exact pixel size you want them to display so the browser doesn't have to do a quick & dirty resizing on the fly. If you save this category's medium images at the smaller size, that is how they will display. If you need to reduce the space reserved for these smaller images, you can do that with a per-category stylesheet, using !important if necessary in the width declaration to override the inline styling.

 

 

Similar Threads

  1. v150 different product info pages for different categories
    By twistedmilas89 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Jul 2012, 09:10 PM
  2. Different product info pages for products
    By longstockings in forum General Questions
    Replies: 2
    Last Post: 11 Jan 2012, 11:04 AM
  3. Different Images for Cart vs. Prod Info
    By realeyz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Nov 2009, 09:19 PM
  4. Configuring different shipping mods for differnt products?
    By bgroup99 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Dec 2007, 05:00 AM
  5. Differnt stores for different domains & Dreamhost.com
    By jdesson in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jun 2006, 09:00 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