New Zenner
- Join Date:
- Nov 2008
- Posts:
- 3
- Plugin Contributions:
- 0
Post #1 by don_yo
how can i set the payment modules to use linkpoint payment only for the download products and paypal for the other products
Started by don_yo on 4 Mar 2009, 6:44 AM · Views: 1,047
New Zenner
how can i set the payment modules to use linkpoint payment only for the download products and paypal for the other products
Black Belt
DUPLICATE POSTING
Posting the same issue in multiple threads soes not speed up getting an answer and does cause confusion and is frowned upon
Other thread http://www.zen-cart.com/forum/showthread.php?t=121712
Zen-Venom Get Bitten
Oba-san
You can use the function in the functions_lookups.php and test if there are Downloads in the Products with:
////
// check if Product is set to use downloads
// does not validate download filename
function zen_has_product_attributes_downloads_status($products_id) {
So, you can build a function to check the order contents and see if all products are downloads ...
Then if that is true, disable a payment module by setting the:
$this->enabled
to false ...
When that is false, then the Payment module does not show ...
This is a simplified method here ... it would need to be much more detailed for actual use ...
This is not hard to do, it is just time consuming code to write out and test ...
Hope it points you in the right direction ... :smile:
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Tell staff why this post should be reviewed.