Jump to content

Produkt Details Verkäufer zusätzlich einblenden

Recommended Posts

hallo Comunity,

ich habe gerade über Prestashop einen Marktplatz mit Prestashop Advanced Multi Vendor Marketplace erstellt.

nun habe ich meine Frage:

im Marketplace Modul wird jeder Artikel einem Seller zugeordnet. 
ich möchte gerne wenn ein Produkt aufgerufen wird, in den Details gerne den Seller einblenden. 
Wie kann ich eine .tpl Datei erstellen, die mir Anhand der Artikeldetails den Seller einfügt?




Share this post

Link to post
Share on other sites

(Translated via Google Translate)
So you want to display details about a seller when the user visits a single product page, right?

You have to assign the seller.

If the seller class is named Seller and the product is Product and the seller_id is the column where you assign the seller

$seller = new Seller($product->seller_id, Context::getContext()->language->id);

Then somewhere in the contoller you will see this

		'seller' => $seller

Then in the desired place you call


The names may change but the scenario is the same.
I wish you good luck and always backup before any action.

Regards :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More