- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 07:44 AM
Hello Community,
I have two variables in catalog item
1. Vendor - reference to core_company
2.locations - reference to cmn_location
So if i select company and it should be related locations in location reference
for example if select japan and it should be display only japan locations in locations reference variables
Can you please help me how to sort out this.
Thanks,
Nagesh klv
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:00 PM
Hi,
You also need to add the following attribute
ref_qual_elements=vendor
Only then the selected vendor will be passed to the server and fetches the locations accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 12:57 PM
I have added reference qualifier like this
javascript:'company='+current.variables.vendor but its not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:00 PM
Hi,
You also need to add the following attribute
ref_qual_elements=vendor
Only then the selected vendor will be passed to the server and fetches the locations accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:08 PM
By adding this attributes it's fixed the issue.
Thanks for the solution.
Thanks,
Nagesh Klv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:02 PM
add the attribute ref_qual_elements=vendor