coding advice needed


  • Default avatar
    Techbot    
     12 years ago
    0

    Hi Seyi,

    my giftvoucher system for my client is almost completed. It's a total hack job but it works mostly.

    I've adapted the system so it now uses pdfs instead of the jpgs as vouchers.

    But

    when I'm reading in the coupon code and expiration date I need it to be per item not per complete order.

    So the id in jos_awo_coupon needs to match the order_item_id NOT the order_id

    This means I need to find where and when jos_awocoupon is populated during purchase and change to

    INSERT jos_awocoupon.id = order_item_id

    does this make sense to you? Where is this sql insertion?

    Anything else I might need to be wary of?

    thanks
    Rob
  • Your avatar
    seyi    
     12 years ago
    0

    sending a pm