$20 for Prestashop 1.3 and higher payment modification

Discussion in 'Programming' started by Petan.S, Jan 23, 2011.

  1. #1
    Hi guys,

    i need some help to modify payment modules and maybe cart a bit.
    I offer $20usd for modification. Pay via Paypal

    What i am looking for:
    If will be add product in to cart with some Reference code starting with words (for example: ABC), then after click on checkout system show only payment option for bank transfer and paypal. Cash on delivery or another payment option will be hidden.
    If someone add product with Ref. code and one without Ref. code, checkout show only payment option for product with Ref. code.

    Idea:
    I think the best way to do this is to edit the payment modules, and in the hookPayment function, add a check to see if any of the products with Reference code starting with words (for example: ABC) are in the cart, if they are, then return without loading the payment method (Cash on delivery).

    I hope that the offer is ok for corresponding work done.
    Thank you :cool:
    Petan
     
    Petan.S, Jan 23, 2011 IP
  2. Petan.S

    Petan.S Active Member

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Problem SOLVED on a different forum.
     
    Petan.S, Jan 28, 2011 IP