Author Topic: Checkout by stages  (Read 27719 times)

Clocked0ne

  • Jr. Member
  • **
  • Posts: 51
Checkout by stages
« on: April 18, 2012, 14:06:44 pm »
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

  • Jr. Member
  • **
  • Posts: 51
Re: Checkout by stages
« Reply #1 on: April 19, 2012, 23:48:04 pm »
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

  • Jr. Member
  • **
  • Posts: 51
Re: Checkout by stages
« Reply #2 on: April 20, 2012, 02:06:59 am »
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

  • Beginner
  • *
  • Posts: 8
Re: Checkout by stages
« Reply #3 on: April 23, 2012, 10:11:15 am »
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

  • Jr. Member
  • **
  • Posts: 51
Re: Checkout by stages
« Reply #4 on: May 17, 2012, 12:52:51 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10369
  • VirtueMart Version: 3+
Re: Checkout by stages
« Reply #5 on: May 17, 2012, 15:57:55 pm »
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]
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

anotart

  • Beginner
  • *
  • Posts: 29
Re: Checkout by stages
« Reply #6 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!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10369
  • VirtueMart Version: 3+
Re: Checkout by stages
« Reply #7 on: May 17, 2012, 18:26:08 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
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

anotart

  • Beginner
  • *
  • Posts: 29
Re: Checkout by stages
« Reply #8 on: May 19, 2012, 01:51:43 am »
Thank you!

JanZet

  • Beginner
  • *
  • Posts: 7
Re: Checkout by stages
« Reply #9 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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10369
  • VirtueMart Version: 3+
Re: Checkout by stages
« Reply #10 on: July 27, 2012, 13:53:34 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

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

JanZet

  • Beginner
  • *
  • Posts: 7
Re: Checkout by stages
« Reply #11 on: July 27, 2012, 16:33:29 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10369
  • VirtueMart Version: 3+
Re: Checkout by stages
« Reply #12 on: July 27, 2012, 16:44:09 pm »
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]
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

dorex

  • Beginner
  • *
  • Posts: 47
  • VirtueMart Version: 2.0.16
Re: Checkout by stages
« Reply #13 on: May 12, 2013, 17:55:50 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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10369
  • VirtueMart Version: 3+
Re: Checkout by stages
« Reply #14 on: May 13, 2013, 10:53:56 am »



<?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?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)