Page 22 of 43 FirstFirst ... 12202122232432 ... LastLast
Results 211 to 220 of 427
  1. #211
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Hi Kinsley,

    glad you could resolve your problem. Filters are fully operational as far as I'm concerned…?

    Best regards,
    p.

  2. #212
    Join Date
    Aug 2014
    Posts
    20
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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

  3. #213
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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 ?

  4. #214
    Join Date
    Aug 2014
    Posts
    20
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Hi Philou,

    Yes I've enabled the Filter author type and also the Allow multiple filters active.

    Kinsley

  5. #215
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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.

  6. #216
    Join Date
    Aug 2014
    Posts
    20
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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

  7. #217
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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.

  8. #218
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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

  9. #219
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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
    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".'); 
    Regards,
    p.

  10. #220
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    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

 

 
Page 22 of 43 FirstFirst ... 12202122232432 ... LastLast

Similar Threads

  1. Why "No, Normal Shipping Rules" option for a "Product - Free Shipping" type?
    By ilikemike in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 31 Dec 2011, 12:34 AM
  2. Replies: 5
    Last Post: 11 Sep 2009, 04:51 AM
  3. Different "Sold Out" images for each product type
    By Starlyn in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 20 Mar 2009, 10:37 PM
  4. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  5. "Array()" line on "Update Address Book" page
    By vera in forum Managing Customers and Orders
    Replies: 10
    Last Post: 22 Sep 2006, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR