NilsvanDoorn Posted March 26, 2010 Share Posted March 26, 2010 Where and how can I configure payment and delivery options for customers? What I mean is defining what carriers are available when choosing certain payment options, like choosing payment method a enables carrier a, carrier b, carrier d and so on. Thanks for any feedback! Link to comment Share on other sites More sharing options...
Ciscowrig Posted March 26, 2010 Share Posted March 26, 2010 It's in the shipping tab in backoffice. If you do a search for shipping, there are many threads explaining how to do this. Some steps can be confusing, if you don't do them correctly you'll get additional dollars being added. I would make sure to search out those threads to see where others have had issues. Link to comment Share on other sites More sharing options...
vezy Posted March 27, 2010 Share Posted March 27, 2010 Try the stiffcarrier and stiff payment module here: http://www.prestashop.com/forums/viewthread/28286/modules_tiers/mise_a_disposition_de_2_modulesYou can use google translate to find out what it's all about - the module is pretty easy to use and does exactly what you are asking above.Good luck! Link to comment Share on other sites More sharing options...
NilsvanDoorn Posted March 28, 2010 Author Share Posted March 28, 2010 Thanks for the response but I'm afraid this is not what I was looking for. What I mean is the order process. The customer can choose the carrier first, then he chooses the payment method. What I have to do is define cartain payment options if the customer chooses the courier, if he chooses as carrier cash-on-delivery (this we do ourselves) the payment method should be cash-on-delivery. It doesn't make sense to choose as carrier cash-on-delivery and then choose as payment method for example bank wire. Thing is that what payment method and carrier options pop up can not be configured via the backend system, as far as I know this is done via PHP- coding. My problem is that I don't know where exactly this PHP- coding has to be changed. The location of the PHP- coding, that's what I'm looking for. Link to comment Share on other sites More sharing options...
vezy Posted March 28, 2010 Share Posted March 28, 2010 Are you sure? : If you use both these modules, you can configure the first so that you have specific delivery for your categories of products and then you can configure which payment options go with which with the second. It does EXXACTLY what you are specifying above. The client choses between the different courrier methods and then you restrict the payment options available to them. Here is the translation of the what the developper explained."stiffmodulecarrier:This module allows you to restrict the choice of payment methods depending on the carrier chosen by the customer.In the shop Palmiloire for example, he can request payment on pickup in our shop. If a delivery service is selected, only payment by credit card is offered.This module is fully configurable in the back office.The modules each contain documentation of installation and use (odt format, sorry for the fans of Ms Office).The installation of the modules may pose some problems because we had to modify files Prestashop core files.It is available for versions 1.2.3 and 1.2.4.With adaptation, stiffcarriercateg, works in 1.1.x.stiffmodulecarrier does not work in 1.1.x because it uses a new feature of 1.2.0.1, restrictions on the payment modules."I think you should download it and take a look at what it does - I myself use the first module and it is very well thought out. You can test run it and at least it will show you which files you need to modify in Prestashop if it doesn't do exactly what you want. The developper has marked where he made the changes in the files so if you use a file comparer tool like PSPad Editor then you can compare your original files with his. I think you could learn alot from it if you know something about PHP coding - and if you do know something, you should be able to get it to do what you want but most of the hard work has already been done for you.If I have still misunderstood your needs, then my apologies... Link to comment Share on other sites More sharing options...
NilsvanDoorn Posted March 28, 2010 Author Share Posted March 28, 2010 Oh, Thank you very much. My apologies, that is what I'm looking for. I had to use Google to translate the text and some weird text came up, and from that text I assumed its not the same. Let me pass that on to a friend who helps with the website and who is more familiar with IT, but thanks again very much for your advice! Link to comment Share on other sites More sharing options...
vezy Posted March 29, 2010 Share Posted March 29, 2010 Ah! Thought so! Glad I could help. Link to comment Share on other sites More sharing options...
D-So-D Posted May 9, 2010 Share Posted May 9, 2010 Hi... I had exactly the same requirement,.And after reading your post and solutions to use stiffmodulecarrier I installed the module.After setting up everything, I was excited to see the flow. only to realize later that the flow was breaking at the last step of order confirmation. error: a blank screen appears adn order is not confirmed, neither gets updated in the admin.I am using 1.2.5 and read later that the module is not compatible with 1.2.5 Q: what should I do now? I want this functionality of displaying selected payment options on the basis of carrier opted by the userThanks in advance Link to comment Share on other sites More sharing options...
vezy Posted May 9, 2010 Share Posted May 9, 2010 Did you install the new version made for 1.3? Be sure to use the older version available at the very beginning of the thread - I have it installed on 1.2.5 and it works fine.You have to have created all your transporters on the BO on prestashop tho' and make sure you make the modifications in files that are explained in the setup guide. (use google translate?)I am joining the files I have installed on my store - Good luck! stiffcarriercateg.zip Link to comment Share on other sites More sharing options...
D-So-D Posted May 9, 2010 Share Posted May 9, 2010 Thanks for a quick reply......The names are so confusing.... actually I am talking about "stiffmodulecarrier" as I mentioned earlier.... so any suggestion on that front?thanks Link to comment Share on other sites More sharing options...
shacker Posted July 12, 2010 Share Posted July 12, 2010 Did you install the new version made for 1.3? Be sure to use the older version available at the very beginning of the thread - I have it installed on 1.2.5 and it works fine.You have to have created all your transporters on the BO on prestashop tho' and make sure you make the modifications in files that are explained in the setup guide. (use google translate?)I am joining the files I have installed on my store - Good luck! In your site, in google chrome the center of the page, go to the right in some links Link to comment Share on other sites More sharing options...
ezakimak Posted August 18, 2010 Share Posted August 18, 2010 I have installed these modules and work fine except one detail, in the blockCart that displays order sumary info while you add products to your cart , it doesnt update the shipping cost if you choose carriers with different fees, it'll always show the default carrier fee.This worked fine before installing the module, has anyone any idea what could be wrong ?thanksPrestashop 1.2.5 Link to comment Share on other sites More sharing options...
ezakimak Posted September 23, 2010 Share Posted September 23, 2010 Thanks for this module, I have installed the version for prestashop 1.3.1 but when I try to create a new carrier I get this error:Notice: Undefined variable: tab in /var/www/vhosts/host.com/subdomains/subdomain/httpdocs/store/controlpanel/tabs/AdminCarriers.php on line 258Line 258 is where the new code where inserted by the module stiffmodulecarrier // XPG 090912 Add Carrier restriction $id_carrier = Tools::getValue('id_carrier'); if (isset($_GET['delete'.$this->table])) { if ($id_carrier == Configuration::get('PS_CARRIER_DEFAULT')) $this->_errors[] = $this->l('Please set another carrier as default before deleting'); else { $result = Db::getInstance()->ExecuteS(' SELECT m.`id_module` FROM `'._DB_PREFIX_.'module` m WHERE m.`name` = \'stiffmodulecarrier\''); if (!$result) $result = false; else { ---------->> $id_module = $tab[0]['id_module']; $result = Module::hookExec('updateCarrier', array('id_carrier' => $id_carrier, 'carrier' => 0), $id_module); } if (!$result) $this->_errors[] = Tools::displayError('an error occurred while deleting object').' '.$this->table.''; } parent::postProcess(); } else { if (Tools::getValue('submitDel'.$this->table)) { $result = Db::getInstance()->ExecuteS(' SELECT m.`id_module` FROM `'._DB_PREFIX_.'module` m WHERE m.`name` = \'stiffmodulecarrier\''); if (!$result) $result = false; else { -----------> $id_module = $tab[0]['id_module']; $result = true; foreach ($_POST[$this->table.'Box'] AS $id) $result &= Module::hookExec('updateCarrier', array('id_carrier' => $id, 'carrier' => 0), $id_module); } if ($result) parent::postProcess(); else $this->_errors[] = Tools::displayError('an error occurred while deleting object').' '.$this->table.''; return $result; } else parent::postProcess(); // End XPG where should be declare that variable ??thanks for your helpHughp.s. this happens also with the version for prestashop 1.2.5 Link to comment Share on other sites More sharing options...
tomzoll Posted May 11, 2012 Share Posted May 11, 2012 Exactly. it doesnt update the shipping cost if you choose carriers with different fees, it'll always show the default carrier fee. I'm using presta 1.4.7.3 and stiffcarriercateg 1.6.5.1 Any Ideas? Greetings from Poland Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now