Post by andyh » Sun Jul 23, 2017 12:05 pm

Hi
How do I remove product code and availability on product page.
Thanks

Attachments

Capture.JPG

Capture.JPG (9.12 KiB) Viewed 3688 times


Newbie

Posts

Joined
Tue Aug 11, 2015 8:02 am

Post by DigitCart » Sun Jul 23, 2017 1:49 pm

Hi,
If you are using default theme, in this file:

Code: Select all

catalog/view/theme/default/template/product/product.tpl
find and remove these lines:

Code: Select all

<li><?php echo $text_model; ?> <?php echo $model; ?></li>

Code: Select all

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

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by andyh » Sun Jul 23, 2017 3:06 pm

Cheers.

Newbie

Posts

Joined
Tue Aug 11, 2015 8:02 am

Post by Hussain_alikaka » Sun Aug 18, 2019 9:48 am

i am using Journal theme, then how can i do that


Posts

Joined
Sun Aug 18, 2019 9:30 am

Post by johnp » Sun Aug 18, 2019 5:41 pm

Personally I'd write a vqmod for it.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by xxvirusxx » Sun Aug 18, 2019 9:36 pm

Hussain_alikaka wrote:
Sun Aug 18, 2019 9:48 am
i am using Journal theme, then how can i do that
Then disable from Journal settings.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 56 guests