Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    4
    Plugin Contributions
    0

    Default Can Attributes determine payment method?

    Hi,

    I am using the Authorize.net AIM and the add on Authorize.net ARB (which we have customized a bit to meet our needs).

    I am wondering if product attributes can be used (or something else within the Admin) to determine which Payment Modules will be available on the payment page?

    The reason I ask is that we have some products that are for single purchase but we have added attributes to make them into Subscription. However, in either case (single purchase or subscription) both payment methods are visible when you get to the checkout.

    We were going to try to add some "if" statements to the payment modules that would look at the attributes of the products but it appear that the payment page doesn't depend on the cart content, so it will always display all payment methods that are activated.

    So, I am wondering if there is a trick to this from within the Admin or if you can point me in the right direction in regards to which files would be involved for making this customization?

    Thanks,
    Pat

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can Attributes determine payment method?

    There are no admin "tricks". You'll have to hard-code your customizations directly, and update them anytime you alter your attribute options later.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Payment Method missing when using product Priced By Attributes
    By sidekick in forum Addon Payment Modules
    Replies: 9
    Last Post: 8 Nov 2011, 02:30 AM
  2. Unable to determine connection method on a link!
    By shalesey in forum General Questions
    Replies: 13
    Last Post: 1 Mar 2011, 10:34 AM
  3. Sub-Attributes possible? aka Top-tier attributes determine lower-tier attributes?
    By JOVE in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Jul 2008, 08:47 PM
  4. Can I restrict so that a Coupon can only be used for one Payment Method?
    By schira in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 7
    Last Post: 11 Jun 2008, 03:53 AM
  5. Unable to determine connection method on a link!
    By mrkrinkle in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 25 Jul 2006, 01:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR