News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

urgently help needed.............

Started by ajithkumarts, June 12, 2012, 17:16:06 PM

Previous topic - Next topic

ajithkumarts

i have a problem.......

after user press confirm order button ....it display the " Thank you for your order! " ...and some other deatils.i want place a button here .....with some code..

so i edit the  components/com_virtuemart/views/cart/tmpl/order_done.php  file and place button...so button are fine..

code for the button is given below...

form action="https://www.ccavenue.com/shopzone/cc_details.jsp" method="post" >
           
            <input type="hidden" name="Amount" value="AMOUNT">
            <input type="hidden"name="Merchant_Id" value="xxxxx">
            <input type="hidden" name="billing_cust_name" value="xxxxx">
            <input type="hidden" name="billing_cust_address" value="xxxxxx">
            <input type="hidden" name="billing_cust_country" value="xxxxxx">
            <input type="hidden" name="billing_cust_tel" value="xxxxxx">
            <input type="hidden" name="billing_cust_email" value="xxxxxx">
            <input type="hidden" name="billing_zip_code" value="">
            <input type="hidden" name="billing_cust_state" value="">
            <input type="hidden" name="billing_cust_city" value="">
            <input type="hidden" name="billing_cust_notes" value="">
            <input type="hidden" name="delivery_cust_name" value="">
            <input type="hidden" name="delivery_cust_address" value="">
            <input type="hidden" name="delivery_cust_tel" value="">
            <input type="hidden" name="delivery_zip_code" value="">
            <input type="hidden" name="delivery_cust_state" value="">
            <input type="hidden" name="delivery_cust_city" value="">
            <input type="submit" value="Submit">
           

when the user press the submit button total amount and red marked fields need here.......how to get at least total amount variable  in order_done.php page..

pls help me urgently...............

ajithkumarts


seyi

the variable $this->cart should contain the totals.  Or maybe its empty by then.  run this php code on the page to see what it contains:

<?php
echo '<pre>'.print_r($this->cart,1).'</pre>';
?>


Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

ajithkumarts

very very thanks for ur replay....

first statement show an error......

second display a huge list.....

i think this is right..

[subtotal] => 178
                    [subtotal_tax_amount] => 0
                    [subtotal_discount] => 0
                    [subtotal_with_tax] => 178


hot to display........... means "echo" the  subtotal_with_tax.........

seyi

try


<?php
echo $this->cart->pricesUnformatted['billTotal'];
?>

Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

ajithkumarts


rupesh

 :P aNYbody succesful with this step!!