Laravel eCommerce Show Price After Login– Laravel eCommerce Show Price After Login module allows the customer to show the price of the product once they will sign in the website.
This module will provide full control on the visibility of prices and Add to cart button for the store owner. This extension is allowed to show the price only for registered customer. Admin can enable or disable this module from the bagisto admin.
Now this will be helpful for the admin if they don’t want to show the price for the unregistered customer.
Check a brief overview of the plugin –
Feature of Laravel eCommerce Show Price After Login
- Admin can enable or disable show price after log in
- The price will not be shown for non-logged customer
- Customer cannot add product in the cart without login
- Add to cart will not be shown for non-logged customer
- Login to View Price button will be visible instead of Add to cart
- Easy to Configure
- Easy to Install
Installation of Laravel eCommerce Show Price After Login
After you have successfully downloaded the zip file of Laravel ShowPriceAfterLogin, unzip the zip folder and then merge “packages” folders into the project root directory.
Goto config/app.php file and add the following line under ‘webkul packages’
Webkul\ShowPriceAfterLogin\Providers\ShowPriceAfterLoginServiceProvider::class,
Goto composer.json file inside the Bagisto root directory and add the following line under ‘psr-4’
"Webkul\\ShowPriceAfterLogin\\”: “packages/Webkul/ShowPriceAfterLogin/src"
Next, Run these commands below to complete the setup in the bagisto root directory.
composer dump-autoload php artisan vendor:publish --force Press 0 and then press enter to publish all assets and configurations. or Press the number showing ShowPriceAfterLoginProvider and then press enter to publish assets and configurations.
Show Price After Login Configuration
Once you successfully execute the command, you will see the Show Price After Login under the Configuration>>Show Price After Login.
- Admin can enable or disable this module
Laravel Show Price After Login At Front End
Once the Admin will be enabled this module, it will reflect on the front end so that non-logged user not able to see the price.
Product Page:-
Non-logged-in customer is not able to see the price of the product. For viewing price, they have to login first. Once they click on the “Login to View Price” then the signup page will be open.
Search Page:-
This module will be applicable to the search page also where the user can type the product name and search. Then the product will be visible but price and add to cart is not visible. Login to view price button will be visible on the product.
Category Page
This module will be applicable on the category page. The category is a structure of your catalog. By using category customer can easily find the specific product amongst the lot on your e-commerce website.
Customer can view product images only. Once they click on the product they can view all the detail except prices and add to cart.
That’s all for the Laravel Show Price After Login still, have any issue feel free to add a ticket here
Current Product Version - 1.2.0
Supported Framework Version - Bagisto v1.2.0
Be the first to comment.