Post by ahetaton » Thu Jan 18, 2018 6:21 pm

Hi,
First of all I apologize for my English.

I would like to display the manufacturer's name on the "featured products" module and category view.

Not in the manufacturer's view.

Is there any solution for this? ???

Newbie

Posts

Joined
Tue Aug 16, 2016 9:24 pm

Post by IP_CAM » Fri Jan 19, 2018 3:04 am

Well, strictly technically, it should not be a big problem, to add Manufacturers to Listings
like Featured, but for latest OC-Versions, not much comes for free, and not much yet exists.
But I found this free Extension:
---
Display Model (Product Code)
https://www.opencart.com/index.php?rout ... n_id=29980
---
and I just added some Manufacturer-related Code Lines below the MODELCode Lines.
Try it out, you cannot break anything, but since I don't use an OC v.3, I cannot test it, ::)
Good Luck! ;)
Ernie

PS. File removed again, since I cannot test it !
Last edited by IP_CAM on Fri Jan 19, 2018 8:08 am, edited 1 time in total.

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 ahetaton » Fri Jan 19, 2018 5:51 am

Dear Ernie,

Thanks for your help, but something wrong..
I just installed the module then, This error message was written:

Attachments

bug.PNG

bug.PNG (124.92 KiB) Viewed 1682 times


Newbie

Posts

Joined
Tue Aug 16, 2016 9:24 pm

Post by IP_CAM » Fri Jan 19, 2018 7:33 am

ok, the error seems NOT to come from the .XML File,
but better, unzip the zip file, and rename the:
install.xml
to:
display_manufacturer.ocmod.xml
then, install this file only, by use of the OcMod Installer, AFTER having cleaned out
the OcModification Section.
---
And then CHECK the OcMod Protocol, if it still produces smne errors.
Ernie
---
Image
Image
---
And also make sure to clean out/disable the other Cache too, to make sure, it
will always load new cached content, after making changes in OC-3 ;)
Image
Last edited by IP_CAM on Fri Jan 19, 2018 7:38 am, edited 2 times in total.

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 straightlight » Fri Jan 19, 2018 7:33 am

Try this free solution for the manufacturers with categories: viewtopic.php?f=202&t=198908&p=699952&h ... me#p699952 . You can easily adapt it with the featured product module as well. :)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ahetaton » Fri Jan 19, 2018 8:06 am

Thanks guys! :)

With straightlight's idea he managed to solve it. :)

Newbie

Posts

Joined
Tue Aug 16, 2016 9:24 pm

Post by IP_CAM » Fri Jan 19, 2018 8:09 am

Good for you!
I removed the ZIP File again now, since I cannot make sure, that it works.
Good Luck ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 ahetaton » Fri Jan 19, 2018 10:13 pm

Guys,

I've solved to display in the category view and the search results are also the manufacturer's name, but I can not display in the main page "featured products" module.

It works on category page:

category.php
add:
'manufacturer' => html_entity_decode($result['manufacturer'], ENT_QUOTES, 'UTF-8'),
category.twig
add:
{{ product.manufacturer }}


??? ??? ??? ??? ???

Attachments

good.PNG

category - good.PNG (76.86 KiB) Viewed 1625 times

bad.PNG

featured products - bad.PNG (73.89 KiB) Viewed 1625 times


Newbie

Posts

Joined
Tue Aug 16, 2016 9:24 pm

Post by straightlight » Sat Jan 20, 2018 6:02 am

Issue resolved on this topic: viewtopic.php?f=202&t=198908

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ahetaton » Sat Jan 20, 2018 8:06 am

very very thanks! :) :)

Newbie

Posts

Joined
Tue Aug 16, 2016 9:24 pm
Who is online

Users browsing this forum: No registered users and 237 guests