Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    hyperlocal-marketplace-guide

    Shopware Show Price After Login

    Shopware Show Price After Login: This Shopware add-on allows the store owner to display product price and “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.
    • The customer can not add the products to the cart without login.
    • 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 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.
    • 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, and 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 and run this command –

    2 – To activate the plugin run this command –

    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 Settings > System > Plugins.

    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.

    Now, select the extracted zip folder of the plugin which has to be installed and tap the open button on the pop-up window.

    Step 3: After thatthe uploaded plugin will be visible within the list of plugins On My plugins page. Further, for the newly added plugin, two actions can be performed and that are: Install and Delete.

    The admin will install the plugin by clicking on the Install option in the dropdown.

    Once the plugin gets installed the success message will popup saying “Your plugin has been installed.”

    Step 4: After the installation, the admin has to Activate the plugin by toggling the current Deactivate button to the Activated button position.

    While in the process the admin can see the success message ‘Plugin has been activated‘.

    Activation Process

    After the installation process and plugin configuration if the Show Price After Login icon option is not visible at the left menu grid then run this command to clear the cache:

    php bin/console cache:clear 

    Disabling Product Price – Admin Backend

    The admin can enable or disable show price after login functionality on the products.

    To do so, the admin needs to navigate to the respective product and edit the product. The functionality can also be enabled while creating a new product.

    After that navigate to the section ‘Custom fields‘ section and check the Enable option for ‘Show Price After Login‘ to disable the price of the particular product.

    At the frontend, 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

    At 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 Price of the product and Add to cart button on the product page.

    Price Hide Category Page

    When the customer is not login and if they go to the Category Page, then they will not see “Product Price” & “Add To Cart” Button.

    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 Price of the product and Add to cart button on the Category page.

    Price Hide Search Page

    On the Search page, when a customer searches any product and if that customer is not login, then they cannot see the price of the product.

    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.

    That’s all for the Show Price After Login for Shopware still have any issue feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/

    Current Product Version - 1.0.0.

    Supported Framework Version - 6.x.x

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Table of Content

    Hide Index