AbanteCart Community

AbanteCart Development => Development Help Needed => Topic started by: Ollie on December 03, 2014, 08:33:59 AM

Title: Location of Specific Forms
Post by: Ollie on December 03, 2014, 08:33:59 AM
Can somebody tell me the location of the coupon form that appears in the cart template and payment template? I also need to know the location of the payment DIV in the confirmation template. These templates are pulling information from somewhere else and I need to know the location so I can make some edits.
Title: Re: Location of Specific Forms
Post by: abantecart on December 03, 2014, 02:29:52 PM
https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default_html5/template/pages/checkout

cart.tpl

and

payment.tpl
Title: Re: Location of Specific Forms
Post by: Ollie on December 03, 2014, 11:55:47 PM
I know the location of both templates, but thank you anyway. My question is about something specific in these templates regarding the coupon form. Where is this form located? Here's the code I'm talking about.

<?php
   if ($coupon_status) {
      echo $coupon_form;
   }
    if ($balance) { ?>

My second question is about the payment form within the confirmation template. I want to <label> code specific fields of the payment section. The payment section consists of card number, expiration date, etc. Where is this information coded? Where is it coming from?

<div id="payment"><?php echo $payment; ?></div>      
         <?php echo $this->getHookVar('payment_post'); ?>