bloodmusic Posted March 5, 2016 Share Posted March 5, 2016 (edited) Hi!I have three items in my shop which should be available with bank wire payment only (no PayPal) and the rest of the items in the shop can be available via PayPal or bank wire.Anyone know the best way to set this up so those three items are NOT available with PayPal while the rest of the shop is?Just for reference I am using PrestaShop 1.4 (yes, I know ... well out of date, I will update it later this year).Does anyone know the best way to set this up?--Additionally, I have two different PrestaShops (based on zone) - one of which is for USA customers and charges in USD. The three items that should be available with bank wire only on that USA shop should be in the EUR denomination, while the rest of the shop stays in USD.Anyone know the best way to implement this to isolate currency for just three items?--Thanks for any responses! I have a launch going live in a few days and need to try to figure this out ASAP, but I am having trouble wrapping my brain around how to make these two functions work. Edited March 5, 2016 by bloodmusic (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 5, 2016 Share Posted March 5, 2016 I am not sure it works on 1.4, but you can adapt this to target specific product IDs (instead of virtual products) and disable ithttp://nemops.com/prestashop-virtual-products-specific-payment/#.VtqvePk4Hmg Link to comment Share on other sites More sharing options...
bloodmusic Posted March 5, 2016 Author Share Posted March 5, 2016 Interesting! It says it can work for older versions too if modifying core files. So, perhaps it does work. But the products I'd like as bank transfer only are not virtual. Any idea how to code for these?Maybe I can do it by price, as the bank wire only items are of a much higher price? Any idea how to code for that by price ... ?Or maybe I can try to set these three up as virtual products which delivers just a small 'thank you' note file as the 'virtual item,' but in reality I manage those items by hand (it's a very limited product, so it won't be too much effort). Any thoughts appreciated on how to recode for my specific purpose. I tried searching on this before and never found the solution. Link to comment Share on other sites More sharing options...
bellini13 Posted March 5, 2016 Share Posted March 5, 2016 instead of looking at vritual products, change the logic so that it checks your product ids exist in the cart. I know I have already answered this question, so I'm not going to spend time doing it again here. Feel free to search the forums more and you should find the solution Link to comment Share on other sites More sharing options...
bloodmusic Posted March 5, 2016 Author Share Posted March 5, 2016 (edited) OK sorry, I didn't find the answer when searching several times. I don't know how to code, I only know how to modify the files. Any chance you can just tell me the code to swap out?I'm assuming it's this line: if (!$product['is_virtual']) But any idea what to change it to to identify the products by number? I'm sure if I knew the right code, I could take care of the rest. Thanks in advance! Edited March 5, 2016 by bloodmusic (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted March 6, 2016 Share Posted March 6, 2016 About 4 seconds doing a google search, you would find this https://www.prestashop.com/forums/topic/321455-specific-payment-method-on-selected-products/ your welcome Link to comment Share on other sites More sharing options...
bloodmusic Posted March 6, 2016 Author Share Posted March 6, 2016 Huge thanks! Going to try to implement this tomorrow. 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