Disabling Product Listing / Display Category Manufacturer Filter (PRODUCT_LIST_FILTER) made it go away ONLY on product listing
Product Listing / Include Product Listing Alpha Sorter Dropdown (PRODUCT_LIST_ALPHA_SORTER) is also already disabled
But the sorter still displays on products_new, featured_products & products_all but NOT on specials.... weird.
So instead I disabled the price options in the product listing in tpl_modules_listing_display_order.php by commenting them out. However, the (products_new, featured_products & products_all) sorters still displaying have the price options included.... where is it coming from?
In fact I fully deleted the contents of includes/templates/bootstrap/templates/tpl_modules_listing_display_order.php and still on (products_new, featured_products & products_all) the sorter shows.
~Melanie
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
If you temporarily change the site's template to responsive_classic, does the same behavior occur?
*resolved*
Last edited by mcqueeneycoins; 25 Dec 2024 at 09:46 PM.
I modified the zcabootstrapobserver.php to turn the Sold Out button into a link to the product info page. The code I have below seems to work fine on the product listing pages, but I get the following log error when on the search results page (even though the link itself still works):
Here is what I have in the observer file:Code:--> PHP Warning: Undefined array key "cPath" in /includes/classes/observers/ZcaBootstrapObserver.php on line 316.
I'm sure I've just done something wrong, but can someone help me so that the link works on any page where the Sold Out button might show?Code:} else { $sold_out_button_class = 'button_sold_out_sm'; $sold_out_button_name = BUTTON_SOLD_OUT_SMALL_ALT; $sold_out_button_link = zen_href_link(zen_get_info_page($p1['products_id']), 'cPath=' . $_GET['cPath'] . '&products_id=' . $p1['products_id'], 'SSL'); } $p2 = zca_button_link($sold_out_button_link, $sold_out_button_name, 'button_sold_out'); break;
you can try something like:
best.PHP Code:
//from
$sold_out_button_link = zen_href_link(zen_get_info_page($p1['products_id']), 'cPath=' . $_GET['cPath'] . '&products_id=' . $p1['products_id'], 'SSL');
//to
$sold_out_button_link = zen_href_link(zen_get_info_page($p1['products_id']), (isset($_GET['cPath']) ? 'cPath=' . $_GET['cPath'] : '') . '&products_id=' . $p1['products_id'], 'SSL');
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
Is it possible to enable a navigation header-bar? Or is such a plugin available?
Bookmarks