i want to allow vendors to delete their own products from front-end
so just check if the product is created by this user and if yes then show a link in _productbox like this for example <a href="/smth/delete-product-id-4444">delete product</a>
any ideas how to do this without changing the source code?
You can create delete button and load into product box through widget. And display that button only if current login user is vendor and the product is not from other vendor.
Above is the best idea for without touching nopCommerce core code.
You can create delete button and load into product box through widget. And display that button only if current login user is vendor and the product is not from other vendor.
Above is the best idea for without touching nopCommerce core code.
Does creating plugin requires changing the source code?
Well you dont change the core source code but you need to use Visual Studio to create the plugin using source code as a seperate project Then build the solution Then install the plugin
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hai ancora qualche domanda o hai bisogno di aiuto?