yazidaqel Posted February 13, 2014 Share Posted February 13, 2014 (edited) 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 Edited April 8, 2014 by yazidaqel (see edit history) 1 Link to comment Share on other sites More sharing options...
bretweb Posted March 9, 2014 Share Posted March 9, 2014 (edited) Hello I'm using presta V1.5.6.2 I have tried to install but nothing is dispay into module list can you tell me is this module doesnt need to be installed ( and just need to fork the product page ?) can you tell me if the enquiry module will work ? ( just as standard enquiry module not to remplace add to cart) all those I have tested doesn't sent the email and not confirm to the visitor if his mail is gone Edited March 9, 2014 by bretweb (see edit history) Link to comment Share on other sites More sharing options...
yazidaqel Posted March 9, 2014 Author Share Posted March 9, 2014 (edited) Hello, Thanks for your question. As you can notice in the code i've mentionned in the first post. the module work with a custom hook {hook h='displayEnquiryButton'} So you need to add this wherever you want to display the module. Also there is something else. you need to cutomize the email template depending on your needs. You'll find them under emails directory. Please Ask me if you need something else. Kind regards. Edited March 9, 2014 by yazidaqel (see edit history) 1 Link to comment Share on other sites More sharing options...
isra.es Posted March 26, 2014 Share Posted March 26, 2014 hi perfect module but when i send a mail: always a alert: send enquiryYour e-mail could not be sent. Please check the e-mail address and try again. Link to comment Share on other sites More sharing options...
yazidaqel Posted March 26, 2014 Author Share Posted March 26, 2014 Hello, Thanks for your question. the mail function is it enabled on your server or not. Please if you have firbug (mozilla firefox) -> network -> xhr go to this tab and send me the response that you have. Or using Chrome -> network. So i can see the error. i've tested the module many times before posting it. And here another version of this module that can be used as a quote product: http://www.getnewtheme.com/enquiry-product-prestashop Kind regards. Link to comment Share on other sites More sharing options...
isra.es Posted March 26, 2014 Share Posted March 26, 2014 you can see the module here: http://industriadelenvase.com/es/vidrio/21-tarro-b-4-oz.html click " MAS INFORMACION AQUI" Link to comment Share on other sites More sharing options...
yazidaqel Posted March 26, 2014 Author Share Posted March 26, 2014 Okkey. i'll make some changes and update the module by tomorow morning. Hope that you can wait Link to comment Share on other sites More sharing options...
prestashopninja Posted March 26, 2014 Share Posted March 26, 2014 Hello, Welcome to the forums and thank you for your contribution. Perhaps you didn't discover yet; there is a whole section in this forum dedicated to free modules and the real fun is there Link to comment Share on other sites More sharing options...
yazidaqel Posted March 27, 2014 Author Share Posted March 27, 2014 Hello, The module now is updated. please test it and send me your feedbacks . Kind regards 1 Link to comment Share on other sites More sharing options...
isra.es Posted March 27, 2014 Share Posted March 27, 2014 hello yazidaqel my english is not very good. your new update have the same error send enquiryYour e-mail could not be sent. Please check the e-mail address and try again please canyou check it ? http://industriadelenvase.com/es/apicultura/169-aceite-de-linaza.html The link to enquiry is over de "CANTIDAD" very thanks I clean Cache and smarty and i I deleted the old plugin an install the new but..................... Link to comment Share on other sites More sharing options...
yazidaqel Posted March 28, 2014 Author Share Posted March 28, 2014 (edited) Hello, Sorry if i wasn't able to response yesterday. did you check the email where you want to send the enquiry?? Here you can find an implementation of this module If the problem persist please send me your ftp and backoffice access via private message. Kind regards. Edited March 29, 2014 by yazidaqel (see edit history) Link to comment Share on other sites More sharing options...
Sanjeev Naroliya Posted June 12, 2014 Share Posted June 12, 2014 Hello AQEL, I installed "Enquiry Product" module at Prestashop 1.6 version but when clicking the "Product Enquiry" button its not opening fancybox and giving this error message " You already have the maximum quantity available for this product." Any idea? Thanks! Link to comment Share on other sites More sharing options...
yazidaqel Posted June 12, 2014 Author Share Posted June 12, 2014 Hello Sanjeev, Sorry for the delay can send me the link of your website so i can see where did you add the code. i'm working on adding some powerfull things to the module it will be updated the next week. Kind regards. AQEL Y. Link to comment Share on other sites More sharing options...
Add Makes Posted July 18, 2014 Share Posted July 18, 2014 (edited) can i edit enquiry cart in prestashop 1.6 theme i tried but not found poroduct.tpl where it is? Edited July 18, 2014 by addmakes (see edit history) Link to comment Share on other sites More sharing options...
yazidaqel Posted July 18, 2014 Author Share Posted July 18, 2014 Hello, Sorry for the delay, i wasn't able to respond this morning. honnestly i didn't test the module in the latest version, let see what i can do for you. the product.tpl file can be found in /themes/your_current_theme/product.tpl Kind regards. Link to comment Share on other sites More sharing options...
Add Makes Posted July 21, 2014 Share Posted July 21, 2014 Hi, yazidaquel <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> this code i did not found in prestashop1.6 default thememe in product.tpl there i found two codes which is looking same but when i replace the old code by your code my products became invisible the two codes are like that first code is <p id="add_to_cart" class="buttons_bottom_block no-print"> <button type="submit" name="Submit" class="exclusive"> <span>{l s='Add to cart'}</span> </button> </p> second code is <a class="exclusive button ajax_add_to_cart_button" href="{$link->getPageLink('cart', true, NULL, "qty=1&id_product={$accessory.id_product|intval}&token={$static_token}&add")|escape:'html':'UTF-8'}" data-id-product="{$accessory.id_product|intval}" title="{l s='Add to cart'}"> <span>{l s='Add to cart'}</span> </a> i tried to make change in first code replace by your code but products became invisible can you please help me out for prestashop 1.6 default theme this is a humble request Thanks Link to comment Share on other sites More sharing options...
dartist Posted September 16, 2014 Share Posted September 16, 2014 Thaks all,... After hours of work I've mnaged to make it functional in 1.609 The main problem is in Apostrophe here {hook h='displayEnquiryButton'} These are a bit narrow,... it's more obvious in DW and AQUEL's website Lines 232-235 {l s='Print'} </a> </li> <li class="sendtofriend"> {hook h='displayEnquiryButton'}</li> I've placed it under "print" button and add a class from "sendtofriend" with envelope icon For example at my website> http://conteart.com/en/oil-paintings/21-by-the-seaside-oil-painting.html I've changed also telephone instead of that in mail and front office "Country" is shown Module has a problem with code... Customer Message is not Shown in the eMail! I've managed to correct that as well Regards, Darko Link to comment Share on other sites More sharing options...
Milano2 Posted October 4, 2014 Share Posted October 4, 2014 Hi Darko. Could you shere this working module for PS 1.6.0.9? Thanks Link to comment Share on other sites More sharing options...
effectdesign Posted February 24, 2015 Share Posted February 24, 2015 Hello.I need a module for PrestaShop 1.6.0.9?Do you have someone like this version of the module for Prestashop?If you have to pay for the modificationRegardsLuke Link to comment Share on other sites More sharing options...
[email protected] Posted February 26, 2015 Share Posted February 26, 2015 Hi I have teste the modelle on prestashop 1.6 but when I try to send a enquiry the modelle says to me: SEND ENQUIRYYour e-mail could not be sent. Please check the e-mail address and try again. There's a solution for this error? Thank you much Link to comment Share on other sites More sharing options...
Teapot Creative Posted October 15, 2015 Share Posted October 15, 2015 Hi This module/addon may help and now available, compatible with the latest versions of Prestashop and FULLY supported: Find it here: Product Enquiry Pro Product Enquiry Pro will feed all your product enquires to Prestashop's customer service section (Customers/Customer Service). So all replies can be answered via Prestashop's back office customer messaging system, not your external e-mail client. Keeping all your product enquiries in one place.! Each product enquiry will contain the details of the product that the customer is asking about, within the message saved in your BO Customer Service section. As an added feature, the enquiry button on the product page can be styled to your liking via the module configuration page. Change the button colour, shape and design in just a few clicks. Alternatively you can use Prestashop's default Bootstrap button design. Take a look at our demo and install video today.. Link to comment Share on other sites More sharing options...
Recommended Posts