Search the Community
Showing results for tags 'enquiry'.
-
Hello, Lately, i had some jobs with some clients that want a shop where they will only have a product enquiry button. So i had the idea to create a module which can handle this job. The module is based on sendtofriend, and uses a popup window to open the enquiry form. To make this module work you need to change the add to cart button in the product.tpl with those lines : For example if you have this code as add to cart : <p id="add_to_cart" {if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}style="display:none"{/if} class="buttons_bottom_block"> <span></span> <input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /> </p> change it with : {if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} {hook h='displayEnquiryButton'} {else} <p id="add_to_cart" class="cta-button"> <input type="submit" name="Submit" value="{l s='Add to cart'}" class="button" /> </p> {/if} Also you can customize the button that will be displayed in the enquiryproduct-extra.tpl If you want anything about this module feel free to contact me. For latest Update Please check this link http://www.getnewtheme.com/enquiry-product-prestashop/ Kind regards AQEL Y. enquiryProduct Module.zip
- 20 replies
-
- 1
-
-
- enquiry cart
- cart
-
(and 4 more)
Tagged with:
-
Hai my friends i want to add an enquiry button for each of the products , that button will enable a contact form with respect to the particular product,that'smy main needs, can anyone give me a perfect solution and i need some extra field to the contact form like phone number.i am using the latest version of prestashop 1.6.i need this option enabled when i use the shop in Catalog mode.Thanks in advance