Results 1 to 10 of 220

Hybrid View

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

    Default Re: styling product listing pages with column layout grid

    By the way, your alternate category layout code is not working quite right. It is still handling the grid output as if it were rows content. You need to add some code to tpl_modules_product_listing.php to switch the processing there as well as in product_listing.php.

  2. #2
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: styling product listing pages with column layout grid

    Quote Originally Posted by gjh42 View Post
    By the way, your alternate category layout code is not working quite right. It is still handling the grid output as if it were rows content. You need to add some code to tpl_modules_product_listing.php to switch the processing there as well as in product_listing.php.
    Thank you for catching this. It seems as though I had the override version in the wrong location so it was still using the default file. I have moved it to the correct folder but evidently there is something wrong b/c I have 0 results.

    I'm going to try and find the original post on this and see where I goofed. Probably missing syntax.
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

  3. #3
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: styling product listing pages with column layout grid

    Quote Originally Posted by idc1 View Post
    Thank you for catching this. It seems as though I had the override version in the wrong location so it was still using the default file. I have moved it to the correct folder but evidently there is something wrong b/c I have 0 results.

    I'm going to try and find the original post on this and see where I goofed. Probably missing syntax.
    I have the correct file in the correct override location now and am getting NO error logs in my cache folder. I still have the layout issue though.
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

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

    Default Re: styling product listing pages with column layout grid

    Looking at the Bolts listing, the entire <td> for the price is missing when discounts are processed. I need to investigate further how this could happen. I forgot the "username" I made when creating the test account, so even though I can login, I can't fill out the popup for access to see the prices. That username is not visible in the "My Account" page. Can you tell me what it is so I don't have to make a second dummy account?

    Are the quantity discount tables showing correctly now when the prices can be seen? The () fix should have fixed those tables, and I was hoping that having complete HTML would make the product display work... apparently not, though.

    What happens if you change the debug from

    echo $qdt . '<br />';

    to

    $lc_price = $qdt;//gjh42 20121127
    echo $lc_price . '<br />';

    I will want to see the results from more echo locations until one shows up as not having content.

  5. #5
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: styling product listing pages with column layout grid

    Quote Originally Posted by gjh42 View Post
    I forgot the "username" I made when creating the test account, so even though I can login, I can't fill out the popup for access to see the prices. That username is not visible in the "My Account" page. Can you tell me what it is so I don't have to make a second dummy account?
    [email protected]


    Quote Originally Posted by gjh42 View Post
    Are the quantity discount tables showing correctly now when the prices can be seen? The () fix should have fixed those tables, and I was hoping that having complete HTML would make the product display work... apparently not, though.
    Not really. The tables appear to be created and populated correctly but they are not shown attached to the item.

    Quote Originally Posted by gjh42 View Post
    What happens if you change the debug from

    echo $qdt . '<br />';

    to

    $lc_price = $qdt;//gjh42 20121127
    echo $lc_price . '<br />';
    Done. I see no change.
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

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

    Default Re: styling product listing pages with column layout grid

    The only other thing I can think of is that the string with visual HTML formatting (carriage returns) is blowing up when handled as array values. For a test, replace the

    $lc_price = $qdt;//gjh42 20121127
    echo $lc_price . '<br />';

    with this:
    PHP Code:
    $qdt '<table>
      <tr>
        <td>format testing</td>
      </tr>
    </table>'
    ;
    $lc_price $qdt;//gjh42 20121127
    echo $lc_price '<br />'
    and if the test tables show up at the top, switch to this:
    PHP Code:
    $qdt '<table>' "\n" .
    '  <tr>' "\n" .
    '    <td>format testing</td>' "\n" .
    '  </tr>' "\n" .
    '</table>';
    $lc_price $qdt;//gjh42 20121127
    echo $lc_price '<br />'
    If that is the issue, the price display will come back (with the dummy tables as content).
    Last edited by gjh42; 28 Nov 2012 at 09:55 PM.

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

    Default Re: styling product listing pages with column layout grid

    I see the "format testing" tables are displaying as expected.

 

 

Similar Threads

  1. Problem with column layout grid for product listing 1.3.8
    By ivanc in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 22 Jul 2010, 11:00 AM
  2. Replies: 5
    Last Post: 17 Feb 2010, 05:13 PM
  3. Problem with Column Layout Grid for Product Listing
    By maeve100 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Aug 2009, 04:02 PM
  4. Column Grid Layout - trouble with product listing/layout
    By mellonade in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 May 2007, 11:18 AM
  5. Problem with Column Layout Grid for Product Listing 1.3.0.2
    By mmmfruit in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 12 Aug 2006, 04:15 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