order form

yotebote

Avatar: yotebote

2012-12-08 18:34

First I'm sorry about my bad english

I use Quick.Cart.Add_v5.2 free
In order form i do not need a "Delivery and payment" section
Can anyone tell me how to remove it

thanks

» Quick.Cart v5.x

N. Pandev

interkob

Avatar: interkob

2012-12-08 22:35

One of methods.

1) Create in admin one shipping method and one payment method with price 0.

2) Open templates/default/orders_step-2.tpl and change

<fieldset id="shippingAndPayments" style="display:none;">


To

<fieldset id="shippingAndPayments" style="display:none;">



3) Open core/orders.php and change

 '<option value="'.$iShipping.';'.$iPayment.';'.$fShippingPaymentPrice.'">'.


To

 '<option selected="selected" value="'.$iShipping.';'.$iPayment.';'.$fShippingPaymentPrice.'">'.



***
Also you should remove some lines related with Shipping and Payment from orders_step-2.tpl and orders_step-3.tpl ...

interkob

Avatar: interkob

2012-12-08 22:37

2) Change this one <fieldset id="shippingAndPayments"> to the next one. It hides the Delivety fields.

yotebote

Avatar: yotebote

2012-12-09 19:32

Hello
Thanks for the reply

Method 2 I do not understand it :( , so I used the first method for removing paymand and delivery secton and it works
I am a beginner and do not understand what else I need to do:
"Also you should remove some lines related with Shipping and Payment from orders_step-2.tpl and orders_step-3.tpl ...

Please tell me what should I do

Would that eliminate the line "Delivery and payment" in section "Ordered products" in the "order form"?
If not how do I remove this line?

interkob

Avatar: interkob

2012-12-09 20:06

That was not a method 2 - that was second step. I made a mistake in my first post.

Yes, I had in mind that lines. So open orders_step-2.tpl and delete

<tr class="summaryProducts">
        <
th colspan="3">
          
$lang[Summary]
        </
th>
        <
td>
          
$aData[sProductsSummary]
        </
td>
      </
tr>
      <
tr class="summaryShippingPayment">
        <
th colspan="3">
          
$lang[Shipping_and_payment]
        </
th>
        <
td id="shippingPaymentCost">
          
0.00
        
</td>
      </
tr>



Open orders_step-3.tpl and delete

<tr class="summaryProducts">
        <
th colspan="3">$lang[Summary]</th>
        <
td>$aData[sProductsSummary]</td>
      </
tr>
      <
tr class="summaryShippingPayment">
        <
th colspan="3">$lang[Shipping_and_payment]: <strong>$aOrder[mShipping], $aOrder[mPayment]</strong></th>
        <
td id="shippingCost">$aOrder[sPaymentShippingPrice]</td>
      </
tr>



and

$aData[mShipping] ($aData[mPayment]) = $aData[sPaymentShippingPrice$config[currency_symbol]

yotebote

Avatar: yotebote

2012-12-09 21:45

Thanks

It's ok

Back to top
about us | contact