Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: show a payment method if...  (Read 6169 times)

Offline illusion

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
show a payment method if...
« on: January 01, 2013, 05:18:06 PM »
how can ONLY show "cash on delivery" payment method on checkout/payment page if shipping is "pickup from store"?

thank you for answer

Offline Amarbir

  • Newbie
  • *
  • Posts: 36
  • Karma: +4/-1
    • View Profile
Re: show a payment method if...
« Reply #1 on: January 02, 2013, 03:06:25 AM »
how can ONLY show "cash on delivery" payment method on checkout/payment page if shipping is "pickup from store"?

thank you for answer

Well,
     I Am Grilling My And Your Beloved Abantecart Admin Here On This Same Issue -> http://forum.abantecart.com/index.php/topic,569.msg1773.html#new

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: show a payment method if...
« Reply #2 on: January 02, 2013, 07:52:44 AM »
Unfortunately, there is no relationship between shipping and payment in the settings. This has to be custom programmed.

You can check controller that process display for payment to add logic /storefront/controller/pages/checkout/payment.php

We are considering to add something that will help in this configuration.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Amarbir

  • Newbie
  • *
  • Posts: 36
  • Karma: +4/-1
    • View Profile
Re: show a payment method if...
« Reply #3 on: January 02, 2013, 09:35:40 AM »
Unfortunately, there is no relationship between shipping and payment in the settings. This has to be custom programmed.

You can check controller that process display for payment to add logic /storefront/controller/pages/checkout/payment.php

We are considering to add something that will help in this configuration.

Well,
      No Manual Payment Methods Are There .I Will Explain This .Mostly All Shipping modules are ok  .Take This Example .

Customer A Wants To place a order .He adds a item in his cart and selects "Local Pickup From Store " ,Then he moves to payment method there he is stuck cos he has one COD option and one cheque / moneyorder option .He wants to pay cash when he walks in the shop .Might Be a Module Called " Cash Payment " , One Module " Cash Deposit /Online Transfer To Bank " Or Just Called "Bank Wire Transfer " Is There .I Think If You can explain us or give us the code for the cheque / moneyorder module we can rename that as both these modules and use it .this is what i was explaining earlier too .Also i would like to ask can i add a module two times .For example i wanna use two diff courier systems can i add weight based shipping two time how .

 

Powered by SMFPacks Social Login Mod