Module position inside eShop

  • Davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
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
Attachments:

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
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

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

More
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
  • Administrator
More
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

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

More
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
  • Administrator
More
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

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

  • Davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
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

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

More
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