Zen Cart Logo
Forums / All Other Contributions/Addons / COWOA (for ZC v1.5.x)

COWOA (for ZC v1.5.x)

Views: 159,122

Results 821 to 840 of 854
16 Aug 2018, 4:18 PM
#821
seadog avatar

seadog

New Zenner

Join Date:
Aug 2018
Location:
Tucson, AZ
Posts:
3
Plugin Contributions:
0

COWOA (for ZC v1.5.x)

:huh:
Not sure if you fully comprehend what I was trying to say. And, yes, I fully understand what "YOUR_TEMPLATE" means. You'll notice I only flagged certain lines with YOUR_TEMPLATE. I'm stating the directory structure DOESN'T match my installation.

In my case YOUR_TEMPLATE = wmbrownholster.

Referring to the specific lines I flagged as errors from the installation document and replacing YOUR_TEMPLATE with wmbrownholster:

  1. includes/languages/wmbrownholster/english.php
  2. includes/languages/english/wmbrownholster/checkout_confirmation.php
  3. includes/languages/english/wmbrownholster/checkout_payment.php
  4. includes/languages/english/wmbrownholster/checkout_process <-- Filename missing the .php extension!!!
  5. includes/languages/english/wmbrownholster/checkout_shipping.php
  6. includes/languages/english/wmbrownholster/gv_redeem.php
  7. includes/languages/english/wmbrownholster/login.php
  8. includes/languages/english/wmbrownholster/logoff.php
  9. includes/languages/english/wmbrownholster/time_out.php
  10. includes/modules/wmbrownholster/create_account.php
    So, are you telling me, from the above references, this is how your installation is structured? I don't have a sub-directory called wmbrownholster. The other lines from the instructions showing "YOUR_TEMPLATE" do match my installation.

Referring to the above erroneous lines my installation instead is as shown here:

  1. includes/languages/english.php
  2. includes/languages/english/checkout_confirmation.php
  3. includes/languages/english/checkout_payment.php
  4. includes/languages/english/checkout_process.php
  5. includes/languages/english/checkout_shipping.php
  6. includes/languages/english/gv_redeem.php
  7. includes/languages/english/login.php
  8. includes/languages/english/logoff.php
  9. includes/languages/english/time_out.php
  10. includes/modules/create_account.php

I'm going to use my directory structure and test. I have no intention of adding the "wmbrownholster" directories just to make it match the instructions. I'm pretty sure that would break my system.

16 Aug 2018, 5:18 PM
#822
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: COWOA (for ZC v1.5.x)

Yes, we understand. You may not see an override directory, but that doesn't mean it's correct that way. Certain parts of Zen Cart are set up to allow you to customize your site without munging original files. It's a great way to give you a fall-back/comparison file or directory when things go bump in the night or it's time for an upgrade.

I keep a copy of lat9's overrides cheatsheet in the drawer next to me. As you get more familiar with the system, you'll better appreciate the reasoning behind its use. Definitely a trick of the trade that has saved us time and time again.

Print out a copy of the Cheatsheet and take advantage of what it can do for you.:bigups:

16 Aug 2018, 5:37 PM
#823
seadog avatar

seadog

New Zenner

Join Date:
Aug 2018
Location:
Tucson, AZ
Posts:
3
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

:no:
I've decided to abandon any attempts to install this plugin. Disregard my previous posts.
:no:

16 Aug 2018, 6:12 PM
#824
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: COWOA (for ZC v1.5.x)

You might want to try lat9's One Page Checkout. Be aware that it uses the override system as well.

That said, you'll not find better documentation anywhere for all aspects of the mod.

5 Nov 2018, 3:16 PM
#825
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Removed.

14 Jan 2019, 7:38 AM
#826
iatia avatar

iatia

Zen Follower

Join Date:
Nov 2009
Location:
Aransas Pass, TX
Posts:
102
Plugin Contributions:
1

Re: COWOA (for ZC v1.5.x)

seadog:

I'm going to use my directory structure and test. I have no intention of adding the "wmbrownholster" directories just to make it match the instructions. I'm pretty sure that would break my system.

It's real easy to do. It will take all of 10 minutes, if that. I can walk you through it if you are still interested.

Once done, if you don't like it, 10 seconds to undo.

21 Jan 2019, 3:30 PM
#827
rweeks avatar

rweeks

New Zenner

Join Date:
Jul 2008
Location:
San Diego, CA
Posts:
45
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Using store version 1.5.5f and cowoa 2.4.
Couple questions:

  1. Is the double semi-colon intentional? $htmlInvoiceURL=EMAIL_TEXT_INVOICE_URL_CLICK;;

  2. Confirmation emails come through with define variable names:
    $EMAIL_THANKS_FOR_SHOPPING
    $EMAIL_DETAILS_FOLLOW

    $INTRO_ORDER_NUM_TITLE $INTRO_ORDER_NUMBER
    $INTRO_DATE_TITLE $INTRO_DATE_ORDERED
    $INTRO_URL_TEXT

This only happens with orders from COWOA customers. Other confirmation emails are fine, so I don't think it's as simple as missing language files.
Comparing code blocks within the file for the various if statements and just not seeing any differences.
Did a file compare with original, code blocks seem OK.

// COWOA:If COWOA and Send Order Status is True     

    if ($_SESSION['COWOA'] && (COWOA_ORDER_STATUS == 'true'))  {
    $htmlInvoiceURL=EMAIL_TEXT_INVOICE_URL_CLICK;;
    $htmlInvoiceValue=zen_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $zf_insert_id, 'SSL', false);
    $email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
    $this->customer['firstname'] . ' ' . $this->customer['lastname'] . "\n\n" .
    EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n" .
    EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $zf_insert_id . "\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n" .
    EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";
    $html_msg['EMAIL_TEXT_HEADER']     = EMAIL_TEXT_HEADER;
    $html_msg['EMAIL_TEXT_FROM']       = EMAIL_TEXT_FROM;
    $html_msg['INTRO_STORE_NAME']      = STORE_NAME;
    $html_msg['EMAIL_THANKS_FOR_SHOPPING'] = EMAIL_THANKS_FOR_SHOPPING;
    $html_msg['EMAIL_DETAILS_FOLLOW']  = EMAIL_DETAILS_FOLLOW;
    $html_msg['INTRO_ORDER_NUM_TITLE'] = EMAIL_TEXT_ORDER_NUMBER;
    $html_msg['INTRO_ORDER_NUMBER']    = $zf_insert_id;
    $html_msg['INTRO_DATE_TITLE']      = EMAIL_TEXT_DATE_ORDERED;
    $html_msg['INTRO_DATE_ORDERED']    = strftime(DATE_FORMAT_LONG);
    $html_msg['INTRO_URL_TEXT']        = EMAIL_TEXT_INVOICE_URL_CLICK;
    $html_msg['INTRO_URL_VALUE']       = zen_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $zf_insert_id, 'SSL', false);
    }
    
// COWOA:If COWOA but Send Order Status is False
    if ($_SESSION['COWOA'] && (COWOA_ORDER_STATUS == 'false')){
    $htmlInvoiceURL='';
    $htmlInvoiceValue='';
    $email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
    $this->customer['firstname'] . ' ' . $this->customer['lastname'] . "\n\n" .
    EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n" .
    EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $zf_insert_id . "\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
    $html_msg['EMAIL_TEXT_HEADER']     = EMAIL_TEXT_HEADER;
    $html_msg['EMAIL_TEXT_FROM']       = EMAIL_TEXT_FROM;
    $html_msg['INTRO_STORE_NAME']      = STORE_NAME;
    $html_msg['EMAIL_THANKS_FOR_SHOPPING'] = EMAIL_THANKS_FOR_SHOPPING;
    $html_msg['EMAIL_DETAILS_FOLLOW']  = EMAIL_DETAILS_FOLLOW;
    $html_msg['INTRO_ORDER_NUM_TITLE'] = EMAIL_TEXT_ORDER_NUMBER;
    $html_msg['INTRO_ORDER_NUMBER']    = $zf_insert_id;
    $html_msg['INTRO_DATE_TITLE']      = EMAIL_TEXT_DATE_ORDERED;
    $html_msg['INTRO_DATE_ORDERED']    = strftime(DATE_FORMAT_LONG);
    $html_msg['INTRO_URL_TEXT']        = '';
    $html_msg['INTRO_URL_VALUE']       = '';
    }
    // NO COWOA, so lets set up the Text and HTML E-mail Information for the Order History Info
 if (!$_SESSION['COWOA']){  
      $invoiceInfo=EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";
      $htmlInvoiceURL=EMAIL_TEXT_INVOICE_URL_CLICK;;
      $htmlInvoiceValue=zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false);
   
    $email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
    $this->customer['firstname'] . ' ' . $this->customer['lastname'] . "\n\n" .
    EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n" .
    EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $zf_insert_id . "\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n" .
    EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";
    $html_msg['EMAIL_TEXT_HEADER']     = EMAIL_TEXT_HEADER;
    $html_msg['EMAIL_TEXT_FROM']       = EMAIL_TEXT_FROM;
    $html_msg['INTRO_STORE_NAME']      = STORE_NAME;
    $html_msg['EMAIL_THANKS_FOR_SHOPPING'] = EMAIL_THANKS_FOR_SHOPPING;
    $html_msg['EMAIL_DETAILS_FOLLOW']  = EMAIL_DETAILS_FOLLOW;
    $html_msg['INTRO_ORDER_NUM_TITLE'] = EMAIL_TEXT_ORDER_NUMBER;
    $html_msg['INTRO_ORDER_NUMBER']    = $zf_insert_id;
    $html_msg['INTRO_DATE_TITLE']      = EMAIL_TEXT_DATE_ORDERED;
    $html_msg['INTRO_DATE_ORDERED']    = strftime(DATE_FORMAT_LONG);
    $html_msg['INTRO_URL_TEXT']        = EMAIL_TEXT_INVOICE_URL_CLICK;
    $html_msg['INTRO_URL_VALUE']       = zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false);
  }

Any suggestions?
Note I have reordered a couple lines as part of the trouble shooting, to see which code block is executing. Date before order number and details follow before thanks for shopping.

21 Jan 2019, 9:03 PM
#828
rweeks avatar

rweeks

New Zenner

Join Date:
Jul 2008
Location:
San Diego, CA
Posts:
45
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Add to previous question:
In the cowoa if statements it check for status of COWOA_ORDER_STATUS.
I have search for this (store admin and in the original download files) and do see where it is set, just where is checked.
Where is this variable set?

24 Feb 2019, 4:53 AM
#829
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Location:
Butte, MT
Posts:
83
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Anyone have this working on 1.5.6 yet? Seems there are a lot of significant changes in the admin pages for 1.5.6.

3 Mar 2019, 11:19 PM
#830
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Location:
Butte, MT
Posts:
83
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

As mentioned above, I'm working on trying to get this working on a 1.5.6 site.

It looks like the code from admin/index.php needs to be merged into the new index_dashboard file, so that should probably be pretty straight forward.

however, there is a bunch of code from admin/orders.php that I'm not quite sure what to do with...

// BOF COWOA SEND ORDER_STATUS EMAIL
if (COWOA_ORDER_STATUS == 'true') {
    if ($check_status->fields['COWOA_order'] == 1)  {
  
            $message =
            EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
            EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $oID, 'SSL') . "\n\n" .
            EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
      strip_tags($notify_comments) .
      EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ) .
      EMAIL_TEXT_STATUS_PLEASE_REPLY;

          $html_msg['EMAIL_CUSTOMERS_NAME']    = $check_status->fields['customers_name'];
          $html_msg['EMAIL_TEXT_ORDER_NUMBER'] = EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID;
          $html_msg['EMAIL_TEXT_INVOICE_URL']  = '<a href="' . zen_catalog_href_link(FILENAME_ORDER_STATUS, 'order_id=' . $oID, 'SSL') .'">'.str_replace(':','','Click here to check the status of your order:').'</a>';
          $html_msg['EMAIL_TEXT_DATE_ORDERED'] = EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']);
          $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
          $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
          $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));
          $html_msg['EMAIL_TEXT_NEW_STATUS'] = $orders_status_array[$status];
          $html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','', EMAIL_TEXT_STATUS_PLEASE_REPLY);

            zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
            $customer_notified = '1';
          }
    } 
if (COWOA_ORDER_STATUS == 'false') {
      if ($check_status->fields['COWOA_order'] == 1)  {

          $htmlInvoiceURL='';
          $htmlInvoiceValue='';
          $message =
          EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
          EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
          strip_tags($notify_comments) .
          EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ) .
          EMAIL_TEXT_STATUS_PLEASE_REPLY;
          $html_msg['EMAIL_CUSTOMERS_NAME']    = $check_status->fields['customers_name'];
          $html_msg['EMAIL_TEXT_ORDER_NUMBER'] = EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID;
          $html_msg['INTRO_URL_TEXT']        = '';
          $html_msg['INTRO_URL_VALUE']       = '';
          $html_msg['EMAIL_TEXT_DATE_ORDERED'] = EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']);
          $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
          $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
          $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));
          $html_msg['EMAIL_TEXT_NEW_STATUS'] = $orders_status_array[$status];
          $html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','', EMAIL_TEXT_STATUS_PLEASE_REPLY);

            zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
            $customer_notified = '1';
          }    
    }
// EOF COWOA SEND ORDER_STATUS EMAIL    
    if ($check_status->fields['COWOA_order'] != 1)  {
            $message =
            EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
            EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
            EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
            strip_tags($notify_comments) .
            EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ) .
            EMAIL_TEXT_STATUS_PLEASE_REPLY;

            $html_msg['EMAIL_CUSTOMERS_NAME']    = $check_status->fields['customers_name'];
            $html_msg['EMAIL_TEXT_ORDER_NUMBER'] = EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID;
            $html_msg['EMAIL_TEXT_INVOICE_URL']  = '<a href="' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') .'">'.str_replace(':','',EMAIL_TEXT_INVOICE_URL).'</a>';
            $html_msg['EMAIL_TEXT_DATE_ORDERED'] = EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']);
            $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
            $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
            $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));
            $html_msg['EMAIL_TEXT_NEW_STATUS'] = $orders_status_array[$status];
            $html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','', EMAIL_TEXT_STATUS_PLEASE_REPLY);
            $html_msg['EMAIL_PAYPAL_TRANSID'] = '';

            zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
            $customer_notified = '1';
			}

            // PayPal Trans ID, if any
            $sql = "select txn_id, parent_txn_id from " . TABLE_PAYPAL . " where order_id = :orderID order by last_modified DESC, date_added DESC, parent_txn_id DESC, paypal_ipn_id DESC ";
            $sql = $db->bindVars($sql, ':orderID', $oID, 'integer');
            $result = $db->Execute($sql);
            if ($result->RecordCount() > 0) {
              $message .= "\n\n" . ' PayPal Trans ID: ' . $result->fields['txn_id'];
              $html_msg['EMAIL_PAYPAL_TRANSID'] = $result->fields['txn_id'];
            }

            //send extra emails
            if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
              zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
            }
          } elseif (isset($_POST['notify']) && ($_POST['notify'] == '-1')) {
            // hide comment
            $customer_notified = '-1';
          }

          $db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . "
                      (orders_id, orders_status_id, date_added, customer_notified, comments)
                      values ('" . (int)$oID . "',
                      '" . zen_db_input($status) . "',
                      now(),
                      '" . zen_db_input($customer_notified) . "',
                      '" . zen_db_input($comments)  . "')");
          $order_updated = true;
        }

It looks like the process of emailing has actually been moved into another file, but I am unclear whether this needs to be moved to that other file - wherever it is - or if this needs to be processed before the function of sending emails is called...

3 Mar 2019, 11:56 PM
#831
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: COWOA (for ZC v1.5.x)

weif:

As mentioned above, I'm working on trying to get this working on a 1.5.6 site.

It looks like the process of emailing has actually been moved into another file, but I am unclear whether this needs to be moved to that other file - wherever it is - or if this needs to be processed before the function of sending emails is called...

COWOA is really old and with COWAA and One Page Checkout, you may be spinning your wheels.... I have COWAA setup on my 156 upgrade. I am on final testing with PHP7.3 getting ready to do the upgrade of my site. Once I'm done with that I plan to go ahead and push an update for COWAA which would save you some time. I'm pushing for this week to finish up..

27 Aug 2019, 2:22 PM
#832
jboyjw avatar

jboyjw

New Zenner

Join Date:
Aug 2019
Posts:
5
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

davewest:

COWOA is really old and with COWAA and One Page Checkout, you may be spinning your wheels.... I have COWAA setup on my 156 upgrade. I am on final testing with PHP7.3 getting ready to do the upgrade of my site. Once I'm done with that I plan to go ahead and push an update for COWAA which would save you some time. I'm pushing for this week to finish up..

Hi davewest. I'm just going through the process of getting COWOA to work on 156... Were you successful in getting it to work or am I wasting my time? :)

27 Aug 2019, 10:29 PM
#833
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: COWOA (for ZC v1.5.x)

JboyJW:

Hi davewest. I'm just going through the process of getting COWOA to work on 156... Were you successful in getting it to work or am I wasting my time? :)

It was pushed to GitHub but still haven't had time to finish it off to what I would like to do... I am using it on a ZC156b site so it is working but without a one page for checkout. https://github.com/davesaddle/zenCOWAA

28 Aug 2019, 2:43 AM
#834
jboyjw avatar

jboyjw

New Zenner

Join Date:
Aug 2019
Posts:
5
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

davewest:

It was pushed to GitHub but still haven't had time to finish it off to what I would like to do... I am using it on a ZC156b site so it is working but without a one page for checkout. https://github.com/davesaddle/zenCOWAA

Oh... you created your own version, I see. Cool. Hmm... Not a fan of the default behavior being guest and them having to click an Account! button to log in. Will have to consider my options. Thanks for the link.

28 Aug 2019, 4:52 AM
#835
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: COWOA (for ZC v1.5.x)

JboyJW:

Oh... you created your own version, I see. Cool. Hmm... Not a fan of the default behavior being guest and them having to click an Account! button to log in. Will have to consider my options. Thanks for the link.

Actually, theirs different behaviors depending which switch is flipped.. for my site, I used register account as the standard. Creating a full account happens during checkout if they enter a password or not.. its up to the customers. basically doing away with create account.. Guest is not the default, but can be done by any user, even an account holder.

18 Nov 2019, 1:59 AM
#836
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Hello davewest,
I'm keen to try your version, just wondering if you had progressed to 1.5.6c yet?
I'm using 1.5.6c so of course I am happy to investigate on my site, but it would help to know what your baseline is at the moment.

6 Oct 2020, 4:09 PM
#837
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

I added a COWOA version for Zen-Cart 1.5.6c and Zen-Cart 1.5.7 here:
https://github.com/lindasdd/integratedCOWOA_2.8

The 1.5.6c version has been used in a production environment.
The 1.5.7 version has only been used in a test environment.

Once I use the 1.5.7 in production I will submit it to the plugins.

6 Oct 2020, 5:43 PM
#838
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: COWOA (for ZC v1.5.x)

@lindasdd ... have you given OPC a try? One-Page-Checkout is a drop-in plugin at this point.

I'd be curious to hear your thoughts vs COWOA.

8 Oct 2020, 12:48 PM
#839
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

I never used One Page Checkout because I was not aware it also handled guest accounts.

I just installed it on my test site. I think it is pretty awesome.

A drop-in plugin that impacts so much of the site is pretty surprising.

The flow works well and makes sense.

Install was amazingly easy.

This will be the checkout I use when I go live with Zen-Cart 1.5.7 in a couple days.

I will do a bunch of customizing to the styling and layout, but that's expected.

The 1 page where I make the most changes is the login page shown in the attached pics.

Each chevron (arrow) expands that section using jquery toggle. This was most important in mobile because I felt the login page was overwhelming and this made it much simpler.

Desktop:

Attachment 19229

Mobile:
Attachment 19230

24 Feb 2021, 2:48 PM
#840
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

DrByte:

@lindasdd ... have you given OPC a try? One-Page-Checkout is a drop-in plugin at this point.

I'd be curious to hear your thoughts vs COWOA.

I used OPC from 1/1/21-2/20/21ish.

Pros:

  • one page checkout
  • installation/integration was easy and didn't require modification to core files
  • guests have orders but no accounts (how one would want guest checkout to work)

Cons:

  • didn't work with my current store credit tool (not OPC's fault)
  • was causing some address book error log issues (possibly not OPC's fault, didn't dig in enough to figure it out)
  • guests have orders but no accounts

Ultimately I had to stop using OPC because 'guests have orders but no accounts' means my sales funnel becomes broken.

The most important part of my sales funnel is a discounted sample pack product. 99% of customers order it as their first item. The discount is a one time use code.

Under OPC, guest checkout doesn't get an account, so there is no way to offer them a one time use code. The solutions are either to not offer guests a code or to not limit the code to one time use. Both have downsides.

Next step in the funnel is a one time use lower tier free shipping discount code. One time use per customer. Again, not possible with OPC.

There are potentially all sorts of work arounds but they would most likely require customers to jump through hoops which will cut conversion rates off at the knees. So not worth it. Even a simple, "check your email for the code" is too much for the first checkout experience of a customer.