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

Checkout by stages

Started by Clocked0ne, April 18, 2012, 14:06:44 PM

Previous topic - Next topic

Clocked0ne

I was trying to find a solution to my problem, it seems while marked solved this thread doesn't really address the problem in much detail:
http://forum.virtuemart.net/index.php?topic=98755.0


I am struggling to get the checkout working in a logical fashion and I cannot even get the 'Checkout Steps' to show at all, my clients are now complaining they want to change software because they think the cart/checkout is too confusing for people to use :(

Can anyone advise what I am missing to show the checkout steps?

Joomla 1.7 and VM2.0.6 using default cart view template markup

[attachment cleanup by admin]

Clocked0ne

The checkout seems to have gone backwards in ease of use from VM1, is there any way to get it to work the same as on VM1 sites where you go through step-by-step, e.g:

http://www.superstrands.com/virtuemart.html?page=shop.cart&mode=1 or http://www.ayokaflowers.com/view-your-cart-content.html both have great VM carts (add something to the basket to see).

Clocked0ne

Why does every step go back to the Cart page?

Why not simply: Cart > Login > Shipping > Payment > DONE
That's just 4 steps from the cart!

I tried taking the Shipping options off the basket to see if this would improve the process (as advised in another thread) but it makes no difference.
Instead the customer always gets the following series of circus hoops (see attached screenshots to match):

Page 1 - Cart
index.php/shopping-basket

Page 2 - Edit Address/Login/Register
index.php/my-account/editaddresscartBT
- Filled in details and chose Checkout as Guest
---- No Checkout Step label anywhere

Page 3 - Cart again :o
index.php/shopping-basket
---- No Checkout Step label anywhere

Page 4  - Payment
index.php/shopping-basket/edit_shipment
- chose a rate and clicked Save
---- Finally a Checkout Step! 'Step 2' though???

Page 5 - Cart again AGAIN >:(
index.php/shopping-basket/checkout
---- Now another Checkout Step 'Step 4' huh???


This is not simple for customers, guys :(

[attachment cleanup by admin]

nvsdesign

This is exactly my problem, I also need simple checkout steps for my shop just like it was in VM1.
It´s very confusing to my customers and even to me how it´s currently working.

I see a lot of questions on the forum from people who want to change this, so why aren´t the developers taking action on this?
If someone comes with a solution, please let me know!

Clocked0ne

I gave up on the VM standard Checkout and am using Rupostel One Page Checkout instead, it works very well, no confusing format or headaches!

PRO

I make steps myself


<?php if (empty($this->cart->BT)){ ?>
<img alt="Attention" src="/demo/images/red.png" /> Please Fill in your billing address<br/>
<?php }?>

^^ When Billing Address is empty

<?php if (!empty($this->cart->BT)){ ?>
<img alt="Attention" src="/demo/images/green.png" /> Billing Address Completed<br/>
<?php }?>

^^ After Billing Address Completed


<?php if ($this->cart->cartData['paymentName'] == 'No payment selected') {?>
<img alt="Attention" src="/demo/images/red.png" /> Select your payment <br/>
<?php }?>

^^^
When no payment is selected

<?php if ($this->cart->cartData['paymentName'] != 'No payment selected') {?>
<img alt="Attention" src="/demo/images/green.png" /> Payment Selected <br/>
<?php }?>

After payment selected

<?php if (!empty($this->cart->BT)){
  if ($this->cart->cartData['paymentName'] != 'No payment selected') { ?>
  <img alt="Attention" src="/demo/images/green.png" /> Almost Done: Please Confirm Order<br/>
 
  <?php }}?>

When billing, and payment have been filled in

[attachment cleanup by admin]

anotart

This looks like it would work for me -- I'm not sure where you would put that code.  Can you help me with that please?

Thanks for sharing your solution!

PRO

Quote from: anotart on May 17, 2012, 16:33:25 PM
This looks like it would work for me -- I'm not sure where you would put that code.  Can you help me with that please?

Thanks for sharing your solution!

i put mine in the cart template

tmpl/default.php

anotart


JanZet

Hello BanquetTables.pro,
Is it possible you put your \templates\<template_name>\html\com_virtuemart\cart\default.php here?
Thanks in advance,
Jan

PRO

Quote from: JanZet on July 27, 2012, 13:01:04 PM
Hello BanquetTables.pro,
Is it possible you put your \templates\<template_name>\html\com_virtuemart\cart\default.php here?
Thanks in advance,
Jan

Yes, thats excatly how you do it.

a "template override"  http://forum.virtuemart.net/index.php?topic=90935.0


JanZet

Can you give me the full code of your default.php please?

I would like to have an example, so I can make changes.

Kind Regards,
Jan 

PRO

I use a separate file , and just do include

Just add this where you want it
<?php include("steps.php"); ?>


I have attached the file, BUT it is renamed to .txt

[attachment cleanup by admin]

dorex

Quote from: PRO on May 17, 2012, 15:57:55 PM



<?php if ($this->cart->cartData['paymentName'] == 'No payment selected') {?>
<img alt="Attention" src="/demo/images/red.png" /> Select your payment <br/>
<?php }?>

^^^
When no payment is selected


This one doesn't work ... It shows up "Payment selected" and green.png instead of  "Select your payment" and red.png
I tried calling steps.php in different files ( in default.php, at the beginning or at the end of default_pricelist.php) and still same problem.
Any ideas why? Thank you in advance.
PHP 5.2.17 - Joomla 2.5.8 - Virtuemart 2.0.16

PRO

Quote from: dorex on May 12, 2013, 17:55:50 PM
Quote from: PRO on May 17, 2012, 15:57:55 PM



<?php if ($this->cart->cartData['paymentName'] == 'No payment selected') {?>
<img alt="Attention" src="/demo/images/red.png" /> Select your payment <br/>
<?php }?>

^^^
When no payment is selected


This one doesn't work ... It shows up "Payment selected" and green.png instead of  "Select your payment" and red.png
I tried calling steps.php in different files ( in default.php, at the beginning or at the end of default_pricelist.php) and still same problem.
Any ideas why? Thank you in advance.


dorex,

do you have a steps.php?


&& is it a language thing?