Re: Creating an add-on "product type book" for ZC 1.5
Hi
As I was testing, copy and pasting formatted text to author description (in this case from wikipedia), results in a strange behavior, that I can't edit the author anymore. I have to delete in the database.
Formatting the author text with fckeditor it's on as far as I can tell.
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
Maybe an HTML tag in your editor text? If by any chance you put a </div> in there, it could very well mess things up.
Rather look at the contents without any editor and see if you find something in the text field which should be in there.
Re: Creating an add-on "product type book" for ZC 1.5
hi
Yes , in this case was copy and past from the wiki..... I usually don't do that, I paste the info without any formatting and I use fckeditor, and with fckeditor until now, I didn't see a problem, using div , links, etc...
I was just saying, because, after this mistake, only in phpmyadmin I can delete the info.
But for me it's ok .
But the info displays ok in the front page. Is just in the admin
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
Hi there
Sorry for so many questions, but I have another one:
I have to testing situations:
1- A book with 3 authors (the authors have image, description, etc...)
2- A Book with 3 authors (the authors have no image, nothing...)
When styling the related products list, I was trying to make everything look the same, but in the 1 situation, I have a related product, I did a nice <li> to .bookxAuthorRelatedProducts
In 2 situation it goes to a team_related products.... and for some reason (possibly tiered ) , I place <ul> outside the foreach , but he doesn't appear, and I respect that :)
So I saw a flag $flag_show_product_bookx_info_authors_team_related_products , and I thought : ok, that's paradise, no teams !
But I don't see that in the configuration, or I'm missing something.
What are the scenarios for teams, and for other books with more than one author ?
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
Hi mesnitu,
sorry, forgot to answer your question about "teams".
There is no separate setting to show "teams" or not. The logic is this:
If there is a "team" of let's say 3 authors who have published multiple books together, then under each author the same books would have to be listed. If there are 3 authors like in your example, then the same books are listed three times.
That is where the "team" comes in. If there are other books by exactly the same "team" of the book currently displayed, then those books go under "other books by the same author team". If in addition one of the authors has published another book by herself, then that book only shows under her biography.
So if you choose to "show books by the same author" then "team" are automatically also shown.
Possibly an ADMIN setting to choos the "team" option would be good.
Regards,
p.
Re: Creating an add-on "product type book" for ZC 1.5
Hi there
Are the meta tags working ? I'm having this error when trying to add or view the meta_tags :
Code:
[22-Nov-2014 09:38:38 Europe/Lisbon] PHP Warning: require(includes/modules/product_bookx/collect_info_metatags.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/promoboo/public_html/admin/product_bookx.php on line 150
The line is this one:
PHP Code:
if ($action == 'new_product_meta_tags') {
require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/collect_info_metatags.php');
} else {
require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/collect_info.php');
}
Show this files exist in product_bookx folder ?
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
Hi mesnitu,
I have not yet implemented the meta tags. You could copy the file "collect_info_metatags.php" from [ADMIN]/includes/modules/product/ and it should work (but without Bookx specific info).
Regards,
p.
Re: Creating an add-on "product type book" for ZC 1.5
Hi
ok, I did that, and it's working.
Thanks
Another thing: I'm not using it, and after I disable it, but the way bookx treats the new products by date..... So I had the default config (90 days ), and I realize that the add cart button was replace by a "new" button, but when clicked, it goes to shopping cart page, where I can see the full description, but it does not add the book to the shopping cart, neither gives anyway out, except clicking on the image (don't remember if the title is a link also), and go back to the product_bookx_info......
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
By the way, another question about the use of genres vs categories, because I got lost, or confused in the way.... but, when we add a product type bookx, we always have to assign a genre, right ? It has nothing to do with categories, or shod the main genre be related with the categorie where the product_type is been inserted ?
I'm asking this, because I started to insert some books "manually" , (I've used a csv files to import all the data), and I see a add "additional genre"....so that's my confusion.
So If I had no genre, there's .... no genre. Is this correct ?
Thanks
Re: Creating an add-on "product type book" for ZC 1.5
Hi mesnitu,
that doesn't sound right.
Just to be sure:
You are saying even when you turn off the option "New Products: Base on Publication Date" by setting it to "0" then the "New Products" list is not sorted by publication date (expected behaviour) but the product info page shows a "new" button instead of "Add to cart" button and it is also not adding the product to cart?
Second part of the problem the "add to cart" button (which says "new" in this case) takes you to the shopping cart and you have no way to leave the shopping cart page? What would you expect to happen when you click the "add to cart" button (which says "new" in this case) and how would you expect to leave the shopping cart page?
Regards,
p.