show add product page to vendor register ( show several page in one page)

  • Posts: 52
  • Thank you received: 0
7 years 1 month ago #265201

-- HikaShop version -- : 3.0.1
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6

hi
how can i show add product page to vendor edition page.
show add product page under vendor edition page. it's mean vendor can update their info and add new product in one page.
can i use similar this code?:

$this->setLayout('productmarket_add');
	echo $this->loadTemplate();

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 1 month ago #265205

Hi,

Even if you can include the view content in the vendor registration ; it will not work because the controller can just perform one single action.
More than that, in Joomla you can't include views from another "context" like that (vendormarket / productmarket), it requires specific code (than getLayout from the HikaShop/HikaMarket core allow you to do).
But just as I said, even if you include the view, the controller will not perform the product save. It would require some custom development (and a custom plugin) to have your own controller and your own algorithms.

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