I keep coming back to this as it speaks to a fact that your code may be somewhat customised.
If you create a customer on your site is it setting the entry_zone_id in the address book. If it is,...
Type: Posts; User: wilt
I keep coming back to this as it speaks to a fact that your code may be somewhat customised.
If you create a customer on your site is it setting the entry_zone_id in the address book. If it is,...
K, so regardless of the fact that this may have been outstanding for 30 days !!
I've been actively looking at this for less than a week.
I'm working on a branch ...
Can you check your database and confirm the entry_zone_id in addressbook for the customer in the order you posted
k.
Think I have reproduced you error.
Not sure how you have your taxes set up
I started with a clean v158 install - no demo products
Set the store location to New Mexico
Removed the Tax Rate for Florida
Created a Zone Definition...
Hi
First off as per internet regulations, I'm not a Tax lawyer. :)
I had a quick look at New Mexico state law and as ever all the information is poor with no definitive guidance for e-commerce...
Note as well
US sales/shipping tax related to e-commerce is a nightmare
e.g. California has a mix of origin and destination based taxes (its always California)
and there are some things Zen...
I think we might be getting confused here and I'm not grokking what your expected outcome is
If I set product tax to be 'Store' based then Zen Cart will only calculate some tax if the customer is...
Just another question.
Assume your scenario is this
Store is set to be in Florida e.g STORE_ZONEi 18, STORE_COUNTRY = 223
Customer is in Texas with correct entry zone id in database
...
k. thanks.
then it maybe there is something else going wrong.
will do a quick test with your data.
I've been investigating this issue and have come up with a reason that it is failing.
The biggest issue relates to how customer accounts are being created, and maybe you can confirm.
The current...
have been looking at this and have found a couple of code issues that will be affecting this in the zen_get_tax_locations function
hoping to have a fix asap
We are pleased to announce the release of Zen Cart v1.5.7d
Download available here: https://github.com/zencart/zencart/archive/refs/tags/v1.5.7d.zip
Minimum Requirements
Zen Cart v1.5.7...
Thanks Scott.
Thanks also to those who have supported Zen Cart not just monetarily, but supporting here on the forums and with github.
Only thing I could find on this is
https://www.avalara.com/vatlive/en/vat-news/uk-post-brexit-vat-on-e-commerce-b2c-imports.html
The inbuilt DisplayLogs plugin contains an example of using an Installer Class
e.g. zc_plugins/DisplayLogs/v3.0.0/Installer/ScriptedInstaller.php
Hi,
As mentioned already, for v157 there is not that much support for plugins are used catalog side, that will come in v158.
Note also that code within the zc_plugin directory is protected by...
One of the main reasons that SESSION_FORCE_COOKIE_USE fails is some incorrect server configuration.
Usually a mismatch between your websites domain and it's actual host address.
You say that...
We were recently notified of a security vulnerabilty regarding the sanitization of the 'notify' parameter used in Zen Cart to add product notifications to a user account.
The proof of concept...
With the release of Zen Cart 1.5.6b, Zen Cart is now fully compatible with PHP 7.3 and MySQL 5.7. We don't anticipate a Zen Cart 1.5.6c release, but there may be a small one if a high priority bug...
As the only core team member residing in the EU, thought I would offer my thoughts here.
First, as mentioned in a previous post, be wary of scaremongers, especially when they are consultants...
Note.
Have also opened a github issue.
https://github.com/zencart/zencart/issues/1348
Hi
There is some documentation about customizing the sanitizers here
However, to make your life easier, here is what to do.
Create a new file in [admin]/includes/extra_datafiles/
I...
You may want to take a look at
[admin]/includes/classes/split_page_results_new.php
while this has different method signatures from the legacy split_page_results class it does allow for passing in...
What ZC version are you using
and is this admin or catalog side code
Hi so have done an initial PR for v1.6
https://github.com/zcwilt/zc-v1-series/commit/285288132585e6034754f86c51a076103a726f40
This should fix the problem of seeing the session timeout page...
Hi Mark.
Have been doing some digging and testing regarding this after some discussions with DrByte.
Firstly regarding your suggestion
if (isset($_POST[zen_session_name()])) {
...
This wasn't what I asked :)
What I asked is whether demo data had been loaded.
e.g whether products table had been populated
Another thing to check, which will give some indication of how far the install progress got, is to check the contents of the
products table (assuming you asked for demo data to be installed)
Are...
Hi Mark
Do you have settings in Apache to do any kind of redirects.
Also would you mind telling us who your host is.
Hi
Currently hoping there aren't any. I updated our functional test suite recently, just to test this. The changes did not break any of the tests relating to tax calculations.
Hi all
This is in fact a problem with core code, and not really related to any plugins.
The reviews code passes a 'products_name' hidden field which in this context is a string.
However in...
Also thanks to Scott(swguy) for reminding me to do that :)
Did a quick test on my v155 branch.
Copy/pasted a chevron into a description.
saved OK and displays OK in admin/catalog
Hmmm
product description is probably the most permissive field as far as admin sanitizer is concerned.
How do you enter the chevron. As an html entity ?
Hi
I tried this a clean install of v155 and could not see any problems.
Here is what I did.
Clean Install
Admin set DISPLAY_PRICE_WITH_TAX = true
Created Tax Class called 'Shipping...
drbyte suggests
(int)(PROJECT_VERSION_MAJOR . '.' . PROJECT_VERSION_MINOR <= '1.5.5');
The problem is this test
if (defined ('PROJECT_VERSION_MAJOR') && version_compare (PROJECT_VERSION_MAJOR . '.' . PROJECT_VERSION_MINOR, '1.5.5', '>=') && class_exists ('AdminRequestSanitizer') &&...
This should work.
I note that if I add $sanitizer->setDebug(true); to the end of admin/includes/init_includes/init_sanitize.php I get Sanitize logs
HI
On the other hand we need to consider what the TEXT attribute was meant for.
Assume you have a T-Shirt shop where the customer can define the text that appears on the T-Shirt
Using...
Hi
That does in fact seem like a cool solution, although DrByte and I were talking and think PRODUCT_NAME_DEEP_REGEX is better than PRODUCT_DESC_REGEX as it is less permissive.
Hi,
grrrr.
I guess as a quick fix you could assign a NULL_ACTION to the value parameter as part of a MULTI_DIMENSIONAL sanitizer.
Fortunately you caught me at a point where I was preparing...
Hi
Can you provide info regarding your server setup
e.g. php version, mysql version etc.
your admin/server_info.php will provide this info
Or put a file on your server like this: ...
Fix pushed here
https://github.com/zencart/zencart/pull/894/commits/3e07484bb9abc7f1dafe8cdd8916edf14a41984d
Hi
I just pushed some final changes to the code, this shouldn't affect anything you have been testing as it mainly revolves around custom sanitizers and unit testing.
Will do the PR against core...
So I've pushed up a change to my testing branch to add a FLOAT_VALUE_REGEX
I guess that probably 'tax' and 'final_price' should strictly speaking be floats.
In fact I think the...
Will add this :)
Just to be clear here.
If you want to test latest code, you need to pull in the changes from my https://github.com/zcwilt/zc-v1-series/tree/adminsanitizer-updates branch
and there are 3 files ...
Have you defined any extra sanitizers.
I'm about to update the docs regarding this.
I'm working on updated documentation, and probably some expanded tests.
Will post here once done.