- Posts: 640
- Thank you received: 16
What does this code in product page view?
- PeterChain
-
Topic Author
- Offline
Less
More
11 years 8 months ago #185881
by PeterChain
What does this code in product page view? was created by PeterChain
-- HikaShop version -- : 2
-- Joomla version -- : 3
I'm making my own custom product view and would like to know what is this code for as I killed it without noticing any change.
-- Joomla version -- : 3
I'm making my own custom product view and would like to know what is this code for as I killed it without noticing any change.
Code:
if(!empty($this->element->extraData->leftBegin)) { echo implode("\r\n",$this->element->extraData->leftBegin); }
if(!empty($this->element->extraData->leftEnd)) { echo implode("\r\n",$this->element->extraData->leftEnd); }
Please Log in or Create an account to join the conversation.
11 years 8 months ago #185886
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic What does this code in product page view?
Hi,
This code is useful for plugins or integrations ; like HikaMarket which can use the "leftBegin" to display an edit button for the administrators (to let them edit the product).
We placed some code like that in the product pages and also in the product listing ; so plugins can add some specific content without having to create a view override.
Regards,
This code is useful for plugins or integrations ; like HikaMarket which can use the "leftBegin" to display an edit button for the administrators (to let them edit the product).
We placed some code like that in the product pages and also in the product listing ; so plugins can add some specific content without having to create a view override.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds