Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
This file is formed by combining the modules\sideboxes\currencies.php and templates\template_default\sideboxes\tpl_currencies.php to display the currencies selection on other place. Now, I had removed those code, turned on the currencies sidebox and got the same warning message.
Code:zen_draw_hidden_field() H:\onlinestore\includes\modules\sideboxes\currencies.php:33![]()
It looks like that, instead of one element of a array, a array was passed on as a parameter some where.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
HI , I am trying to add lots of filter to my products ( color, size, type , material, etc ) so that customers can filter their desired choices
All filters shows up on the side box filter list AND ALSO in the product info page
I don;t want all these filters to come up on my product info page ( except for color and size attribute)
I have see the flexible attribute plugin also but not able to go forward , also the read only attribute is not working
Experts , could you please advice , how to achieve this
www.feerol.com
On v1.51, I have replaced my installed 'product_filter_by_attribute_and_price_range_0-7' with the 'Dynamic_Attribute_filter-Version-1.2' from Design75's github page (thanks very much for this, it's great) and is working on local dev server - so sorry no live site to see.
I need to know whether the following behaviour is normal:
To replace the stock alpha dropdown I have installed both 'product_filter_module_for_zencart_1-1' and 'product_listing_sorter_v2' (not at the same time!) both of which do a similar sort of thing, then
if I filter with the dynamic mod and THEN sort with either of the above mods the filtered products get reset and display all
but, if I FIRST sort the products, say by price high-low and then filter, the sort remains in place on the filtered products.
So basically - sorting after filtering resets the filter
Pretty sure this isn't normal does anyone have an suggestions bearing in mind you can't see the site?
Anyone knows why would this mod throw an error on php 5.3, but does not on php 5.2?
I have tested this and error "trim() expects parameter 1 to be string, array given in functions_general.php on line 63" only shows up on php 5.3.
Line 63 is part of:
Does anyone have a solution for this?PHP Code:
function zen_parse_input_field_data($data, $parse) {
return strtr(trim($data), $parse);
}
Do you think you could explain how this works, which special characters does it escape? Looks like it might be just ["]. If so how would I amend the code to escape other characters? (I have html code in products_options_values_name so there may be more characters to address)
I'm also having trouble getting products to display when characters such as comma and decimal point are in products_options_values_name (no html code in these)
How would I amend the code to convert, I guess
, to & #44;
. to & #46;
(spaces added after &)
Thanks
Last edited by simon1066; 1 Sep 2013 at 11:29 AM. Reason: space added to html spec. char.
Whilst looking at this further it seems that although there was definitely an issue with using a comma, the no show of some products may be related to the number of characters in products_options_values_name.
It all seems a bit odd, so I'm off to check that file merging was done properly
Bookmarks