Jump to content

 

tbirnseth

Member Since 08 Nov 2008
Offline Last Active Today, 07:32 PM
*****

Topics I've Started

Data-* Attributes In Html

16 September 2019 - 07:22 PM

Can anyone provide a pointer to any documentation that lists all the data* attributes by name, any values they may have and/or the behavior of each?

 

There's no documentation I can find on this other than how to set a link to submit a form.

 

Having

data-ca-lite-checkout-auto-save-on-change

"true" or "false"

Determines whether to save the values when the value changes.  Will "GET" the data to controller=checkout, mode=customer_info

 

From what I can see, there may be 10's or 100's of these with various meanings and definitions.   A simple presence should indicate 'true" and absence indicates "false"

 

Sure be nice if developer documenation was available BEFORE a release or at least at the time of release!  Grr...


Ez Admin Helper Updated To Support 4.10.x

12 August 2019 - 07:21 PM

Our EZ Admin Helper addon has been updated to support changes in 4.10.x.

Easily perform maintenance activities from a single page or schedule to be run via cron at the frequency you choose.  Some of the maintenance actions that can be done are:

+ Clear cache

+ Clear template cache

+ Clear thumbnail cache

+ Clear logs

+ Clear statistics

+ Clear carts

+ Backup site

+ Optimize database

+ Backup database

+ Update currencies

+ Monitor files

+ Check detailed images

+ Check security intrusions

+ Sync orders and users

+ Archive order

+ Change admin URL

 

Current documentation can be found at: https//:ez-ms.com/docs/ez_maint.pdf


Ez Squarepay - Compatible With 4.10.x

23 July 2019 - 10:57 PM

We have completed modification of EZ Squarepay addon.  In addition to compatibility with the new 'lite checkout', we've added the following additional features:

- Added support for multiple refunds per order

- Added integration with RMA subsystem

- RMA integration will also refund taxes if EZ Taxjar is installed (will make generic at a later time).

- Added new methods for saving cards without charge (I.e. to update expiry) and to return generic info on 

  customer, card used, stored card info and transaction details.

 

We are planning to work on compatibility of EZ Admin Helper and EZ Checkout Summary Fields.  We will address others as demand requires.


Ez Auto Mail Now Compatible With 4.10

23 July 2019 - 10:50 PM

We have updated our EZ Auto Mail addon to be compatible with version 4.10.x of cs-cart.

We are also working on EZ Squarepay, EZ Admin Helper and EZ Checkout Summary Fields.

 

Separate posts will follow as we convert/verify our addons.


Cron Jobs Ouputting Meta Refresh Strings

11 July 2019 - 07:58 PM

More odd cron behaviors that may be related to the hosting environment.

Addons that are run in the admin context from by myself and Simtech Dev are generating output when run from cron of:

<meta http-equiv="Refresh" content="0;URL=https://modestiq.com/modestpanel.php?%2Fhome%2Fmodest20%2Fpublic_html%2Fmodestpanel_php=&amp;--dispatch=seo_pack_cron.apply&amp;--cron_password=multipass" />

and

<meta http-equiv="Refresh" content="0;URL=https://modestiq.com/modestpanel.php?_%2Fmodestpanel_php=&amp;--dispatch=ez_shopify_cron.update_stores&amp;--cron_password=multipass" />

The same commands run from the command line in an SSH window do not generate the meta refresh.

 

Something is causing cs-cart to do a fn_redirect() where the meta string is output.  A backtrace generated just before the fn_echo() of the meta tag is:

Array
(
    [0] => Array
        (
            [file] => /home/modest20/public_html/app/functions/fn.control.php
            [line] => 329
            [function] => fn_redirect
            [args] => Array
                (
                    [0] => https://modestiq.com/modestpanel.php?_%2Fmodestpanel_php=&--dispatch=ez_shopify_cron.update_stores&--cron_password=multipass
                )
 
        )
 
    [1] => Array
        (
            [file] => /home/modest20/public_html/modestpanel.php
            [line] => 27
            [function] => fn_dispatch
            [args] => Array
                (
                )
 
        )
 
)
 
I found that 'CONSOLE' is not being defined.  Seems that Bootstrap.php has code to check if PHP_SAPI is set to 'cli' and if so, defines CONSOLE and then all the other stuff will work okay.  So I've asked the hosting company for a PHP command to use in cron that will behave the same as php executed from a shell prompt (but have very low expectations).
 
Anyone else seen and addressed this issue?  If I use ea-php72 instead of php, it generates a warning about tyring to do an ini_set but then also outputs the meta tag and exits...
 
So frustrating to have to debug this stuff....