Forums / All Other Contributions/Addons / Fast and Easy Checkout

Fast and Easy Checkout

Views: 552,342

Results 121 to 140 of 2,177
9 Dec 2007, 6:18 PM
#121
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Fast and Easy Checkout

Just so you know, the above error is confirmed, on your demo site and my site using Firefox, Opera and IE.

very odd...

9 Dec 2007, 6:46 PM
#122
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Re: Fast and Easy Checkout

icludes/modules/pages/checkout/header.php

about line 450

      $form_action_url = zen_href_linkFILENAME_CHECKOUT_PROCESS, '', 'SSL');

change to

      $form_action_url = zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL');

THis will "fix" the problem of the second attempt at entering CC info from not working, but it will also display the error message about the wrong CC info on the first page.

I'm no guru, so this may totally break the cart as far as I know.

Use at your own risk!!

10 Dec 2007, 2:58 AM
#123
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Fast and Easy Checkout

Thank you. I'll take a look in the next couple of days. It looks like it should be correct since the Checkout page should always be going to the Checkout Confirmation page which then will redirect to Checkout Process.

10 Dec 2007, 6:23 AM
#124
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Re: Fast and Easy Checkout

I agree, but when the checkout goes to the confirmation page and there's an error with the CC, the next page will always fail without a notification to the user. The continue of the first checkout page and the second failed checkout page are different links, but I didn't know where to change that.

So,

Enter your CC info, but there was an error

next page
Warning that CC info had an error. On this page, you can enter your CC info - click enter but it will always fail on enter and it fails without the CC error at top. If the customer enters their CC info a third time, it will finally work.

Basically, the customer has to enter their CC a minimum of 3 times if they make an error the first time.

11 Dec 2007, 6:32 PM
#125
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Fast and Easy Checkout

Is there a way to have the default shipping added to the cart total automatically when you arrive at the checkout_default page? When arriving at that page the cheapest shipping option radio button is selected but doesn't reflect in the cart total until you refresh the page. I've been looking through the code but this is way over my head still. Is this any easy fix?

Thanks!

Matt


Zen Cart and it's community are the best!!

11 Dec 2007, 6:55 PM
#126
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Fast and Easy Checkout

osdude:

icludes/modules/pages/checkout/header.php

about line 450

  $form_action_url = zen_href_linkFILENAME_CHECKOUT_PROCESS, '', 'SSL');
>  
> change to
> ```php
      $form_action_url = zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL');

THis will "fix" the problem of the second attempt at entering CC info from not working, but it will also display the error message about the wrong CC info on the first page.

I'm no guru, so this may totally break the cart as far as I know.

Use at your own risk!!

I just looked into this change and I cannot recommend it. The original code is:

default:
      $form_action_url = zen_href_link(FILENAME_CHECKOUT, 'action=null', 'SSL');
      if (!$_GET['payment_error'] && !$_GET['error_message'] && !$_GET['credit_class_error']) {
       zen_redirect($form_action_url);
     }
      break;

This must stay this way or a lot of other features will not work. I will add some more rules for when a cc error occurs.

11 Dec 2007, 7:28 PM
#127
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Fast and Easy Checkout

lankeeyankee:

Is there a way to have the default shipping added to the cart total automatically when you arrive at the checkout_default page? When arriving at that page the cheapest shipping option radio button is selected but doesn't reflect in the cart total until you refresh the page. I've been looking through the code but this is way over my head still. Is this any easy fix?

Thanks!

Matt

I can't reproduce this. The page auto refreshes on first load, thus updating the shipping rate in the order total...

I'm uploading v1.054 now which contains the bug fix for the CC as well as some template changes if One Page Checkout is turned on.

11 Dec 2007, 7:40 PM
#128
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Fast and Easy Checkout

My new site, which caters to Zen Cart, will be uploaded shortly and then updates will be available. Just waiting for some final touches to be made (all changes are content based, design will remain the same).

You can download v1.054, however, the download link will say it's 1.053.

11 Dec 2007, 9:44 PM
#129
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Re: Fast and Easy Checkout

the new file fixed the CC error loop - awesome.

11 Dec 2007, 9:45 PM
#130
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Fast and Easy Checkout

numinix:

I can't reproduce this. The page auto refreshes on first load, thus updating the shipping rate in the order total...

Hmmm, I seem to recall (but I could very well be remembering wrong) that it's always been like that since I installed this mod, I kept forgetting to seek a remedy. Which file and lines of code should I look at to see about the auto refresh as soon as the page loads? I'll check it to see if it's been modified by another mod.

Thanks!

Matt


Zen Cart and it's community are the best!!

11 Dec 2007, 10:10 PM
#131
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Fast and Easy Checkout

lankeeyankee:

Hmmm, I seem to recall (but I could very well be remembering wrong) that it's always been like that since I installed this mod, I kept forgetting to seek a remedy. Which file and lines of code should I look at to see about the auto refresh as soon as the page loads? I'll check it to see if it's been modified by another mod.

Thanks!

Matt

I just installed the latest version and it doesn't auto refresh to show the shipping either. Is anyone else having this happen or is it just me? :smile:

Matt


Zen Cart and it's community are the best!!

12 Dec 2007, 12:49 AM
#132
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Fast and Easy Checkout

Matt, do you have it running on a live site that I can look at?

If not, can you paste the portion of the URL beginning with "/index.php?"
when you first visit "main_page=checkout"

It should be "index.php?main_page=checkout&action=null"

The script automatically redirects to that page if action is not set.

12 Dec 2007, 3:27 AM
#133
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Re: Fast and Easy Checkout

wish I could help with this, but I only use one shipping method, so there's no updating needed.

12 Dec 2007, 4:47 AM
#134
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Fast and Easy Checkout

numinix:

Matt, do you have it running on a live site that I can look at?

If not, can you paste the portion of the URL beginning with "/index.php?"
when you first visit "main_page=checkout"

It should be "index.php?main_page=checkout&action=null"

The script automatically redirects to that page if action is not set.

drumfactorydirect dot com

add something to the cart and checkout, it doesn't matter if it's with an account, creating an account or COWA. I switched the tpl_checkout_default.php back to what I was using since I haven't had a chance to go and change the new template file to match the current layout. But the header_php.php file in pages/checkout is from the latest version. Let me know if there are any other files that need updating.

Thanks!

Matt


Zen Cart and it's community are the best!!

15 Dec 2007, 2:57 PM
#135
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Fast and Easy Checkout

Hi Jeff,

How can we add product image on your one-page checkout in the shopping cart table? Thanks in advance.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

15 Dec 2007, 4:19 PM
#136
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Fast and Easy Checkout

Managed to add product images into the shopping cart table. But they are too big to my liking. How can I resize it? The code I am using is as follows:

      <?php
      $products = $db->Execute("SELECT products_image
                                FROM " . TABLE_PRODUCTS . "
                                WHERE products_id ='" . $order->products[$i]['id'] . "'");

      echo '' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> ';
      ?>

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

15 Dec 2007, 9:10 PM
#137
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Fast and Easy Checkout

dealbyethan.com:

Managed to add product images into the shopping cart table. But they are too big to my liking. How can I resize it? The code I am using is as follows:

<?php $products = $db->Execute("SELECT products_image FROM " . TABLE_PRODUCTS . " WHERE products_id ='" . $order->products[$i]['id'] . "'"); echo '' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> '; ?>

Try SMALL_IMAGE_HEIGHT/2, SMALL_IMAGE_WIDTH/2

If that's still too big you can try /3 or /4.

Hope that helps!

Matt


Zen Cart and it's community are the best!!

16 Dec 2007, 1:29 AM
#138
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Fast and Easy Checkout

Try SMALL_IMAGE_HEIGHT/2, SMALL_IMAGE_WIDTH/2

If that's still too big you can try /3 or /4.

Hope that helps!

Matt

Thanks for your suggestion. I tried that but it did not resize. Any other idea?

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

16 Dec 2007, 4:22 PM
#139
osdude avatar

osdude

New Zenner

Join Date:
Nov 2007
Location:
south carolina
Posts:
42
Plugin Contributions:
0

Re: Fast and Easy Checkout

how about adding another variable to your CSS? that you pass in the additional PHP?

img.cartProductDisplayXXX  {
  width: 2em;
  height: 2em;
}

I have no idea if that would work, but it's an idea?

16 Dec 2007, 5:15 PM
#140
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Fast and Easy Checkout

Thanks for your suggestion. I tried putting your code in stylesheet but it didn't work. By the way, what's with the XXX? I still can't get it to work as I have no idea what controls the size of the images and which files they are calling from.

img.cartProductDisplayXXX  {
  width: 2em;
  height: 2em;
}  

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan