1 Attachment(s)
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
delia
Well, it's certainly not what I want to do, believe me. We had a big wrangle about it.
Can't remember where it came from, but I already have a switch for COWOA only site... Basically turns off all and any login/logoff fields and checkout is pushed through as COWOA only. I use it at times for testing things and just kept it in the code.
Quote:
Originally Posted by
davewest
I agree that the order status code can use better sanitizing and protection... will work on that.
OK... so looking at mine and the 2.6 order status pages, I had a bit of difference between them. So what I did was updated both to more consistent code with other ZC files. Changes to both template and header file was allot so fully replace for ZC 1.5.4 and 1.5.5.. I don't have anything less then 1.5.4 installed so not tested below that point.
What's new!
Spam and bot code testing by honey pot, not sure spam bot testing is really needed, but can't heart.
Delay for rapid hit abuse, change the delay time in the header define.
I think better sanitizing of the input fields.
Off switches for display of product, shipping, and payment fields.. defines are in the template, could code into the config, but not sure why!
Testing for customer that are logged in already, redirects them to the order history page instead of order status.
tests for non-existent email address's.
Added 'number' and 'email' to input fields for mobile tech... remove if this drives you nuts...
No changes in display was done, tables show up as responsive for me so left them alone. attaching zip
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
davewest
Can't remember where it came from, but I already have a switch for COWOA only site... Basically turns off all and any login/logoff fields and checkout is pushed through as COWOA only. I use it at times for testing things and just kept it in the code.
OK... so looking at mine and the 2.6 order status pages, I had a bit of difference between them. So what I did was updated both to more consistent code with other ZC files. Changes to both template and header file was allot so fully replace for ZC 1.5.4 and 1.5.5.. I don't have anything less then 1.5.4 installed so not tested below that point.
What's new!
Spam and bot code testing by honey pot, not sure spam bot testing is really needed, but can't heart.
Delay for rapid hit abuse, change the delay time in the header define.
I think better sanitizing of the input fields.
Off switches for display of product, shipping, and payment fields.. defines are in the template, could code into the config, but not sure why!
Testing for customer that are logged in already, redirects them to the order history page instead of order status.
tests for non-existent email address's.
Added 'number' and 'email' to input fields for mobile tech... remove if this drives you nuts...
No changes in display was done, tables show up as responsive for me so left them alone. attaching zip
Not sure how much of this zip file should be incorporated into the current COWOA beta.. Is this code for someone who wants a COWOA ONLY shop or is there anything in this zip file that should/could be incorporated into COWOA beta?? If there are only specific bits that should/could be incorporated, could you possibly submit those changes as a PR in the Github repo for COWOA since you know which bits should be incorporated?? Purty please... :blush:
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
DivaVocals
Not sure how much of this zip file should be incorporated into the current COWOA beta.. Is this code for someone who wants a COWOA ONLY shop or is there anything in this zip file that should/could be incorporated into COWOA beta?? If there are only specific bits that should/could be incorporated, could you possibly submit those changes as a PR in the Github repo for COWOA since you know which bits should be incorporated?? Purty please... :blush:
The zip was just the order status page. The COWOA only switch is not included. I'll look at github and see what I can do.. I disconnected my fork for I went down a different hole... just found a new rabbit to chase so may be taking it down again and rewriting it..
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
davewest
The zip was just the order status page. The COWOA only switch is not included. I'll look at github and see what I can do.. I disconnected my fork for I went down a different hole... just found a new rabbit to chase so may be taking it down again and rewriting it..
If this is just an update to the order status page, I can incorporate your zip file into COWOA..
Re: COWOA Updated and Combined for ZC v1.5.x
Can I use the Cowoa Beta version on a live 1.5.5 website, as it all seems to be working OK? If not, do you know when it will be added to the plugins section?
Re: COWOA Updated and Combined for ZC v1.5.x
I have a problem in 1.5.1 that I actually don't think is COWOA related but need to check to see if this rings a bell with anyone.
Free shipping over $50 is enabled and now that is the only shipping choice showing. Everything else disappears. The options do show when the total is under $50.
If this is due to COWOA, it would simply have been something I've never witnessed as most sites I work on don't do free shipping too. It's also such a subtle change and wouldn't impact every site that it just may not have been noticed before. I wouldn't bet on that though. and this is a 1.5.1 site.
Re: COWOA (for ZC v1.5.x)
and we also tried turning off the $50 free shipping to have it all start working normally again. So this has something to do with free shipping only as I suspected.
This particular cart does have a reoccurring error that was introduced last year. It was unnoticed til now though I still don't know what's causing it. In the shopping cart, the page does not display the estimate shipping information, and throws an error
Cannot redeclare class order in /home/xxxxxx/public_html/includes/classes/order.php on line 1054
There's nothing wrong with that file as I had uploaded the original one from 1.5.1 and the problem still occurs. I don't know if this is part of this problem or not so I hesitated to mention it. But... maybe.... it might give a clue as to what's going on.
Re: COWOA (for ZC v1.5.x)
was given the code to fix that php error so that is not part of the shipping options problem
Re: COWOA (for ZC v1.5.x)
Problem solved: Files which do
require(DIR_WS_CLASSES . 'order.php');
must be changed to
require_once(DIR_WS_CLASSES . 'order.php');
(notably includes/modules/shipping_estimator.php)
Re: COWOA (for ZC v1.5.x)
Yes, that was the error fix. Thanks, Scott.
still got no options showing up for shipping besides free