Simple Checkout - for 2.3.1 (official support thread)
#81
Posted 14 February 2012 - 09:06 PM
Processing Order, Please Wait this is where the error is then i get
The link you have used to enter the PayPal system contains an incorrectly formatted item amount.
yet paypal express works but pp standard dosnt work
#82
Posted 15 February 2012 - 12:58 AM
PPE vs. PPS:
Regarding the item display on the PP pages, PPE displays the items differently from PPS - it's not the checkout. It's a difference between the mods. PPE displays aggregate. PPS displays the items individually. This can probably be recoded to match, but it's not a checkout issue, so I won't get into that here.
@pantarra
BOTH of your issues (the display AND the format issue) might be resolved by installing the paypal IPN contribution and setting it to aggregate instead of item. It may be your easiest and fastest fix, at least according to the bit of research I've done on the topics. But, I can't promise it will work at all, since I'm just going by what others have recommended.
Please try that and post back to let us know if it worked for you.
#83
Posted 15 February 2012 - 05:25 PM
Here is the store URL: www.discountegauges.com The checkout page: www.discountegauges.com/checkout.php
Went back to Admin Panel, turned off simple, turned on the old OPC, same outcome!
Thanks a bunch,
Timmy C
#84
Posted 15 February 2012 - 05:37 PM
fulluvscents, on 13 February 2012 - 05:09 PM, said:
Yes. The jquery for the dialogs is in the place varina pointed out. The html for the divs is at the bottom of the checkout.php file with IDs to identify them. Just wrap your divs around those.
I can place my divs around the divs such as id="account" etc but its the div below I need to place inside other div's.
<DIV CLASS="MY_DIV>
<div style="outline-width: 0px; outline-style: initial; outline-color: initial; height: auto; width: 400px; top: -1291px; left: 748px; display: block; z-index: 1007; " class="ui-dialog ui-widget ui-widget-content ui-corner-all " tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-account"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" style="display: none; "><span class="ui-dialog-title" id="ui-dialog-title-account"> </span><a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div>.............</div>
</DIV>
#85
Posted 15 February 2012 - 05:50 PM
Thanks a bunch,
Timmy C
#86
Posted 15 February 2012 - 07:03 PM
You need to remove everything from your includes/template_top.php file that pertained to the old OPC.
@dog-toyz
Instead of wrapping around those main divs, place your div just inside of them and wrap it around the contents of the div. Since these are dialogs, they are styled much differently than normal divs.
You may need to add a class in the jQuery code. I'm not sure exactly what you're trying to accomplish. Changing the theme (background) of the entire dialog, or just adding a div inside of it (wrapping it around the form), which would give you a sort of border inside the dialog.
#87
Posted 15 February 2012 - 10:16 PM
fulluvscents, on 15 February 2012 - 07:03 PM, said:
Instead of wrapping around those main divs, place your div just inside of them and wrap it around the contents of the div. Since these are dialogs, they are styled much differently than normal divs.
You may need to add a class in the jQuery code. I'm not sure exactly what you're trying to accomplish. Changing the theme (background) of the entire dialog, or just adding a div inside of it (wrapping it around the form), which would give you a sort of border inside the dialog.
All I want to achieve is to display the login/create account box inside the content div for my theme. I can alter the position of it but I need the div to expand with it. I've attached an image to show you my problem.
http://postimage.org/image/pfnk8z40l/
Edited by dog-toyz, 15 February 2012 - 10:17 PM.
#88
Posted 16 February 2012 - 12:58 AM
#89
Posted 16 February 2012 - 01:25 AM
I am able to click them and be taken to account modification pages where you can sign up for newsletters, change passwords, view orders, etc... Isn't that something that should be disabled (if someone is checking out as a guest).
#90
Posted 16 February 2012 - 02:30 AM
Any Ideas?
Thanks for all the help,
Timmy C
#91
Posted 16 February 2012 - 04:30 AM
Thanks a bunch,
Timmy C
#92
Posted 16 February 2012 - 02:41 PM
I didn't have a problem creating an account, but I'm getting an ajax error in your checkout and I have no idea which ajax call is throwing the error. My guess is that it's the headernavigation refresh.
It's not the breadcrumb that's duplicating, it's the header navigation buttons. Apparently, you moved your buttons outside of the #headerNavigation div (which the script is trying to refresh on page load. Not only that, but you restyled them - I'm assuming independently. The checkout refreshes those buttons to match the cart and/or customer type. Notice that the when the number of items in the cart changes, it shows in the buttons as well. Also, if a customer creates an account as a guest, I have the buttons set to display "guest account" and hide "log off".
Fixing that will be a matter of either eliminating the refresh or moving your links back to the correct div and restyling them through that div instead of independently. The styling changes may need to pass through to the checkout's ajax call as well. The first option is easy, but improper. The second takes a little more work, but is the proper way to fix it.
@ggrant3
Quote
The same way you would in a stock shop. You can hard code it through the script using the country id (number) matching the country in your db (should be 223), or you can set it according to your "STORE_COUNTRY", which you change from admin.
Look on the first or second page of this thread for the answer already provided on where and how to hard code it.
If a customer creates a guest account, then they are logged in as a customer. There is no way to avoid that, and the same thing will happen if someone uses PayPal express, or any other "guest account" add on or mod where a temporary account is needed. We need to pass those session variables through the payment, order, and other processes. What I did do, was hide the "log off" button, and changed the "my account" button to "guest account" or something like that. I also log the guest customer off, as soon as they've completed the checkout process. If you wanted to go to the extent of deleting the temporary account after they checkout, it would be a matter of one line of code, I think. But, in no case, can you check them out without at least creating a temporary account for the checkout process. I did what I could to hide that from the customer while in checkout, but I can't bypass the temporary account altogether.
Note that if you've changed your navigation button set, then it will be thrown off, as explained above to surrfman, and you'll have to change it in the checkout to match.
#93
Posted 16 February 2012 - 03:59 PM
- Is it possible to disable changing product quantity entirely? I've decided it's presence blurs the line between shopping cart and checkout, and difference in implementations breaks consistency. Though I still wish I could have all that separately on the shopping cart itself.
- Make a separate section with all the price calculation at the bottom with the Checkout button.
#94
Posted 16 February 2012 - 04:20 PM
i need a Checkbox for the Privacy Statment and for the Conitions, can some one help me?
thanks a lot!
#95
Posted 16 February 2012 - 04:29 PM
Quote
The same way you would in a stock shop. You can hard code it through the script using the country id (number) matching the country in your db (should be 223), or you can set it according to your "STORE_COUNTRY", which you change from admin.
Look on the first or second page of this thread for the answer already provided on where and how to hard code it.
If a customer creates a guest account, then they are logged in as a customer. There is no way to avoid that, and the same thing will happen if someone uses PayPal express, or any other "guest account" add on or mod where a temporary account is needed. We need to pass those session variables through the payment, order, and other processes. What I did do, was hide the "log off" button, and changed the "my account" button to "guest account" or something like that. I also log the guest customer off, as soon as they've completed the checkout process. If you wanted to go to the extent of deleting the temporary account after they checkout, it would be a matter of one line of code, I think. But, in no case, can you check them out without at least creating a temporary account for the checkout process. I did what I could to hide that from the customer while in checkout, but I can't bypass the temporary account altogether.
Note that if you've changed your navigation button set, then it will be thrown off, as explained above to surrfman, and you'll have to change it in the checkout to match.
Ahh, I was looking higher up in the code.
Although after I changed that it doesn't allow me fill in the state box.
I know its a minor "issue" so if you don't have time to figure it out right now its not a big deal. I just like to make everything as quick and easy for my customers as possible
Edited by ggrant3, 16 February 2012 - 04:30 PM.
#96
Posted 16 February 2012 - 05:41 PM
Tried the test account with firefox. Get a pop-up while processing stating Error : null with an "OK" button. Click the "OK" and the processing stops, enabling customer to proceed.
Trying to understand the header navigation. Here is my header.php file, this is what I believe controls the breadcrumb display. Does the old PWA stuff get in the way?:
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2010 osCommerce
Released under the GNU General Public License
*/
if ($messageStack->size('header') > 0) {
echo '<div class="grid_24">' . $messageStack->output('header') . '</div>';
}
?>
<div id="header" class="grid_24">
<div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>
<div id="headerShortcuts">
</div>
</div>
<div class="grid_24 ui-widget infoBoxContainer">
<div class="ui-widget-header infoBoxHeading"><?php echo ' ' . $breadcrumb->trail(' » '); ?>
<div style="width:36%;float:right;text-align:right;padding-right:10px;">
<?php
echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"alt="" >'.($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' .
'<a class="headershortcutlink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="">' . HEADER_TITLE_CHECKOUT . '</a> | ';
//<!-- PWA BOF -->
if (tep_session_is_registered('customer_id') && (!isset($HTTP_GET_VARS['guest']) && !isset($HTTP_POST_VARS['guest'])) && !$order->customer['is_dummy_account']) {
echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_MY_ACCOUNT . '</a> | ' ;
}
if (tep_session_is_registered('customer_id')) {
echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"alt="" >' . HEADER_TITLE_LOGOFF . '</a> ' ;
}
//<!-- PWA EOF -->
?>
</div>
</div>
</div>
<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>
</tr>
</table>
<?php
}
if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>
</tr>
</table>
<?php
}
?>
Your knowledge of how this all works is "simply" astonishing!!!!
Timmy C
#97
Posted 16 February 2012 - 05:50 PM
To disable qty field, and just show the qty, find:
<div class="left wid75 t-center">' . tep_draw_input_field('qty[' . $products[$i]['id'] . ']', $products[$i]['quantity'], 'size="2" data-pID="' . $products[$i]['id'] . '"') . '</div>
Replace with:
<div class="left wid75 t-center">' . $products[$i]['quantity'] . '</div>
No. 2 is a bit more work, but yeah, it can be done.
@ggrant3
Quote
Find and comment out the following:
$('[name=state]', $('#account')).attr('disabled', 'true');
Edited by fulluvscents, 16 February 2012 - 05:52 PM.
#98
Posted 16 February 2012 - 06:17 PM
2 questions:
1. Do you want those links to rest inside the breadcrumb bar?
2. Do you want them as text links or as buttons?
It looks like things got moved around when you merged PWA (which was written for 2.2). Not a biggie, just not sure if you intended to eliminate the buttons and replace them with text links, or whether you intended to move those links inside the breadcrumb trail. Can't tell you how to fix it until I know what you wanted.
#99
Posted 16 February 2012 - 09:07 PM
#100
Posted 16 February 2012 - 11:39 PM
I'm new with osCommerce (and PHP is not my friend either), trying to build my thesis and three weeks to deadline
I tried to use this http://addons.oscommerce.com/info/8112/v,23, but only get:
Fatal error: Call to undefined method prepayment::update_status() in/home/paita852/public_html/checkout.php on line 629
Same happens with one other similar payment-contribution. Also my discount coupon-field is missing. Everything works when Simple checkout is disabled. Can someone help me with this? I think I have little older version, 1.3.
I really appreciate any help! If this is mission impossible, please tell me quickly









