Post by tomopencart » Wed Jun 24, 2015 9:57 am

hi,

im new to opencart 2.

i would like to display the products data, like ISBN etc... how do i do that?

thx

Newbie

Posts

Joined
Thu Apr 23, 2015 12:19 am

Post by IP_CAM » Wed Jun 24, 2015 10:38 am

Look here:
http://docs.opencart.com/catalog/product/data/
i.E.:
http://stackoverflow.com/questions/2867 ... y-page-tpl

and/or search Google by use of exactly this Line below:

Code: Select all

+display+product+data+like+ISBN+on+opencart
to usually get answers to rather 'common' questions on OpenCart related Settings.
Just to warn/inform you, not to expect too much around here, answerred
several times before already. It's absolutely nothing personal, it's just the way it goes ;)
Good Luck
Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by tomopencart » Wed Jun 24, 2015 9:04 pm

hi

thx for the info - i read the first link already - which kinda implies it the data should just show on the product page, but it doesnt (unless something needs to be enabled).


ill check more google...

thank you!

Newbie

Posts

Joined
Thu Apr 23, 2015 12:19 am

Post by IP_CAM » Thu Jun 25, 2015 12:34 am

I have been spending the whole night on this, trying to create something,
out of the Pages, listed in Google, but for some reason, I got nowhere.
In addition, I don't use OC v.2.x, so, I can only be of limited help anyway :'(

But if you have an Idea on Souce editing, just check, what I did, to display SKU
as well as the Product ID Number, hardcoded, as simple as it goes, into my Product Pages,
in my presently used OC v.1.5.6.5_rc Test-Version. Just search for the 'sku' word, in the
files,to find 'matching' entries.

It should be possible, to use similar OC v.2.x 'content', to make it work with other Product 'VALUES',
but I figured about that, after going to bed, at 06.30, this morning ::)

In the ZIP, all 3 (v.1.5.6.x) Files, involved, reside in their default Sub, so, all you have
to do is, to insert similar Lines, in similar Places, in your Files, to make your ISBN/MPN visible.
Hopefully, at least... ;)

Since they won't let us upload zip's anymore, download it here:
http://www.ipc.li/os/display_sku.zip

Good Luck
Ernie
can be seen here:
http://www.hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by gogoweb » Thu Jun 25, 2015 6:31 am

1 line addition in product controller and 1 line in your theme file.

In File: catalog/controller/product/product.php
go to line 271
Add this:

Code: Select all

$data['isbn'] = $product_info['isbn'];
In your theme's
catalog/view/theme/YOUR_THEME_NAME/template/product/product.tpl

Add this where you want it to show up:

Code: Select all

<?php echo $isbn; ?>

All mods | OpenCart Bulk Related Products Ultimate Edition |GeoIP hide Prices / no add to cart by country| CSS override | Direct link to checkout / skip add to cart / buy now link | AUTO pilot - reward & purchase points


New member

Posts

Joined
Sat Oct 18, 2014 6:45 pm


Post by dafmktg » Thu Jun 25, 2015 2:48 pm

HI,

I have checked online but unable to find any option. How to get the display of categories on the product display page.

Like this - http://www.opencart.com/index.php?route ... on_id=6915

However for opencart version 2.

Shall really appreciate a reply. Thanks.

Newbie

Posts

Joined
Thu Jun 25, 2015 1:53 pm

Post by IP_CAM » Fri Jun 26, 2015 11:14 pm

I figured, it would work, as I have been doing it, in my sample OC v.1.5.6.x Files, modified to see the SKU ID.
So, just to complete it, for OC versions v.1.5.6.x, it would look like on the image
.
Can be seen here as well, for the time beeing...
http://www.hitline.info/shop/index.php? ... duct_id=42

and, just don't forget, to add the same 'Variables,' and their correct Translation, into other
language Files used, as well, i.E. in the german Language:

Code: Select all

// Text
$_['text_model']        = 'Artikel Nummer:';
$_['text_sku']			  = 'SKU:'; 
$_['text_isbn']			  = 'ISBN:';
$_['text_mpn']			  = 'MPN:'; // oder wie immer man das schreiben will...
e.t.c.
good Luck ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by IP_CAM » Sun Jun 28, 2015 12:52 am

just to mention it, for OC v.2.0.3.1 Users, others possibly as well, you could
try this VqMod, displaying (hopefully) SKU as well as ISDN ID-Numbers, if one or
both of them are activated by a Value, in the Admin Product -Section:

http://www.opencart.com/index.php?route ... n_id=22812

It's untested, I have/use no working OC2, but it should work, I assume.
If not tell me about it, and I modify it.

Good Luck
Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by werepair » Tue Mar 01, 2016 10:50 am

IP_CAM wrote:I have been spending the whole night on this, trying to create something,
out of the Pages, listed in Google, but for some reason, I got nowhere.
In addition, I don't use OC v.2.x, so, I can only be of limited help anyway :'(

But if you have an Idea on Souce editing, just check, what I did, to display SKU
as well as the Product ID Number, hardcoded, as simple as it goes, into my Product Pages,
in my presently used OC v.1.5.6.5_rc Test-Version. Just search for the 'sku' word, in the
files,to find 'matching' entries.

It should be possible, to use similar OC v.2.x 'content', to make it work with other Product 'VALUES',
but I figured about that, after going to bed, at 06.30, this morning ::)

In the ZIP, all 3 (v.1.5.6.x) Files, involved, reside in their default Sub, so, all you have
to do is, to insert similar Lines, in similar Places, in your Files, to make your ISBN/MPN visible.
Hopefully, at least... ;)

Since they won't let us upload zip's anymore, download it here:
http://www.ipc.li/os/display_sku.zip

Good Luck
Ernie
can be seen here:
http://www.hitline.info/shop/

Hi your link is not working
http://www.ipc.li/os/display_sku.zip

Best Regards

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by IP_CAM » Tue Mar 01, 2016 12:28 pm

I once cleaned this out of some garbage, so, I must have removed this too.
It's now up again !
Ernie
openshop.li
But it's on the OC Extension Page as well:
http://www.opencart.com/index.php?route ... n_id=22608

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by werepair » Tue Mar 01, 2016 2:04 pm

IP_CAM wrote:I once cleaned this out of some garbage, so, I must have removed this too.
It's now up again !
Ernie
openshop.li
But it's on the OC Extension Page as well:
http://www.opencart.com/index.php?route ... n_id=22608
Cheers for the info, appreciated. I just noticed this is 1.5.6 will it work in 1.5.5.1?

best regards

User avatar
Active Member

Posts

Joined
Sat May 28, 2011 2:54 pm
Location - United Kingdom

Post by IP_CAM » Wed Mar 02, 2016 4:23 am

just try it out, it won't do any harm, at best, you'll get some error message, possibly even telling you, where it failed.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 42 guests