Item configuration

KouassiP
Tera Contributor

Hello All , 

I have a variable belongs to an Item and this item is linked to an order guide .

I want to set a value through a catalog script and this value this depend on when the item is requested directly or this item is requested via the order guide .

I.E : My variable A will have the value A = 1 when the item is resquested directly and will have the value A = 2 when the item is requested via an order guide .

I have tried the fonction getTableName but it's not working .

Do you have any idea ?

1 REPLY 1

Alok Gupta5
Tera Guru
Tera Guru

Hello,

 

When you want to set the variable value depend on from where it is used .

 

Then you have to create copy of catalog item and remove from category which will be used in order guide there you can set value 2 and for normal way you can set 1. otherwise you can achieve this.

 

Regards,

Alok Gupta