Just wondering if there are any plans to update this module to be compatible with the new admin sanitizer, as per this thread:
https://www.zen-cart.com/showthread.php?219747
Thanks!
Just wondering if there are any plans to update this module to be compatible with the new admin sanitizer, as per this thread:
https://www.zen-cart.com/showthread.php?219747
Thanks!
I reckon we'd better!
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
OK, for now still on 1.3.9h and using that EO mod. I use it to add products to various customers (prizes actually) when the members win a prize I go into their account--click the add button--choose from the drop menus what is needed then make it so.
I then go to the part where things are listed and in a blank line provided I list it as prizes with the negative amount to deduct it -- jot down a note in the other section and finalize it. Everything works beautifully *except for an error in the cache folder each time so need to clear cache often*
In the 1.5+ zen cart this is not happening anymore so will there be a way to fix that to work as before OR Onetime Discount (does it need installing too), will it work as needed?
Another thing I could try if it works is once the item(s) are added to the order, changing the price from whatever it is to 0.00 --will this accomplish the need I have for it to do after making it so? As you can see I am still testing this mod so hopefully before the versions of this cart get too far ahead of me I have hopes that the majority of the mods I have installed will all work right...LOL
Oh I forgot to mention my store is all virtual downloads, if that makes a difference.
![]()
Please test it: https://www.zen-cart.com/showthread....77#post1307377
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Has anyone tried adding multiline comments during an order edit? It seems to keep the ASCII carriage control in the database. So instead of
Line1
Line2
Line3
You get
Line1\r\nLine2\r\nLine3
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
OK, I've created a GitHub repository (https://github.com/lat9/edit_orders) for the plugin, initialized with EO 4.1.4 and updated with each of the bugfixes that I found while painfully scrolling through the postings.
I'm not sending this to the Zen Cart Plugins until I've had a chance to fully vet the changes; any help would be appreciated. Please continue to use this support-thread to report any issues found, making sure that you identify that you're using the GitHub version and note the date/time that you downloaded the repo's file-set.
No go. I've merged the EO 4.1.4 code with the 3/29 update for Zen Cart 1.5.5, added a product to the order and saw that the foreach log was generated. Applied wilt's update and added another product to the order -- still getting that warning.
I added a product with attributes (Matrox G200 MMS) and the attributes don't show upon completion of the addition. I made a teeny change to the requestSanitizer class to also dump the $_GET and $_POST variables on entry; here's the log that's created after I've chosen the attributes to add to the product:
Code:Mar-30-2016 09:42:02 ================================= Running Admin Sanitizers: Array ( [page] => 1 [oID] => 3 [action] => add_prdct ) Array ( [securityToken] => 929ab5ecab8c7436fbd535d9fc431c06 [id] => Array ( [3] => Array ( [value] => 4 [type] => 0 ) [4] => Array ( [value] => 3 [type] => 0 ) ) [add_product_categories_id] => 4 [add_product_products_id] => 1 [search] => [step] => 4 ) SANITIZER BUILTIN == filterSimpleAlphanumPlus PROCESSING SIMPLE_ALPHANUM_PLUS == action PROCESSING SIMPLE_ALPHANUM_PLUS == oID PROCESSING SIMPLE_ALPHANUM_PLUS == page SANITIZER BUILTIN == filterConvertInt PROCESSING CONVERT_INT (POST) == id SANITIZER BUILTIN == filterFileDirRegex SANITIZER BUILTIN == filterAlphanumDashUnderscore PROCESSING ALPHANUM_DASH_UNDERSCORE (GET) == action PROCESSING ALPHANUM_DASH_UNDERSCORE (GET) == page SANITIZER BUILTIN == filterWordsAndSymbolsRegex SANITIZER BUILTIN == filterMetaTags SANITIZER BUILTIN == filterSanitizeEmail SANITIZER BUILTIN == filterProductDescRegex PROCESSING PRODUCT_DESC_REGEX == products_description PROCESSING PRODUCT_DESC_REGEX == coupon_desc PROCESSING PRODUCT_DESC_REGEX == file_contents PROCESSING PRODUCT_DESC_REGEX == categories_description PROCESSING PRODUCT_DESC_REGEX == message_html PROCESSING PRODUCT_DESC_REGEX == banners_html_text PROCESSING PRODUCT_DESC_REGEX == pages_html_text PROCESSING PRODUCT_DESC_REGEX == comments SANITIZER BUILTIN == filterProductUrlRegex SANITIZER BUILTIN == filterCurrencyValueRegex SANITIZER BUILTIN == filterProductNameDeepRegex SANITIZER BUILTIN == filterStrictSanitizeValues PROCESSING STRICT_SANITIZE_VALUES == securityToken PROCESSING STRICT_SANITIZE_VALUES == id PROCESSING STRICT_SANITIZE_VALUES == add_product_categories_id PROCESSING STRICT_SANITIZE_VALUES == add_product_products_id PROCESSING STRICT_SANITIZE_VALUES == search PROCESSING STRICT_SANITIZE_VALUES == step PROCESSING STRICT_SANITIZE_VALUES == page PROCESSING STRICT_SANITIZE_VALUES == oID PROCESSING STRICT_SANITIZE_VALUES == action SANITIZER BUILTIN == filterStrictSanitizeKeys