Hi Kinsley,
glad you could resolve your problem. Filters are fully operational as far as I'm concerned…?
Best regards,
p.
Printable View
Hi Kinsley,
glad you could resolve your problem. Filters are fully operational as far as I'm concerned…?
Best regards,
p.
Hah oh dear - this is driving me daft.
OK you are right filters is there - except that on an update it is breaking out before it gets to the 0.9.3 section. I have just checked the 0.9.4 zip file and in the init_product_type_bookx.php file on line 623 it has a break; command.
So, taking that out has installed the filter options etc from 0.9.3.
Unfortunately I can't figure out how to have filter by author type? Both Illustrator and Authors are shown in the same Authors drop down - is this by design?
Thanks,
Kinsley
Goodness, you are right, that break; on line 623 of the installation script from 0.9.2 to 0.9.4 should not be there.
Did you set "Allow multiple filters" to "true" in ADMIN -> Catalog -> Product Types -> Product Type BookX -> edit layout ?
Hi Philou,
Yes I've enabled the Filter author type and also the Allow multiple filters active.
Kinsley
Hm, i don't quite see what is going wrong.
Just to be sure:
in ADMIN -> Catalog -> Product Types -> Product Type BookX -> edit layout you have two settings:
Filter Sidebox - Filter Autor
Filter Sidebox - Filter Author Type
Both are set to "1", yes?
Of course you also have at least one author and at least one author type set up and you also have at least one product with this author and that type?
If all this is the case, can you go to ADMIN -> Tools -> Developer Tool Kit and look for this constant: SHOW_PRODUCT_BOOKX_FILTER_AUTHOR_TYPE
Does it find it? If yes, then it really beats me what is going on.
Finally, do you have the possibility to debug the code i.e. set breakpoints or is that a bit above what you are comfortable with? The logic to show the author type filter dropdown is in [YOUR_ZC_INSTALLATION]/includes/modules/sideboxes/bookx_filters.php around line 71. I don't have much I can debug here, since it is working for me. I would first have to be able to reproduce the error.
Have you tried to use the RESET Bookx option new in 0.9.4r4 to be found in ADMIN -> Tools -> BookX Tools -> Reset settings? Make a DB backup first !!
This makes sure all the settings constants etc. are in the DB, but it also resets their values, notable ALLOW_ MULTIPLE_FILTERS to "0" = no.
Regards,
p.
Bl**dy hell - ok I figured out what the problem was - and again it wasn't your fault.
The previous developer copied the file into the bespoke template folder and it was an older version of the filter code.
I deleted that and guess what - it works now as it uses the template default version.
Gee sorry to have wasted your time Philou.
Kinsley
Guess you're not called redrandsom for nothing ;)
At least it wasn't a fault in my code, and you spotted the bug in the install script, so that's good.
Regards,
p.
Hi there
Sometime I see this message :
This book is not currently displayed in your shop, since the "product status" is set to
Everything is working fine, but there is this message .
Thanks
Hi mesnitu,
it should read This book is not currently displayed in your shop, since the "product status" is set to "Out of stock".
It will be fixed in next release. If it bothers you then change line 35 of [ADMIN] –> includes -> languages -> english (or portugese :) ) -> product_bookx.php
to
Regards,PHP Code:
define('TEXT_PRODUCT_NOT_DISPLAYED_DUE_TO_PRODUCT_STATUS', 'This book is not currently displayed in your shop, since the "product status" is set to "Out of stock".');
p.
hi
ok, but I forgot to mentioned , that this message it's when I about to insert a new product.... so there is no product or stock.
Thanks