Shopware Show Price After Login: This Shopware add-on allows the store owner to display product price and the “Add to cart” button after login. The product price and “Add to cart” button will not display until the customer not logs in Shopware Store.
Features
- The admin can hide the price for any product.
- The price will not show until the customer doesn’t log in.
- At the place of the “Add to cart” button, there is a login button “Login to view price” which redirects to the login page.
- The customer can not add the products to the cart without login.
- Admin can hide the price for any product.
- The price will not show until the customer doesn’t log in.
- The customer can not add the products to the cart without login.
- Admin can select the categories for which the product price should be displayed in the store.
- The admin can set a customized title for “Add to Cart”
- At the place of the “Add to cart” button, there is a login button “Login to view price” which redirects to the login page.
- The code is open-source so it can be easily customized.
Installation Steps – By Running Commands & Manually
Customers will get a zip folder, then they have to extract the contents of this zip folder on their system.
After extracting the WebkulShowPriceAfterLogin folder, the customer needs to transfer this folder to custom > plugins on the server, as shown in the snapshot below.
After the successful transfer of the module folder, you have to run the below-mentioned commands in the Shopware root directory.
1 – Go to your Shopware installation root directory then run this command –
php bin/console plugin:install WebkulShowPriceAfterLogin
2 – After that to activate the plugin run this command –
php bin/console plugin:activate WebkulShowPriceAfterLogin
Manual installation from the plugin manager:
For the manual installation of the plugin follow the steps as mentioned below:
Step 1: In the Shopware Backend go to plugin manager by navigating through Extensions -> My extensions-> Apps after you can find all the installed plugins in it.
Step 2: My plugins page appears where all of the existing plugins are visible. Now, click on the Upload plugin button to add a new plugin to the list.
3) After uploading the plugin zip, the user can see the plugin in the list.
4) Now the user can click on the install icon to install the Shopware show price after login plugin.
5) After the installation of the plugin, the user can click to activate the plugin.
While in the process the admin can see the success message ‘Plugin has been activated‘.
After the installation process and plugin configuration of the Shopware multi-seller plugin icon option is not visible then run this command to clear the cache:
php bin/console cache:clear
Configuration
After installing the show price after login plugin, the user can navigate to Extensions -> My extensions-> Apps.
After clicking on the plugin, the user can see all the installed plugins in the Shopware. The user can click on the “…” icon for the configuration option of the plugin.
Enable Category(s) Setting for All User- The admin can enable or disable the category for all users. If the admin enables this option, the admin can select the desired category from the list.
Allowed category for All Users- In this, you can select the categories in the selected categories product price will be shown to all users.
Add to Cart label: Here, the admin has three options where the admin can enable or disable the add to cart label. The admin can enter the title for the label.
Configuration Priority: The admin can select either Product Configuration or General Configuration. If Product Configuration is selected then the product-based configuration will work else general Configuration will work.
Video Tutorials
Disabling Product Price – Admin Backend
The admin can enable or disable show price after login functionality on the products.
The admin needs to navigate to the respective product>>Specification>>Custom fields. The functionality can also be enabled while creating a new product.
After that navigate to the section ‘Show price after login’ section then check the Enable option for ‘Show Price After Login‘ to disable the price of the particular product.
Product Based Configuration
If the admin has set the configuration priority as “Product Configuration”, then the show price after the login feature can further be customized for specific products.
Enabled – Set this option as Yes for showing prices as well as add to cart button for all users.
Add to Cart Label Enable/Disable – Select Yes, if you want to show a customized label button on the product page for users who cannot view the price.
Title – Enter the name of the button label.
Click the Save button to save your changes.
Frontend
At the front end, the price for the respective product will be disabled, and only after login can the price of the product be seen by a user. Even the Add to Cart button label gets changed to ‘Login to view price‘.
Price Hide Product Page
On the product page, the customer will not able to see Price and add to the cart button. They will see the “Login To View Price” button like the image below.
After the successful login, the customer can see the Price of the product as well as Add to cart button on the product page.
Price Hide Category Page
When the customer is not logged in and goes to the Category Page, they will not see the “Product Price” & “Add To Cart” buttons.
Furthermore, there will be a custom title for the “Add to cart” label as set by the admin.
After the successful login, the customer can see the Price of the product as well as Add to cart button on the Category page.
Price Hide Search Page
On the Search page, when a customer searches any product if that customer is not logged in, then they cannot see the product’s price
After login, the customer can see product prices on the search page.
On the Search page, when a customer searches any product and if that customer login, then they can see product price & Add to Cart button.
When the customer does not log in, they cannot see product prices on the search page.
Price Hide Cart Page
Suppose a user adds a product to the cart for checkout for which presently the admin has not enabled ‘Show price after login’.
Now, while the product is in the cart and if the admin at the same time enables the ‘Show price after login‘ then the user will see a message in the cart to make a login to see the product’s price.
Support
That’s all for the Show Price After Login for Shopware still have any issues feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/ .
Please explore our shopware development services and Quality shopware extensions .
Current Product Version - 1.1.1
Supported Framework Version - 6.1.5, 6.2.0 and 6.2.2
Be the first to comment.