• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.



#1 Posted : Wednesday, March 13, 2019 4:48:39 AM(UTC)

Rank: Member

Joined: 2/10/2017(UTC)
Posts: 62
Location: Nashik, Maharashtra

Thanks: 6 times
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.
#2 Posted : Wednesday, March 13, 2019 8:18:21 AM(UTC)

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,354
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 158 time(s) in 153 post(s)
Sorry, we do not provide technical support for custom development. One tip comes to mind when reading your message, though. Use the ClientScriptManager.RegisterClientScriptBlock method to add JS to the page and ensure that only one instance of the code is added.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2021 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012