+ Reply to Thread
Results 1 to 8 of 8

Thread: Base price on thumbnails?

  1. #1
    Client
    Join Date
    Dec 2002
    Posts
    24
    Squirrelcart version
    not specified!

    Base price on thumbnails?

    How do I get the Thumbnails to display the Base_Price?

    I tried adding code to the product_thumbnail.tpl.php

    and I noticed it has <!-- price info --> etc..

    So there must be an easier way.

    Thanks!

    Robert

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Product thumbnails should automatically be showing a base price below them, unless you've hidden it on their record via the Hide Base Price (or in older versions Show Base Price) field.

    example.png

  3. #3
    Client
    Join Date
    Dec 2002
    Posts
    24
    Squirrelcart version
    not specified!

    Replaced product_thumbnail.tpl but still no price

    Hi Jamie,

    I thought so. But the price doesn't show on the thumbnail, and it does show on the product_detail page.

    see: http://www.afternoonmusic.com/

    So it's not toggled off.

    I'm running 3.35

    I downloaded a fresh copy of SC and replaced product_thumbnail.tpl, but still no price.

    And the brief description which used to be under the thumb now only comes on the tool-tip.

    Don't care so much about the brief description, but it might be relevant to getting the price to show.

    Anywhere else I should look?

    Thanks,

    Robert

  4. #4
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Hi Robert,

    It shows everywhere in normal thumbnail views except for the New Products content record. To add it to that special content record, add this to the new_products_box.tpl.php template file above the closing </form> tag:
    PHP Code:
            <!--  price info -->
            <?php if ($Discount_Class): ?>
                <?php if ($Show_Regular_Price): ?>
                    <div class="regular_price">
                        <?php print $Regular_Price_Label?> <?php print sc_price($Regular_Price?>
                    </div>
                <?php endif; ?>
                <div class="sale_price">
                    <span class="sale_price_inner">
                        <?php print $Price_Label?> <?php print sc_price($Base_Price?>
                    </span>
                </div>
            <?php elseif ($Base_Price): ?>
                <div class="prod_price">
                    <?php print $Price_Label?> <?php print sc_price($Base_Price?>
                </div>
            <?php endif; ?>
            
            <?php print $Reviews?>

  5. #5
    Client
    Join Date
    Dec 2002
    Posts
    24
    Squirrelcart version
    not specified!

    The price doesn't show on any thumbnails.

    I will do that for the new products, but the price doesn't show on any thumbnails.

    For instance see: http://www.afternoonmusic.com/demo.php?crn=79

    And if you click through to the detail page the price does show.

    Cheers,

    Robert

  6. #6
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Hi Robert,

    Prices are appearing on that page for me:
    Attached Images

  7. #7
    Client
    Join Date
    Dec 2002
    Posts
    24
    Squirrelcart version
    not specified!

    Aha! Eureka moment...

    Jamie,

    You can see it because I'd temporarily toggled the default theme to the Squirrelcart version while I messed around with the afternoon music theme.

    But your comment revealed my error that I'd been making the editsto the SC theme and because I'm logged in when I viewed the page the changes didn't show.

    Arg!

    Fixed now.

    Thanks!

    Robert

  8. #8
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Glad you figured it out!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts