Jump to content

Edit History

Andrejkov

Andrejkov

Hello,

I need to make some changes in order-detail.tpl file. To do this i need to use {IF} {ELSE} condition.

I Want to do something like this:

1. 

{if {$order.carrier.ID} == 1}

AAAAA

{else}

BBBBB

{/if}

2. 

	{if {$order.history.current.ostate.id} == 1}

	AAAAA

	{else}

	BBBBB

	{/if}

What variable i should use in {if} condition to get:

1.  Order carrier ID

2. Order current status ID

Regards

 

 

Andrejkov

Andrejkov

Hello,

I need to make some changes in order-detail.tpl file. To do this i need to use {IF} {ELSE} condition.

I Want to do something like this:

1. 

{if {$order.carrier.ID} == 1}

AAAAA

{else}

BBBBB

{/if}

2. 

	{if {$order.history.current.ostate.id} == 1}

	AAAAA

	{else}

	BBBBB

	{/if}

What variable i should use in {if} condition to get:

1.  Order carrier ID

2. Order current state ID

Regards

 

 

×
×
  • Create New...