| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Payment method question | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() is it possible to have check as payment method only if a product from a certain category is in the cart?
__________________
xcart 5.1.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Maybe if you look at the smarty variables available to you on that page, you will see the products array. If so - you can do an if-than to make a payment method available based on the product. Does this thread help? It is for shipping , but if that array is there, you could do the same for payment methods.
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() ok thanks, I'll try it out.
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Yes you have to enable the payment method and them use and if statement to hide it for all but that product. Product info is available throughout the cart I think
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|