Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default 'Customers also purchased' layout

    Can anyone help with a styling issue here


    Trying to get the 'Also Purchased' items to be on the same line, similar to the Recently Viewed layout.

    Not sure what I am missing.

  2. #2
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: 'Customers also purchased' layout

    I am needing the following:

    div class = "centerBoxContentsAlsoPurch centeredContent back" style="width:50%;"
    div class = "centerBoxContentsAlsoPurch centeredContent forward" style="width:50%;"


    Not entirely sure what needs to be added to the stylesheet.

  3. #3
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: 'Customers also purchased' layout

    Resolved.

    I think thinking out loud fixes most issues...

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: 'Customers also purchased' layout

    And.. After discussing the problem with ones self and answering ones self. One of those two should be kind enough to let others know what it took to fix the problem. Just in case someone else is not answering their self.

  5. #5
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: 'Customers also purchased' layout

    I modified /includes/modules/also_purchased_products.php



    while (!$also_purchased_products->EOF) {
    $also_purchased_products->fields['products_name'] = zen_get_products_name($also_purchased_products->fields['products_id']);
    $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsAlsoPurch centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($also_purchased_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($also_purchased_products->fields['products_id']), 'products_id=' . $also_purchased_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $also_purchased_products->fields['products_image'], $also_purchased_products->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($also_purchased_products->fields['products_id']), 'products_id=' . $also_purchased_products->fields['products_id']) . '">' . $also_purchased_products->fields['products_name'] . '</a>');

 

 

Similar Threads

  1. Customers Also Purchased... Layout Issue
    By ChrisDrumm in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Sep 2009, 04:29 PM
  2. Customers also purchased on cart page?
    By trippy1976 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2009, 09:45 PM
  3. Customers who purchased this, also purchased this, CSS issue
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jul 2009, 11:12 PM
  4. Customers also purchased
    By ckosloff in forum Customization from the Admin
    Replies: 4
    Last Post: 13 Jun 2009, 01:33 AM

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