Opened 10 years ago

Last modified 10 years ago

#702 closed Bug/Fehler

Fehler in tpl_modified — at Version 2

Reported by: Ronald Parcinski Owned by: Markus Rehm
Priority: hoch Milestone: modified-shop-2.0.0.0
Component: Template Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Torsten Riemer)

Was soll dieser Code in den "product_info" HTML-Dateien?

        {if isset($MODULE_product_options) && $MODULE_product_options != ''}{if $MODULE_product_options_template == 'multi_options_1.html' || $MODULE_product_options_template == 'product_options_dropdown.html'}
          {$MODULE_product_options}
        {/if}{/if}

Dadurch diese Beschränkung kann man keine individuellen Attribut Template Dateien mehr auswählen.

Change History (2)

comment:1 by Markus Rehm, 10 years ago

Wieso kann man da nichts individuelles auswählen?

Die Options mit Selectbox-Ausgabe sind oberhalb des Kaufen-Buttons in der schmalen Spalte.
Table und Selection-Template sind weiter unten und gehen über beide Spalte.

In der product_info_x.html ist weiter unten noch eine Abfrage für die beiden anderen html-Options-Vorlagen.

comment:2 by Torsten Riemer, 10 years ago

Description: modified (diff)

Es geht web28 darum, dass man somit nicht einfach eine neue Options-Template Datei namens "product_options_apu.html" in den Ordner "/product_options/" einfügen kann.

Da fehlt noch sowas wie:

      {if $MODULE_product_options != ''}{if $MODULE_product_options_template != 'multi_options_1.html' || $MODULE_product_options_template != 'product_options_dropdown.html' || $MODULE_product_options_template != 'product_options_selection.html' || $MODULE_product_options_template != 'table_listing.html'}
        {$MODULE_product_options}
      {/if}{/if}  

Damit auch selbst benannte Dateien direkt eingebunden werden können.

BTW.: Es heisst nur in Datei "product_info_tabs_v1.html":

      {if isset($MODULE_product_options) && $MODULE_product_options != ''}

In den beiden anderen Dateien "product_info_v1.html" & "product_info_x_accordion_v1.html" heisst es:

      {if $MODULE_product_options != ''}

Sollte vielleicht noch vereinheitlicht werden. ;-)

Last edited 10 years ago by Torsten Riemer (previous) (diff)
Note: See TracTickets for help on using tickets.