glennlawr wrote:Hi Franklin,
I am interested in using your mod. I still have all my original install files on my site so I plan to just replace with yours. However I am a bit unsure about a couple of the files. See below. The ones in bold are the ones I am unsure about.
- ProductAttributes.ascx.cs - from "Modules" - No problem here, will just replace mine with yours.
- AttributeControlTypeEnum.cs - There is no "Libraries" folder on my website. I know this is in the source files, but I don't want to go near them! What can I do here?
- NopPrefilledDropdown.cs - Does this new file go in the bin folder?
- Nop.BusinessLogic.dll - No problem here, will just replace mine with yours.
- Nop.Controls.dll - No problem here, will just replace mine with yours.
- NopCommerceStore.dll - I do not see this file anywhere. Should I just put it in the bin folder?
- NopCommon.dll - No problem here, will just replace mine with yours.
Lastly, if I just do a replace do I need to also put the .pdb files?
Any help would be much apreciated...
First of all, what version are you using? I made this control in 1.90 and don't know if it will work with any other version - it may, I just have not tested it.
If you don't want to go near the source files then all you should have to do is put the .dll files in your bin folder. They are updated with the control in them. The other files were included in case someone has already made changes to their source code so they could integrate the new control into their custom code. If you replace the already compiled .dll files, then you don't have to worry about the .cs files at all. All of the information in the .cs files is compiles into the .dlls. So just replace the .dlls in the bin folder and ignore the .cs files.
I don't know why you don't have NopCommerceStore.dll, it should be in your bin folder. The .pdb files are "program debug files" and are only needed for debugging information (I believe)- I would suggest putting them in your bin folder and replacing the ones that are there - if they are there.
Once you replace the .dll files, you should be able to go to your site and have the new control available in the drop down list that is in the admin section where you add product variants. Let me know if this works...