Hello Team,
We are using BVC2017. We are using Product modifier functionality of BVC while set up product at admin side so that modifier will come as selection part on Product details module.
We have done customisation on product modifier module as follows:"www\bvmodules\productmodifiers\drop down list\view.ascx"
- We have 3 modifiers namely Fabric, DacronWrap,Welting. We have changed in "Variant.ascx" for changing modifier id dynamically
- For DacronWrap,Welting modifier BVC inbuilt functionality is used i.e. dropdown is displayed on Product details module. But for Fabric modifier we are display image button and hide the modifier dropdown for fabric.
- On click of fabric modifier i.e. Image button we are opening custom user control in popup on which we are showing/selecting multiple fabrics and once user selected fabric from popup, we have set that value to modifier value which will use on product details module.
- Now issue is as view.ascx render multiple time (3 times) for each modifier,our custom popup opening logic is repeated. ie. our OpenTestPopup() js function for popup open get repeated
- When we click on fabric image control, it will open popup with dynamic id of "Last modifier" setup on product admin module.Hence, on our custom user control data is not displayed as modifier Id,control ID is not render properly.
- If we set up "Fabric" modifier at last position, then it will work properly. Data will display properly
- Here OpenTestPopup() function render thrice for each modifier, but when we click on Fabric Image button it will not execute for specific fabric controlID.
Please refer :Modifier_View_ascx.txt
Could you please help us to implement this functionality.? Can we customise code like OpenTestPopup() function render only one time and which hold that fabric ID controls. Please suggest.
Thank you in Advance !!!
File Attachment(s):
Modifier_View_ascx.txt
(5kb) downloaded 1 time(s).You cannot view/download attachments. Try to login or register.