Jump to content
bea-wen

6.2.5 Checkout, Images, Errors

Recommended Posts

Posted (edited)

I've been lurking for days, searching for fixes. I've found a lot of answers, but still have a few left. I would be ever so grateful if y'all could help me out. Thank you! Sorry it's so long. --Wendy

https://bea-wen.com
CubeCart Version 6.2.5
Foundation skin

PayPal Checkout 1.2.4

Hooks:
PayPal Pro(I did not put it there)
-----------
no other payment options
-------------
========================
CART:

1. "View Basket" page, bottom right shows:

'Secure Checkout'(button/square)
-- or --
PayPal(button/square)
PayPal Credit(button/square)

**How to remove: 'Secure Checkout'(button/square)
**How to put space between the PayPal buttons

~~~~~~~

2. Click PayPal button= Takes you to PayPal login or create acct page.
   After login= PayPal page to select pay method.
   Continue= Edit Address page and error:

The following errors were detected: 
We seem to have a problem with your address ("Default billing address"). Please check the value for "County" before proceeding.

choose county(should say State) and click SAVE=

Address has been updated and new shipping options may be available. Click "Checkout" to proceed.

Click "Secure Checkout"

select ship method using drop down options
page automatically refreshes
shows summary
Click "MAKE PAYMENT"
Many thanks for your order! Payment has been received and your order is now being processed.

**How to checkout without a PayPal acct?(maybe a guest checkout)
**How to change text on Edit Address page?
**How to add text above the shipping selection area?
**How to use radio buttons for shipping options that now are in a drop down?
**Any way to reduce the steps it takes to checkout?

========================
IMAGES:

**How to make images a bit smaller on Product page-viewed in laptop browser?
**What is the best size for pics uploaded?

========================

Error log full of Time/Zone errors.(3392)

File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'America/New_York'" - Unknown or incorrect time zone: 'America/New_York'

**How to fix error?
**How to get rid of those 3392 errors?

Edited by bea-wen
make questions 'bold'

Share this post


Link to post
Share on other sites

Welcome bea-wen! Glad to see you made it to the forums.

1. Using a programmer's text editor, edit the skin template content.checkout.php.

Find:

      {if $DISABLE_CHECKOUT_BUTTON!==true}
      <button type="submit" name="proceed" id="checkout_proceed" class="button right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button>
      {/if}
   </div>
</form>
{if $DISABLE_CHECKOUT_BUTTON!==true}
   {if $CHECKOUTS}
<div class="row">
   <div class="small-12 columns text-right">-- {$LANG.common.or} --</div>
</div>
      {foreach from=$CHECKOUTS item=checkout}
<div class="row">
   <div class="small-12 columns text-right pad">{$checkout}</div>
</div>
      {/foreach}
   {/if}
{/if}


Change to:

      {if false and $DISABLE_CHECKOUT_BUTTON!==true}{* Forced false to hide *}
      <button type="submit" name="proceed" id="checkout_proceed" class="button right g-recaptcha">{$CHECKOUT_BUTTON} <svg class="icon"><use xlink:href="#icon-chevron-right"></use></svg></button>
      {/if}
   </div>
</form>
{if $DISABLE_CHECKOUT_BUTTON!==true}
   {if $CHECKOUTS}
{* Hiding this row *}
<div class="row hide">
   <div class="small-12 columns text-right">-- {$LANG.common.or} --</div>
</div>
{foreach from=$CHECKOUTS item=checkout}
<div class="row">
   <div class="small-12 columns text-right pad thickpad-bottom">{$checkout}</div>
</div>
      {/foreach}
   {/if}
{/if}

I have no real experience dealing with anything regarding how PayPal operates.

In admin, Languages, determine if you have English US listed. If not, please install it. Then make it default (Store Settings) and make your admin profile use it (Administrators).

2. In admin, Languages, click the Edit icon for the language you wish to change the phrasings. From the Phrase Group drop-down selector, choose Address. Change the phrasings as needed and Save.

In the skin template content.checkout.medium-up.php, add desired text near the area that starts with {if isset($SHIPPING)}. Perhaps an added <tr><td colspan="4">Informative text.</td></tr> above the shipping row.

There is a conversation on these forums that discuss how to change the selector to radio buttons. I will try to find it.

There is no real way to shorten the checkout process - although I have seen some skins somehow incorporate everything onto one page.

3. The best size of source images depends on the skin structure. For Foundation, it is 600x600.

4. The timezone error has been resolved (I believe) in CC625. The error is caused by CubeCart telling the database server to use a timezone found in a database server system table. However, this table is either non-existent or not populated -- a common situation. The database server administrator will need to rectify this.

 

This is the radio button edit:
https://forums.cubecart.com/topic/51515-radio-buttons-for-shipping-on-checkout/

 

Share this post


Link to post
Share on other sites

 bsmither, I altered the skin template content.checkout.php (skins/foundation/templates/content.checkout.php)

It took away the Secure Checkout box/square....but the PayPal boxes/squares are gone also.

Did I do it wrong? I used Notepad++ software.

Share this post


Link to post
Share on other sites

Please copy to a reply with the twelve or so statements in content.checkout.php after this line:

{if $DISABLE_CHECKOUT_BUTTON!==true}

Share this post


Link to post
Share on other sites

{if $DISABLE_CHECKOUT_BUTTON!==true}
   {if $CHECKOUTS}
{* Hiding this row *}
<div class="row hide">
   <div class="small-12 columns text-right">-- {$LANG.common.or} --</div>
</div>
{foreach from=$CHECKOUTS item=checkout}
<div class="row">
   <div class="small-12 columns text-right pad thickpad-bottom">{$checkout}</div>
</div>
      {/foreach}
   {/if}
{/if}
{if $RELATED}
<div class="show-for-medium-up">
   <h2>{$LANG.catalogue.related_products}</h2>

Share this post


Link to post
Share on other sites

Has anything changed regarding what is available for checkouts? Like, if the PayPal module was disabled?

The edits look good, but let's make a few other edits to see where we stand.

From this:

      {/foreach}
   {/if}
{/if}
{if $RELATED}

To this:

      {/foreach}
   {else}No checkouts{/if}
{else}$DISABLE_CHECKOUT_BUTTON is true{/if}
{if $RELATED}

Then we can trace down why it is that CubeCart thinks there should be no checkouts.

Share this post


Link to post
Share on other sites

paypal is still enabled

secure checkout button and both paypal buttons are back

Would it help if I give you test info for you to checkout on site?

PayPal provides sandbox for testing.

Share this post


Link to post
Share on other sites

Secure Checkout button is back? Did you restore the unmodified skin template from a backup?

Share this post


Link to post
Share on other sites

No, did the edits below

 

The edits look good, but let's make a few other edits to see where we stand.

From this:

      {/foreach}
   {/if}
{/if}
{if $RELATED}

To this:

      {/foreach}
   {else}No checkouts{/if}
{else}$DISABLE_CHECKOUT_BUTTON is true{/if}
{if $RELATED}

Then we can trace down why it is that CubeCart thinks there should be no checkouts

Share this post


Link to post
Share on other sites

If this is still in the code:

   {if $CHECKOUTS}
{* Hiding this row *}
<div class="row hide">
   <div class="small-12 columns text-right">-- {$LANG.common.or} --</div>
</div>

Yet the HTML being sent out to the browser does not have the hide attribute, then I have to think that CubeCart's internal cache was not cleared after making the edits to the skin template. Please try having CubeCart clear its cache.

Share this post


Link to post
Share on other sites

Please consider redoing the edits detailed in my first reply to your original post.

Share this post


Link to post
Share on other sites

Going to do it now. I used Maintenance to clear the cache. Checked in chrome and edge, still showing Secure ckout button

Share this post


Link to post
Share on other sites

It worked this time. Sec ckout is gone and the PayPal buttons are back.

Thanks so much. I probably messed up the first go round. 🙂

Share this post


Link to post
Share on other sites

When you go to basket to checkout, there are 2 PayPal buttons.

Click on PayPal button.

It opens a PayPal window, you select pay method, sends you back to cart.

Tells you to select ship method, select...then it refreshes page.

PayPal buttons are gone.

Share this post


Link to post
Share on other sites

Switched to PayPal standard and it's now working. 

Not sure how to use the "PayPal Checkout" without getting errors.

Will use this until a better extension is available. 🙂

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...