Post by sterikal » Fri Apr 21, 2017 1:24 am

Can anyone tell me how I can edit the 'Availability' line on the product page? I would like to make it stand out more.

Cheers
Marc

See attached pic

Attachments

availability.JPG

availability.JPG (550.61 KiB) Viewed 192 times


Newbie

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by cyclops12 » Fri Apr 21, 2017 3:04 am

You could open your catalog/view/theme/YOUR_THEME/template/product/product.tpl file and find

Code: Select all

<li><?php echo $text_stock; ?> <?php echo $stock; ?></li>
And change it to

Code: Select all

<li><b><?php echo $text_stock; ?></b> <?php echo $stock; ?></li>

Active Member
Online

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by sterikal » Fri Apr 21, 2017 6:23 am

Many thanks

Worked a treat. I was also able to increase the size of the font and the colour ;D

Newbie

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by viethemes » Fri Apr 21, 2017 10:07 am

sterikal wrote:
Fri Apr 21, 2017 6:23 am
Many thanks

Worked a treat. I was also able to increase the size of the font and the colour ;D
You may like my extension Visual Theme Editor to customize font size & color of that text and more :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 11 guests