Transcription

Magik Hide Price For magento 2 – Installation & ConfigurationMagik Hide Price is the most powerful Magento 2 extension for hiding the product price fromguests, visitors or customers. Magik Hide Price is designed to be very easy to use & configure.Hide price extension enables store owners to apply the global settings on entire category whichcan be disabled for individual products if needed.Version: 2.0.0Features:1. Hide Price & Add to cart button - If configured to hide prices only for guest or visitors, thenproduct price is hidden on store’s front end and a pre defined message is displayed. (Ex. Pleaselogin to see the price!). Only logged in customers can see the prices in this particular case.2. Call for Price - If admin has setup “Call for price” option then all guests, visitors or evencustomers will not be able to see the product price, instead they will see store’s phone number toenquire about the price or admin can show the form to be filled by customer to enquire price ofparticular product. If customer fill up the form the request email will sent to admin email setup inconfiguration & there also a option to send confirmation email to customer.3. Enquire – Admin can only hide add to cart button & show the price to customers, guests orvisitors. For the safety reasons some products may not be sold online so they can be shown theprice with Enquire link which will show popup with contact details of store owner or the form to befilled by customer to enquire about the product purchase as per set by admin in configuration.All the above option are configurable from admin.Installation Instructions:Step 1: Upload hide price extension at the correct path. You will find the path information alongwith the extension release.Step 2: Run the following command.php bin/magento setpup/upgradeStep 3: Flush any cache that you might still have enabled on your magento directory.Step 4: Add below code into your product list.phtml just above product name.Ex:- app/design/frontend/Vendor/Module/Magento Catalog/templates/product/list.phtmlCode :Look for the code below in list.phtml file button type "submit" title " ?php echo block- escapeHtml( ('Add to Cart')); ? "class "action tocart primary" span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button -Copy this code somwhere as backup. you need to place it in below code just inside the comment

!-- Put your original code here which you backed up -- !-- Put your original code here which you backed up -- Example:Replace above code with ?php override hideprice product- getHidepriceCatoverride(); hideprice action product- getProHideprice(); hideprice helper this- helper('Magik\Hideprice\Helper\Data');if( hideprice helper- getExtEnable()){if( hideprice helper- chkHidePriceStatus( product- getId(), product getCategoryIds(), override hideprice, hideprice action) 1){ ? !-- Put your original code here which you backed up -- button type "submit" title " ?php echo block- escapeHtml( ('Add to Cart'));? " class "action tocart primary" span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button !-- Put your original code here which you backed up -- ?php }}? Step 5 :Add following code in theapp/design/frontend/Vendor/Module/Magento d.phtmlapp/design/frontend/Vendor/Module/Magento Catalog/templates/product/list/items.phtmlafter item- isSaleable() functionLook for the code below in grid.phtml file ?php if ( item- getTypeInstance()- hasRequiredOptions( item)): ? button class "action tocart primary"data-mage-init '{"redirectUrl":{"url":" ?php /* @escapeNotVerified */ echo block- getAddToCartUrl( item) ? "}}'type "button" title " ?php /* @escapeNotVerified */ echo ('Add to Cart') ? " span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button ?php else: ? ?php postDataHelper this- ; postData postDataHelper- getPostData( block- getAddToCartUrl( item),['product' item- getEntityId()])? button class "action tocart primary"

data-post ' ?php /* @escapeNotVerified */ echo postData; ? 'type "button" title " ?php /* @escapeNotVerified */ echo ('Add to Cart') ? " span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button ?php endif; ? Copy this code somwhere as backup. you need to place it in below code just inside the comment !-- Put your original code here which you backed up -- !-- Put your original code here which you backed up -- Replace above code with ?php if ( item- getTypeInstance()- hasRequiredOptions( item)): ? ?php override hideprice product- getHidepriceCatoverride(); hideprice action product- getProHideprice(); hideprice helper this- helper('Magik\Hideprice\Helper\Data');if( hideprice helper- getExtEnable()){if( hideprice helper- chkHidePriceStatus( product- getId(), product getCategoryIds(), override hideprice, hideprice action) 1){ ? !-- Put your original code here which you backed up -- button class "action tocart primary"data-mage-init '{"redirectUrl":{"url":" ?php /* @escapeNotVerified */ echo block- getAddToCartUrl( item) ? "}}'type "button" title " ?php /* @escapeNotVerified */ echo ('Add to Cart') ? " span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button !-- Put your original code here which you backed up -- ?php }}? ?php else: ? ?php postDataHelper this- ; postData postDataHelper- getPostData( block- getAddToCartUrl( item),['product' item- getEntityId()])? ?php override hideprice product- getHidepriceCatoverride(); hideprice action product- getProHideprice(); hideprice helper this- helper('Magik\Hideprice\Helper\Data');if( hideprice helper- getExtEnable()){if( hideprice helper- chkHidePriceStatus( product- getId(), product getCategoryIds(), override hideprice, hideprice action) 1){ ?

!-- Put your original code here which you backed up -- button class "action tocart primary"data-post ' ?php /* @escapeNotVerified */ echo postData; ? 'type "button" title " ?php /* @escapeNotVerified */ echo ('Add to Cart') ? " span ?php /* @escapeNotVerified */ echo ('Add to Cart') ? /span /button !-- Put your original code here which you backed up -- ?php }}? ?php endif; ? Step 5: Once all the files, folders are copied to the appropriate directory just log into your store’sadmin panel. You will see a Tab “Stores” in Admin bar. Click on “Settings/Configuration” to setup require Magik Hide Price extension.Following are the screenshots of our demo server -Go to Admin Stores Settings Configuration Magik Hide Price SettingThis tab will display all the Magik Hide Price setting option.Following are the screenshots of our demo server After Installation login to your Admin Panel System Settings screen will be -Admin Panel:

Override global category settings for particular productFrondend View :-

Call for Price Front-end View :-Enquiry Form Front-end View :-

Login Message Front end view:-Product Support PolicyFree support period for one Product totals 6 months starting from the purchase date of theProduct. The term of free support can be prolonged when a Product update is purchased byconfirming and paying extra for prolonged support.Support team shall provide to Customer, without additional charge, all reasonably necessarywritten consultation requested in connection with use and operation of the Product or anyproblems therewith, within above-stated period of time.Free support does not include achieving compatibility with third party solutions and is not providedif the Product has been customized. In cases when extraordinary support efforts will be requiredCustomer will be offered paid support services. Contact us for paid support services.Support team preserves the right to ignore any appeals or requests, not falling under the presentconditions. All information, acquired from Magik support team is advisory only and shall not createany warranty for Magik.Service Level AgreementMagik will provide support services via email ([email protected])

Product UpdatesMagik will timely release the information about new updates. It is Customer’s responsibility tocheck for updates availability. Customer can claim updates via Support department.All updates can be used only as a replacement of a previously purchased Product, not as aseparate copy of a Product.Magik reserves the right to determine which products will be updated and when. Magik reservesthe right to discontinue product updates (if necessary).Updates shall be available to the Customer free of charge for 6 months from the original purchasedate. After that an update would cost 75% of the current product price.Customer is not obliged to purchase updates every 6 months. The decision about whether topurchase an update and when is solely customer’s right. Customer can continue using the Productafter 6 months from the original purchase date and can contact Magik for paid support services.RefundsCustomer may demand a refund for any Magik product within a 30-day period from the date ofpurchase. Any clarification of Customer's refund claim within the 30-days period is optional.Refund requests submitted after the expiration of the 30 days period shall not be accepted.Refunds of money charged for custom installation service shall not be issued.Magik considers its Product refunded when the money has been withdrawn from its account. If nonotification of non-acceptance has been received from client within 10 bank days, product istreated as refunded. The Customer is obliged to uninstall the product before requesting the refundand terminate all its copies and derivatives within the 5 bank days starting from the day ofinitiation of money refund process.Magik is not responsible for any damages neither with Magento running, nor with business profitsor information occurring due to enforced manual deleting of refunded Product or its derivatives.Disclaimer of ResponsibilityMagik Products are not stand-alone solutions and require Magento to be installed primarily with avalid Magento License. Magik does not guarantee for its Product to operate correctly on anyMagento solution, either modified or non-modified.Magik does not bear any responsibility for damages or incorrect running of the Magento solution,occurred due to installation or utilizing of Module. Magik disclaims any accountability for content ofa site on which the Product is installed. Magik is not liable to Customer or any third party for anydamages including, but not limited to, loss of business or business profits, loss of businessinformation due to using Magik Products. By accepting this License Agreement Customeracknowledges to use the Product at own risk and has clear understanding of responsibility for anydamage to own computer system and data.Changes in ConditionsMagik reserves the right to modify these agreement terms at any time. It is solely Customer'sresponsibility to inquire about any changes made to the present Agreement.

Magik Hide Price For magento 2 - Installation & Configuration Magik Hide Price is the most powerful Magento 2 extension for hiding the product price from guests, visitors or customers. Magik Hide Price is designed to be very easy to use & configure. . Support team shall provide to Customer, without additional charge, all reasonably necessary