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 1382 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 / DigitCart


User avatar
Active Member
Online

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.

++ Quote OC10 for 10% off your first order ++
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD 2.6.1 lover, user and geek.
Fast and Affordable Service for Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
https://www.asandwhenbusinessservices.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.

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed | Buy me a beer or coffee


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Who is online

Users browsing this forum: No registered users and 7 guests