Hallo,
I want to view Top seller products (oxtop5) on each page. In basic It is viewed only in categories, but I need it in search, pages and product details. Could you help me, please?
Thank you!
best regards
Scrand;)
Hallo,
I want to view Top seller products (oxtop5) on each page. In basic It is viewed only in categories, but I need it in search, pages and product details. Could you help me, please?
Thank you!
best regards
Scrand;)
By simple, put it into the _footer.tpl . This way, you have it on all pages.
[QUOTE=Uwe rupprecht;52112]By simple, put it into the _footer.tpl . This way, you have it on all pages.[/QUOTE]
Bad way Becouse it is normally in _right.tpl and it is in each page, but I think problem is in core or views files. There must be some function which enable topseller products only for some pages.
Best regards
Scrand
Problem is solved. If someady want to view top seller products on each page here is the solution!
You must edit files where is this text: “extends oxUBase” and add this lines:
/**
* Sign if to load and show top5articles action
* @var bool
*/
protected $_blTop5Action = true;
Files, which must be edited:
views\account.php
views\alist.php
views\basket.php
views\compare.php
views\contact.php
views\content.php
views\details.php
views\guestbook.php
views\help.php
views\info.php
views\invite.php
views\links.php
\views\moredetails.php
views
ews.php
views
ewsletter.php
views\order.php
views\oxstart.php
views\payment.php
views\pricealarm.php
views\search.php
views\suggest.php
views ags.php
views pl.php
views\user.php
views\wrapping.php
First rule… Do not edit any oxid-core-files, because of updates.
[QUOTE=roland76;52156]First rule… Do not edit any oxid-core-files, because of updates.[/QUOTE]
I know, but I am not too skilled user is it possible to make it via modules and how?
I am sorry for my poor english :rolleyes:
thx
Save the following Code as modules/top5.php
<?php
class top5 extends top5_parent{
protected $_blTop5Action = true;
}
And activate with:
details => top5
info => top5
etc. in core settings/system/modules in admin interface.
Cool! Thank you!