Item configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 06:43 AM
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 ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 08:49 AM
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