Modify the template of product editing page

  • Posts: 252
  • Thank you received: 1
8 years 3 months ago #247338

-- HikaShop version -- : HikaShop Business 2.6.3
-- HikaMarket version -- : HikaMarket Multivendor 1.7.0
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12

Hi,
I am trying to update the view of front end product editing page, but not sure which php file is it,
Please give me some direction, Thanks


Best Regards

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #247349

Hi,

Please do not edit PHP core files but use view overrides.
In HikaMarket, like in HikaShop every view can be customized via the backend interface.
www.hikashop.com/support/documentation/1...ize-the-display.html

The product edition page would be under "front-end / your-template / productmarket / form".

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: 252
  • Thank you received: 1
8 years 3 months ago #247383

Good day, Jerome,
I've created a custom field for products.
This field is for vendors to input, so it will show on front end product edition page.
My problem is. I have to put a hyperlink by the input box, so vendors can reference this outer link for their input.
I've check the document you sent but still have no idea how and where should I put this hyperlink, please advice, thanks.

Best Regards
Scott

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #247395

Hi,

In the view "productmarket / form" you will find some code which perform the display of the product custom fields.
You will find a loop for the different fields :

foreach($this->fields as $fieldName => $oneExtraField) {
Thanks to the variable $fieldName you can know the field namekey and you can add some specific content with the custom field.
Please note that performing such kind of customization requires some PHP skills

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