- Posts: 139
- Thank you received: 42
Module position inside eShop
- Davide
- Topic Author
- Offline
- Premium Member
Less
More
9 years 3 months ago #67514
by Davide
Module position inside eShop was created by Davide
Hi Giang, I have add this function for a client and I think is interesting for all and easy to add. My client want to add a message under price in product page because discount is valid only for some conditions and is important for him that this information is near the price. So I edit product view and add a new module position with this code:
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$position = 'eshop_under_price';
$options = array('style' => 'raw');
echo $renderer->render($position, $options, null);
I don't know if it is the best code but works. If you think that is usefull you could add some module position in eShop, for example in frontpage, product page or cart and checkout like in attachement images. It can be usefull even for add banner or message inside the eshop content. With front page positions you may solve the problem about Shop Introduction that is only one and if a site has more that one language is not possible to use (I think there is a topic about Shop Introduction).
Davide
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$position = 'eshop_under_price';
$options = array('style' => 'raw');
echo $renderer->render($position, $options, null);
I don't know if it is the best code but works. If you think that is usefull you could add some module position in eShop, for example in frontpage, product page or cart and checkout like in attachement images. It can be usefull even for add banner or message inside the eshop content. With front page positions you may solve the problem about Shop Introduction that is only one and if a site has more that one language is not possible to use (I think there is a topic about Shop Introduction).
Davide
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
9 years 3 months ago #67754
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Module position inside eShop
Hello Davide,
Thank you for suggesting this feature. I will think more about it and will consider to add it if it is useful.
Sincerely, Giang
Thank you for suggesting this feature. I will think more about it and will consider to add it if it is useful.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Mikkel
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
9 years 3 months ago #67867
by Mikkel
Replied by Mikkel on topic Module position inside eShop
it sounds like a usefull feature
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
9 years 3 months ago #67907
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Module position inside eShop
I will check more on that Mikkel!
Sincerely, Giang
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- robert rynkiewicz
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 3 months ago #68865
by robert rynkiewicz
Replied by robert rynkiewicz on topic Module position inside eShop
This is an excellent suggestion. It would be wonderful to be able to add messages to a module position such as suggestions of related products or coupons.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
9 years 3 months ago #68998
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Module position inside eShop
Hi Robert,
Currently modules does not have the feature to add custom messages in them.
Sincerely, Giang
Currently modules does not have the feature to add custom messages in them.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Davide
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 139
- Thank you received: 42
9 years 1 month ago #71669
by Davide
Replied by Davide on topic Module position inside eShop
Hi Giang, any news about this feature?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Matj
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
5 years 1 month ago #129702
by Matj
Replied by Matj on topic Module position inside eShop
This is something I like to use. Any plans?
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.