OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Put paypal on only 1 item?
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Payment Modules > PayPal
boostanddestroy
IS it possible to put paypal (any paypal module) on only one item (or 2). If so could you point me in the correct direction.

Thank you~
Chris.
boostanddestroy
anyone?
burt
It's not so difficult - have a look a the paypal module to find out how to turn it on and off.

HINT: $this->enabled = true; $this->enabled=false;

Set whichever one is correct based upon the cart contents.
boostanddestroy
QUOTE (burt @ May 12 2008, 02:51 PM) *
It's not so difficult - have a look a the paypal module to find out how to turn it on and off.

HINT: $this->enabled = true; $this->enabled=false;

Set whichever one is correct based upon the cart contents.



I am on the paypal module right now. And no i cannot just make it show up for one or two items. I have over 800 items and i only want paypal on 3 of the items on my item list.

Thank you.
satish
// get cart products in an array
//chek in array if there are some other product id.If even one
disable it and break the loop


Satish
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.