VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: seagul on November 10, 2012, 22:30:39 PM

Title: Cart view with only products, not Address
Post by: seagul on November 10, 2012, 22:30:39 PM
Hi there,

I am looking already hours for a solution in the forum:
In my shop I want a very simple cart view. There should be a difference between cart view and order view.

I already removed the login area which will automatically show in the next step of ordering. But I don't want it in the cart.
For the cart I only want the products! I don't want to show addresses, payment, shipment, TOS accepted... - just the products.

If I remove the areas in mytemplate/html/com_virtuemart/cart/default.php the fields are missing also in the next step of ordering.

Is there a parameter I could check in the template like "is-cart" - or "ordering"?

so for my cart I want:
- Product list
- Totals
- Coupon code field
--> "Go to Cashier/Check Out"-Button

for my order view I want:
- Addresses
- Product List
- Totals with Shipment and Payment
- Notice field
- Accept TOS
--> "Buy Now" Button

Any help is appreciated!
Thanks a lot,
Sigrid

Title: Re: Cart view with only products, not Address
Post by: PRO on November 11, 2012, 15:54:55 PM
this thread might help a little

http://forum.virtuemart.net/index.php?topic=106459.0

Title: Re: Cart view with only products, not Address
Post by: seagul on November 11, 2012, 16:19:53 PM
Thanks for you reply. I found that one before but I could not find any information about how to have something like a switch between "is cart" or "is order".
Do you know if there is a variable for this?

Thanks,
Sigrid
Title: Re: Cart view with only products, not Address
Post by: PRO on November 11, 2012, 18:37:32 PM
no there is not an order view and cart view difference
Title: Re: Cart view with only products, not Address
Post by: seagul on November 11, 2012, 21:32:25 PM
Thanks for your answer.
I will change the status of the topic. My questions is answered, nevertheless my problem not solved  ;).