Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#2006 closed Bug/Fehler (fixed)

Abfrage nach Attributen in der order_details.html

Reported by: anonymous Owned by: GTB
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Template Version: trunk

Description

Im Template in der modules/oder_details heißt es:

{if $module_data.ATTRIBUTES != ""}

Das funktioniert aber nicht, weil das immer etwas zurück gibt, da es ein leeres Array its, wenn der Artikel keine Atrribute hat. Es muss stattdessen lauten:

{if $module_data.ATTRIBUTES}

Attachments (0)

Change History (3)

comment:1 Changed 6 months ago by Tomcraft

  • Milestone set to modified-shop-2.0.6.0
  • Version set to trunk

comment:2 Changed 6 months ago by GTB

  • Owner set to GTB
  • Resolution set to fixed
  • Status changed from new to closed

In 13485:

fix #2006 - check if attributes is array

comment:3 Changed 6 months ago by GTB

In 13498:

fix r13485 (#2006 - check if attributes is array) for template xtc5

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.