Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: New Products

    jey

    • Frisch an Board
    • Beiträge: 92
    • Geschlecht:
    New Products
    am: 22. Februar 2016, 06:47:36
    What are the logic of New Products box displayed in the left side bar?

    How we can enable this?

    Linkback: https://www.modified-shop.org/forum/index.php?topic=34406.0
    Modulshop - Eine große Auswahl an neuen und hilfreichen Modulen für die modified eCommerce Shopsoftware

    WayneTsun

    • Fördermitglied
    • Beiträge: 1.082
    • Geschlecht:
    Re: New Products
    Antwort #1 am: 22. Februar 2016, 08:37:57
    Hi Jey,

    the box shows recently offered products in random order.

    To your 2nd question:

    to enable the New Products Box you have to do this in /templates/YourTemplate/index.html:

    change

    Code: PHP  [Auswählen]
    {$box_WHATSNEW}

    to

    Code: PHP  [Auswählen]
    {*$box_WHATSNEW*}

    greetings,
    Wayne

    jey

    • Frisch an Board
    • Beiträge: 92
    • Geschlecht:
    Re: New Products
    Antwort #2 am: 22. Februar 2016, 09:47:26
    We changed the code in our template as per your instruction

    Code: PHP  [Auswählen]
    {*$box_WHATSNEW*}

    but still the box is not visible.... Please let me know where we made the mistake?

    our site: speedstep-shop.com

    hendrik

    • Experte
    • Beiträge: 2.038
    Re: New Products
    Antwort #3 am: 22. Februar 2016, 10:14:46
    The Expression {* .... *} defines comments. With this change you have diabled the box. To enable it bring it back into form {$box_WHATSNEW}.

    If you like to change the logic of displayed products you find the code in file:

    templates/....my template or xtc5.../source/boxes/whats_new.php

    greeting
    hen

    WayneTsun

    • Fördermitglied
    • Beiträge: 1.082
    • Geschlecht:
    Re: New Products
    Antwort #4 am: 22. Februar 2016, 10:58:34
    Didn't you say "disabled"? So my fault, sorry.  :oops:

    greetings,
    Wayne

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.370
    • Geschlecht:
    Re: New Products
    Antwort #5 am: 22. Februar 2016, 12:12:58
    To enable the display of older products go to "Configuration" -> "Maximum Values" -> "Maximum Age (days) for New Products" and set this to a higher number appropriate for you.

    Regards

    Torsten

    Bonsai

    • Viel Schreiber
    • Beiträge: 4.127
    • Geschlecht:
    Re: New Products
    Antwort #6 am: 22. Februar 2016, 15:15:21
    And .... you must have at least one new product in the configured range, otherwise the box doesn't show up.
    7 Antworten
    4282 Aufrufe
    20. März 2014, 16:39:27 von Ceciro
    10 Antworten
    4072 Aufrufe
    29. Oktober 2010, 20:20:30 von Tomcraft
    34 Antworten
    1544 Aufrufe
    11. Dezember 2023, 13:05:43 von trekstor
    4 Antworten
    4556 Aufrufe
    08. Oktober 2011, 09:03:25 von walid