Can I create multiple registratio forms in HikaMarket?

  • Posts: 49
  • Thank you received: 1
5 years 8 months ago #304670

-- HikaShop version -- : 4.0.3
-- HikaMarket version -- : 3.0.1
-- Joomla version -- : 3.9
-- PHP version -- : 7.2
-- Error-message(debug-mod must be tuned on) -- : No error

Hello,

Can I create multiple registration forms for Hikamarket?

One for vendors, when they sign up they will be under the vendor group, and one for buyers only registered user but don't have the permission of being able to sell.

Is this possible?

Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
5 years 8 months ago #304674

Hello,

One would be an HikaMarket registration form.
The other would be the HikaShop registration one.

As long as you are NOT using the automatic vendor creation (but a auto/manual validation) ; it will be okay.
www.hikashop.com/support/documentation/1...nfig_market_register

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: 49
  • Thank you received: 1
5 years 8 months ago #304704

Thanks for the prompt reply.

One more thing I am trying to pull out the vendor_address_state to display it on the product page.

Example:
Every product is sold by a vendor, the vendor has an address, so what I am trying to do is to pull out his address on the product page, all is fine but the vendor_address_state is returning a value like the following: state_______________1234

I know the corresponding value to this is the zone_name field in #__hikashop_zone, however, I would like to know if there is a way to do it without overriding the model or controller, so when we make updates it doesn't erase our changes.

Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
5 years 8 months ago #304728

Hello,

If you want to display content of "special" custom fields, the best is to load the custom field class from HikaShop and use the "show" function to display the content.
Something like :
www.hikashop.com/forum/19-hikamarket/887...at-issue.html#257151

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: 49
  • Thank you received: 1
5 years 8 months ago #304729

Hello,

Thanks for your reply Jerome.

This is not a custom field, this is a zone_name field from #__hikashop_zone table.

When I var_dump the data I get all the details of the vendor but the zone_name field.

Please note I am var_dumping from the hikashop/views/product/show_default.php which is the default product page.

So I am trying to access the zone_name field. which has predefined values in the database.

Thanks

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

  • Posts: 49
  • Thank you received: 1
5 years 8 months ago #304732

Ok thanks, that worked.

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

  • Posts: 49
  • Thank you received: 1
5 years 8 months ago #304750

Also, how do I get the variant images within the product page?

I am trying to pull the variants' images out from the database and display it as an image, so instead of radio button I will make it an image.

Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
5 years 8 months ago #304755

Hello,

That question is related to HikaShop and not HikaMarket ; please open a new thread in the HikaShop section of the forum.

Thank you


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.054 seconds
Powered by Kunena Forum