Adapting Discount Rule HasOneProduct

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi All,

I'm trying to adapt the HasOneProduct plugin to nopCommerce 4.0

The plugin is working in his functionality but still having two problems,

1- The LoadProductFriendlyNames stay waiting... for ever :)
2- The ProductAddPopup insists in go to a about:blank popup

I was reading in Git Hub the changes in DiscountRules.HadSpentAmount for nopCom 4.0 by skoshelev and changed the files in accord with the changes described there, but I not solved till now.

If I can do it, will be one more plugin working for the community.

And sure, I do a upload of the project files if you want.
6 years ago
Ok I added a route in RegisterRoutes and LoadProductFriendlyNames and ProductAddPopup are working.

Only the ProductAddPopup comes with the bellow url and the "an internal error occurred" error message:

http://www.mystore.net/Plugins/DiscountRulesHasOneProduct/ProductAddPopup?btnId=btnRefreshDiscountRequirementProducts67&productIdsInput=DiscountRulesHasOneProduct67_Products
6 years ago
I saw that the url is the exact same on the 3.90

It's just what's missing for the plugin working fine.
6 years ago
Ok, plugin working fine.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.