It did and didn't fix my problem. For the New Products section, turning off the "Base on Publishing Date" option makes the books reappear there. The weird thing is that I have it set to show a maximum of six (six across, so one row), but it's showing five rows of six each (probably close to if not all the recent books within the time frame I have set). I also had it dressed down to bare bones -- just the book image and the title, with links for both, and I can't find where to remove the author, price, and series details that are listed near it for the Bookx version. (I can figure out how to shut this off manually by manipulating the code, but I mention it in case you want to make those options or if I'm missing someplace else to tweak these things.)
The Upcoming Products is stranger. I set the option to 0 to shut off Base on Publishing Date, and it crops up with an error and won't load the page past where the Upcoming Products are supposed to be listed. The log is below. I don't know if this is something that I caused when I was merging files, but I can't seem to pinpoint where the problem is, as the log is over my head. All I understand is that something is wrong in the syntax. :-) I tried this with both the \includes\templates[my template]\templates\tpl_modules_upcoming_products.php that I merged with my formatting changes and then with the original from the plugin, but got the same error both times.
(Also, the product status (in stock vs. out of stock) is correct for all the book. I assume that's what you're referring to, but if I'm missing something there point me in the right direction.)
[21-Oct-2014 04:16:11 UTC] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY p.products_id ORDER BY be.publishing_date, p.products_date_available a' at line 17 :: select p.products_id, be.publishing_date, pd.products_description, p.products_image,
CONCAT_WS(""
,pd.products_name
,IF(NULLIF(be.volume, "") IS NOT NULL, CONCAT_WS("", " <span class='bookxProdVolume'>", REPLACE("vol. %s", "%s", be.volume), "</span>"), "")
,IF(NULLIF(bed.products_subtitle, "") IS NOT NULL, CONCAT_WS("", " – <span class='bookxProdSubtitle'>", bed.products_subtitle, "</span>"), "")
) AS products_name,
CASE WHEN DAYOFMONTH(be.publishing_date) THEN DATE_FORMAT(be.publishing_date, "%m/%d/%Y")
WHEN MONTH(be.publishing_date) THEN DATE_FORMAT(be.publishing_date, "%M %Y")
ELSE YEAR(be.publishing_date)
END AS formatted_publishing_date, be.size , printd.printing_description , bd.binding_description , cd.condition_description , p.products_model , GROUP_CONCAT(DISTINCT CONCAT_WS("", IF("" = IFNULL(batd.type_description,""), "", CONCAT_WS("", "<span class=\"bookxLabel\">", batd.type_description , ": </span>")), ba.author_name) ORDER BY bat.type_sort_order ASC SEPARATOR " · ") AS authors, products_date_available as date_expected, p.master_categories_id
from products p, products_description pd
LEFT JOIN product_bookx_extra be ON be.products_id = pd.products_id
LEFT JOIN product_bookx_extra_description bed ON bed.products_id = pd.products_id AND bed.languages_id = "1" LEFT JOIN product_bookx_printing_description printd ON printd.bookx_printing_id = be.bookx_printing_id AND printd.languages_id = "1" LEFT JOIN product_bookx_binding_description bd ON bd.bookx_binding_id = be.bookx_binding_id AND bd.languages_id = "1" LEFT JOIN product_bookx_condition_descriptions cd ON cd.bookx_condition_id = be.bookx_condition_id AND cd.languages_id = "1" LEFT JOIN product_bookx_authors_to_products batp ON batp.products_id = be.products_id
LEFT JOIN product_bookx_authors ba ON batp.bookx_author_id = ba.bookx_author_id
LEFT JOIN product_bookx_author_types bat ON bat.bookx_author_type_id = batp.bookx_author_type_id AND bat.type_sort_order < "1000" LEFT JOIN product_bookx_author_types_description batd ON batd.bookx_author_type_id = batp.bookx_author_type_id AND batd.languages_id = "1" where p.products_id = pd.products_id
and p.products_status = 1
and pd.language_id = '1' and (p.products_date_available >20141021235959 GROUP BY p.products_id ORDER BY be.publishing_date, p.products_date_available asc
limit 4 in C:\wamp\www\books3\includes\classes\db\mysql\query_factory.php on line 220
[21-Oct-2014 04:16:11 UTC] PHP Stack trace:
[21-Oct-2014 04:16:11 UTC] PHP 1. {main}() C:\wamp\www\books3\index.php:0
[21-Oct-2014 04:16:11 UTC] PHP 2. require() C:\wamp\www\books3\index.php:193
[21-Oct-2014 04:16:11 UTC] PHP 3. require() C:\wamp\www\books3\includes\templates\lt3shiny\common\tpl_main_page.php:122
[21-Oct-2014 04:16:11 UTC] PHP 4. require() C:\wamp\www\books3\includes\modules\pages\index\main_template_vars.php:433
[21-Oct-2014 04:16:11 UTC] PHP 5. include() C:\wamp\www\books3\includes\templates\lt3shiny\templates\tpl_index_default.php:81
[21-Oct-2014 04:16:11 UTC] PHP 6. queryFactory->Execute() C:\wamp\www\books3\includes\modules\lt3shiny\upcoming_products.php:63
[21-Oct-2014 04:16:11 UTC] PHP 7. queryFactory->set_error() C:\wamp\www\books3\includes\classes\db\mysql\query_factory.php:428
[21-Oct-2014 04:16:11 UTC] PHP 8. queryFactory->show_error() C:\wamp\www\books3\includes\classes\db\mysql\query_factory.php:190
[21-Oct-2014 04:16:11 UTC] PHP 9. trigger_error() C:\wamp\www\books3\includes\classes\db\mysql\query_factory.php:220