Custom fields for Vendors

  • Posts: 145
  • Thank you received: 0
11 years 1 month ago #127303

-- url of the page with the problem -- : the-authors-club.com/index.php/ourauthor...nnifer-wheatley-wolf
-- HikaShop version -- : HikaShop Business: 2.2.1
-- Joomla version -- : 3.15
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Internet Explorer 9
-- Error-message(debug-mod must be tuned on) -- : There is no error.

I created two custom fields (links) for my vendors to use: a link for their Facebook pages and a link for their personal websites. How can I make it so that these two custom fields show up on their vendor pages? I have "front-end" checked in the custom fields settings.

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #127308

Hi,

In the custom field configuration page, you can select more than "frontend/backend" for the HikaMarket fields.
demo.hikashop.com/administrator/index.ph...=field&task=edit&cid []=40
You have also:
* Vendor page
* Vendor listing

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.

  • Posts: 145
  • Thank you received: 0
11 years 1 month ago #127316

I saw those after I posted the question. Is there a way to display those fields, like:
Facebook: www.facebook.com/mypage
Website: www.mywebsite.com

I only see the words "Facebook" and "Website" as links. I'd like the actual links to show, not just those words... if that's not possible, can I use some icons to show?
Thanks.

Last edit: 11 years 1 month ago by southga1974.

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #127339

Hi,

What are your talking about ?


I don't understand your question.

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.
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 145
  • Thank you received: 0
11 years 1 month ago #127356

If you'll look at this vendor's page, you'll see her profile and the word, "Website" above it, which is a link. Is there a way to show it as "Website: www.mywebsite.com "?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #127365

Hi,

Did you tried to enter/save a value for the custom field ?
For what I see in your website, there is no link configured. That's why you don't see the link url.
The second cell is right there, just nothing to display:



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.
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 145
  • Thank you received: 0
11 years 1 month ago #127398

Yes, there's a value there for two of my vendors. I can see where they entered their websites in that field and their profiles have been saved.


Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #127409

Hi,

Right.
I don't know exactly why but the link value is not right read by the HikaShop "getFields" function.
So for the moment, the best is to open the view "frontend | your_frontend_template | vendormarket | showcontainer_default" and replace

echo $this->fieldsClass->show($oneExtraField, $this->vendorFields->$fieldName);
By:
echo $this->fieldsClass->show($oneExtraField, $this->vendor->$fieldName);
It will be fix in the next release (and I will investigate in order to understand why this custom field type does not load the value correctly).

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.

  • Posts: 145
  • Thank you received: 0
11 years 1 month ago #127412

That worked! Thanks Jerome!

Last edit: 11 years 1 month ago by southga1974.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.088 seconds
Powered by Kunena Forum