Add text under price on product pages

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeAdd text under price on product pages

This topic has been marked as resolved.

I need to add some text under the price on product pages…

What file do I have to modify ? Is it product.tpl ?

If so … where do I enter the text?

Thanks!

 stf86
May 28, 2012 at 1:11 pm #9415
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
May 28, 2012 at 5:58 pm #9456

hmmm … cant seem to find that line of code ..

hope I opened the right file..

I went to catalog/view/theme/shoppica/template/product/product.tpl

and found


<div id="product_price">
          <?php if (!$special): ?>
          <p class="s_price"><?php echo s_format($price); ?></p>
          <?php else: ?>
          <p class="s_price s_promo_price">
            <span class="s_old_price"><?php echo s_format($price); ?></span>
            <?php echo s_format($special); ?>
          </p>
          <?php endif; ?>

          <?php if ($tax): ?>
          <p class="s_price_tax"><?php echo $text_tax; ?> <?php echo $tax; ?></p>
          <?php endif; ?>

          <?php if ($points): ?>
          <p class="s_reward_points"><small><?php echo $text_points; ?> <?php echo $points; ?></small></p>
          <?php endif; ?>

        </div>

After which line should I add my text ?

 stf86
May 28, 2012 at 6:33 pm #9461

i also need the same, where i can show discount %age and saving. could themeburn give us a nice looking css code where we can use that on product.tpl only.

http://www.mallxs.com/tulip-nutan-white-pink-hand-block-print-kurti

i use a code myself but its not looking good, also it might break css on some explorers, we havent tested on all.

we are not good at css, hope themeburn can look at the link above and give us a nice css code.

May 29, 2012 at 8:23 am #9474

@stf86

Yes, the file you’ve opened is the correct one. Just put the new code just before the closing tag of the div you’ve posted.

Best,
ThemeBurn team

June 1, 2012 at 11:30 am #9616

Hi, guys. We’d like to put the discount price as text below the price circle in the product page like the http://www.mallxs.com. What’s the code to put there so the system calculates the discount automaticaly? thanks in advance

September 9, 2012 at 8:47 pm #13363
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.