Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Das Plugin Live Shopping "xt_live_shopping" ist kostenpflichtig und kann im xt:Commerce Store bezogen werden.

...

Note

Seit XTC-Version 5.1.4 ist die Page bereits auf der Startseite eingebunden, in templates/xt_responsive/xtCore/pages/default.html , mit Angabe des Slider-Listing-Templates:

{page name=xt_live_shopping type=user order_by=rand limit=10 nopaging=true tpl="product_listing_slider.html"}

...

Mit der Funktion live_shopping_list::getCount($box_positions, filter_cart = true) ermitteln Sie ob für ein Box Ergebnisse vorliegen
Sie können eine oder mehrere Box-Positionen angeben und festlegen ob Artikel im Warenkorb ignoriert werden sollen oder nicht

$cnt = live_shopping_list::getCount(['warenkorb',' irgendwo']); // 2 Positionen, Artikel im Warenkorb werden ignoriert
$cnt = live_shopping_list::getCount(['warenkorb']); // 1 Position , Artikel im Warenkorb werden ignoriert
$cnt = live_shopping_list::getCount(); // egal wo , Artikel im Warenkorb werden ignoriert

$cnt = live_shopping_list::getCount('', false); // egal wo , Artikel im Warenkorb werden mitgezählt
$cnt = live_shopping_list::getCount(false, false); // egal wo , Artikel im Warenkorb werden mitgezählt
$cnt = live_shopping_list::getCount([], true); // egal wo , Artikel im Warenkorb werden nicht mitgezählt