- Posts: 13
- Thank you received: 0
show picture and name vendor
10 years 2 months ago #245757
by monaaa
show picture and name vendor was created by monaaa
I want show picture and name vendor together in product page . like attachment file
how i can ?
how i can ?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #245790
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic show picture and name vendor
Hi,
First you will need to deactivate the display of the "sold by" in the HikaMarket configuration.
www.hikashop.com/support/documentation/1...onfig_market_display
Then you will need to manually display the vendor link in the product page (and product listing) ; to do that a view override will be required (or a plugin).
Even if the "sold by" won't be display directly by HikaMarket you will have access to the vendor details in the objects.
In the product page, you can access to the vendor details using
That object will contain all vendor elements (that you can find in the database), like "vendor_name" or "vendor_description".
It will also contain the "vendor_image".
You can display an image thanks to the value in the "vendor_image" variable using some code ; you can find an example in that thread :
www.hikashop.com/forum/19-hikamarket/868...ountries.html#159234
In the product listing, you can access to the vendor details using
The object will contain the exact same data than in the product page.
More about overrides :
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
First you will need to deactivate the display of the "sold by" in the HikaMarket configuration.
www.hikashop.com/support/documentation/1...onfig_market_display
Then you will need to manually display the vendor link in the product page (and product listing) ; to do that a view override will be required (or a plugin).
Even if the "sold by" won't be display directly by HikaMarket you will have access to the vendor details in the objects.
In the product page, you can access to the vendor details using
Code:
$this->element->vendor
It will also contain the "vendor_image".
You can display an image thanks to the value in the "vendor_image" variable using some code ; you can find an example in that thread :
www.hikashop.com/forum/19-hikamarket/868...ountries.html#159234
In the product listing, you can access to the vendor details using
Code:
$this->row->vendor
More about overrides :
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.166 seconds