Showing posts with label magento extension. Show all posts
Showing posts with label magento extension. Show all posts

Tuesday, September 24, 2019

Categories access for seller Products in Magento 2 Multi vendor

In the Purpletree Magento Multivendor seller can create multiple products and can add any information for the product they want and customers will come to the website and check if that product is enabled then they can buy that product using Website payment method flow and according to products. Products of the website can be in different categories as assigned by admin but when it comes to sellers product then admin has the option to give access for categories admin wants that sellers can add products to that particular category only or different sellers can add products in their respective category only.
First admin has the option to assign global categories in Purpletree Magento multivendor extension settings so that any seller can add products in that particular category only. Means if there are 10 categories in the website and admin wants that any seller can come and add products in only 1–2 categories then admin can give access to only 1–2 categories for all seller so that seller can add products in that particular categories only and not other than that. Admin can set that in Admin > Marketplace > Setting > Configuration > General Configuration > Allow Category for seller.
No alt text provided for this image
The second option admin has is that admin can give access to only particular categories for each seller. In this way, each seller adds products in different categories. Means one seller can add products in Men section only and others can add products in the Women section only. So this way each seller has different options to add their products and admin has only access to assign which category for which seller to assign. Admin can also give access to all categories for all sellers using this option. There is not any restricting but more flexibility.
For admin to assign categories for different sellers Login to admin panel > Marketplace > Manage Seller. Then Select any seller from the list and select Edit Action in front of them.
No alt text provided for this image
Then Click on Assign Category Tab and select category from the tree. Here admin can select any parent for child category to give access to the seller. While giving access please be assure to give access to parent also if you are giving access to any child category so that when the seller adds a product they can see the child category only if there is access to the parent category. Men in the below case if you are giving access to Jackets Category in Men then be assured to give access to Men, Tops, and the Jackets category for the seller to see Jackets category.
After selecting all the categories to be sure to save the data on the click of Save Customer/Save and Continue Edit.
No alt text provided for this image
So on Seller side when seller adds or edit product they can see Jackets categories and can assign as many products they want in that category.
No alt text provided for this image

More details of Multivendor Marketplace for Magento 2 can be found here.

Thursday, August 29, 2019

Install Purpletree Magento Extension using composer




If you have purchased any Magento extension from PurpleTree Magento Multivendor, you can install that extension using the composer. Installing the extension using the composer is an easy process but looks complicated as it involves CLI.
Using CLI (Command Line Interface) you can perform a numerous operation; few of the important operations are as below which every Magento user needs.
  • Installing Magento and Extensions
  • Upgrading the Magento and Extensions to the latest versions.
  • Uninstalling any module or extension.
  • Clearing the cache.
  • Reindexing the indexers of Magento to keep data up-to-date.
  • Deploying Static Content view files.
  • Enable and Disable any modules
  • Compiling the code.
  • Change mode of Magento i.e. developer or production
  • Put the website on Maintenance mode.
  • And many more…
Here we will discuss installing any extension using Composer using CLI in steps.
Note — You must have purchased the extension from PurpleTree Magento Marketplace before proceeding further

Step 1

Please make sure you have installed Magento 2, if not install it using CLI as explained in Install-cli or from Magento Setup Wizard by Downloading the Package.

Step 2

Open SSH Shell Command-Line and Enter Following Command, in the example; we are installing Purpletree Marketplace Extension. So if you want to install any other extension just put their vendor name in place of purpletree and module name in place of marketplace
It will ask for Authentication Credentials for your Magento Marketplace account. For that Login to your account and go to Access Key area — Access Keys/ and copy Public key and Private Key.

Step 3

Create a New Access key if not already there for Magento 2.

Step 4

Enter Your Username as a public key and password as a private key. These are the credentials using which you must have purchased the extension.

Step 5

After Entering the Credentials your extension will be downloaded now you just have to install the extension by running Upgrade Command. And your Extension is ready to use.
php bin/magento setup:upgrade
So Using the Above steps you can easily install any Magento Extension which you have purchased from Magento Marketplace. Just make sure you have used the same credentials when you bought your extension and using it the same on the shell when validating it using the composer.
For the next steps how to configure Purpletree Marketplace extension or any other extension follow their respective documentation.
More details of Multivendor Marketplace for Magento 2 can be found here.