Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Product listing on main page?

    Hey folks, i want to really cut down my site to the bare minimum, and when I saw bare minimum I mean it.

    Here is whay I have now: http://justaaudial.net/releases.html

    I'd love to have http://justaaudial.net/store look exactly the same as the link above. I haven't yet begun really, so I realize I am pretty far but the one thing that deferred me from doing so was that I didn't notice anthing that would allow me to just show my one category on the main page. Any ideas?

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Yes, turn off your new products of the month and then go to:
    includes>templates>yourtemplate>templates>tpl_index_default.php add code just below

    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>

    For your image and product like this

    <table style="width: 100%;"><tbody><tr>
    <td rowspan="1" style="text-align: center; width: 100%;">
    <?=zen_image(DIR_WS_TEMPLATE.'images/center_product.jpg','','','','')?></td></tr>
    </tbody></table>

    your image would be in your template images folder add text and a link to your product like this link
    <a href="index.php?main_page=index&cPath=48">Top 40 CD</a>

  3. #3
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    I' am not quite sure if this is what you wanted, but there is "Main Page-Opens with Category" in Admin->Configuration->Layout settings.

  4. #4
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Quote Originally Posted by usernamenone View Post
    Yes, turn off your new products of the month and then go to:
    includes>templates>yourtemplate>templates>tpl_index_default.php add code just below

    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>

    For your image and product like this

    <table style="width: 100%;"><tbody><tr>
    <td rowspan="1" style="text-align: center; width: 100%;">
    <?=zen_image(DIR_WS_TEMPLATE.'images/center_product.jpg','','','','')?></td></tr>
    </tbody></table>

    your image would be in your template images folder add text and a link to your product like this link
    <a href="index.php?main_page=index&cPath=48">Top 40 CD</a>
    i tried this but couldn't quite get it to work... i pasted the "table style" under the "show customer greeting" but it didn't seem to work? could you clear up where exactly to paste it

  5. #5
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Quote Originally Posted by jarsa View Post
    I' am not quite sure if this is what you wanted, but there is "Main Page-Opens with Category" in Admin->Configuration->Layout settings.
    I tried this as well, I have one category set up and the category ID is 1, so I wrote in 1... didn't work. I tired putting 0 for "top level"... didn't work. Any ideas?

  6. #6
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Same place -> Categories-Always Show on Main Page. Do you have that turned on?

  7. #7
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Quote Originally Posted by jarsa View Post
    Same place -> Categories-Always Show on Main Page. Do you have that turned on?
    that did it! thanks

  8. #8
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    OK so I have the first steps happening

    now can someone tell me what to edit to replace the short version of the description in the product all listing to the full product description from the product listing?

    justaaudial.net/store

    justaaudial.net/store/index.php?main_page=product_info&cPath=1&products_id=3

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Product listing on main page?

    Quote Originally Posted by xfourninetwox View Post
    now can someone tell me what to edit to replace the short version of the description in the product all listing to the full product description from the product listing?
    Admin->Configuration->Product Listing->Display Product Description
    Display Product Description
    Do you want to display the Product Description?

    0= OFF
    150= Suggested Length, or enter the maximum number of characters to display
    .

    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.

  10. #10
    Join Date
    Mar 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product listing on main page?

    Quote Originally Posted by DrByte View Post
    Admin->Configuration->Product Listing->Display Product Description
    why does this method not allow for my paragraph formatting? i have a number of line breaks in there that don't seem to be showing

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Main Page Define - Product Listing above Main Text?
    By SaMortensen in forum Basic Configuration
    Replies: 22
    Last Post: 31 Jul 2009, 05:12 AM
  2. Main product listing page
    By cdambati in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jul 2008, 06:21 PM
  3. Product Listing on Main Page
    By a4tech in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 May 2007, 10:10 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