- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 12-10-2018 08:25 AM
To Remove "Add to Cart" Button :
Step 1:- Clone "Widget - SC Order Guide" [widget-sc-order-guide-v2] (So that you can edit the Widget)
Step 2:- In "Body HTML Template" section go to "Line 220" and Locate the following Tag
<button ng-disabled="submitted" name="add_to_cart" ng-click="triggerAddToCart()" class="btn btn-default pull-right m-r m-l m-r-6">${Add to Cart}</button>
Step 3:- Comment the above line code.
<!-- <button ng-disabled="submitted" name="add_to_cart" ng-click="triggerAddToCart()" class="btn btn-default pull-right m-r m-l m-r-6" ng-if="options.show_add_cart_button == 'true'">${Add to Cart}</button> -->
It will not effect any other functionality but ,this will remove the button from the order guide.