Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 545,493

Results 1,481 to 1,500 of 1,686
25 Dec 2024, 12:24 PM
#1481
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

ZCA Bootstrap 4 Template [Support Thread]

mprough:

Zen Cart 2.0.1
PHP 8.3.14
Bootstrap 3.7.2-beta5
No other plugins

The listingDisplayOrderSorter with recommended, product name etc is only configurable via a file edit? Just making sure, I found no admin side config for it.

~Melanie
While that sorter has no control of its own, it's only displayed if one (or both) of Product Listing / Display Category Manufacturer Filter (PRODUCT_LIST_FILTER) or Product Listing / Include Product Listing Alpha Sorter Dropdown (PRODUCT_LIST_ALPHA_SORTER) are enabled.

25 Dec 2024, 12:45 PM
#1482
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,296
Plugin Contributions:
39

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

While that sorter has no control of its own, it's only displayed if one (or both) of Product Listing / Display Category Manufacturer Filter (PRODUCT_LIST_FILTER) or Product Listing / Include Product Listing Alpha Sorter Dropdown (PRODUCT_LIST_ALPHA_SORTER) are enabled.

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 https://pro-webs.net/

25 Dec 2024, 2:57 PM
#1483
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

If you temporarily change the site's template to responsive_classic, does the same behavior occur?

25 Dec 2024, 8:40 PM
#1484
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

resolved

25 Dec 2024, 8:52 PM
#1485
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

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):

--> PHP Warning: Undefined array key "cPath" in /includes/classes/observers/ZcaBootstrapObserver.php on line 316.

Here is what I have in the observer file:

                } 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;

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?

26 Dec 2024, 6:20 AM
#1486
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,967
Plugin Contributions:
8

Re: ZCA Bootstrap 4 Template [Support Thread]

you can try something like:

//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');

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

26 Dec 2024, 9:25 AM
#1487
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,296
Plugin Contributions:
39

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

If you temporarily change the site's template to responsive_classic, does the same behavior occur?

It's live. I was able to remove the options for $$, but not the dropdown.

PRO-Webs, Inc. since 2003 https://pro-webs.net/

27 Dec 2024, 11:38 PM
#1488
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

carlwhat:

you can try something like:

//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');

> 
> best.

Thank you @carlwhat!
28 Dec 2024, 3:47 PM
#1489
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Is it possible to enable a navigation header-bar? Or is such a plugin available?

28 Dec 2024, 4:30 PM
#1490
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

DML73:

Is it possible to enable a navigation header-bar? Or is such a plugin available?
Like a 'mega-menu'? I've done that for other sites, but don't have the code as a plugin.

3 Jan 2025, 3:39 PM
#1491
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
142
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

ZC 2.1.0
PHP 3.2
Using version 3.7.4 of this template

Everything appears to work however I am getting the following error logs:

[03-Jan-2025 13:39:22 UTC] Request URI: /index.php?main_page=product_info&products_id=1990, IP address: xx.xxx.xx.xxx, Language id 1
#0 /includes/modules/pages/product_info/main_template_vars.php(66): zen_debug_error_handler()
#1 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/customer/...')
#2 /index.php(94): require('/home/customer/...')
--> PHP Warning: Undefined array key "lang" in /includes/modules/pages/product_info/main_template_vars.php on line 66.

Thank you

3 Jan 2025, 5:08 PM
#1492
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

n8pbm:

ZC 2.1.0
PHP 3.2
Using version 3.7.4 of this template

Everything appears to work however I am getting the following error logs:

[03-Jan-2025 13:39:22 UTC] Request URI: /index.php?main_page=product_info&products_id=1990, IP address: xx.xxx.xx.xxx, Language id 1
#0 /includes/modules/pages/product_info/main_template_vars.php(66): zen_debug_error_handler()
#1 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/customer/...')
#2 /index.php(94): require('/home/customer/...')
--> PHP Warning: Undefined array key "lang" in /includes/modules/pages/product_info/main_template_vars.php on line 66.

Thank you
What additional plugins/add-ons are present on the site? What sideboxes are enabled?

3 Jan 2025, 5:35 PM
#1493
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
142
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Plugins installed

Braintree Credit card (Old Version and does generate depreciation logs)
Ty package Tracker
Export Shipping and Order Information II
DBIo
Order comments Boilerplate

Sideboxes are:
category
EZ Pages
Bootstrap/Information

I know the Braintree plugin needs to be upgraded, However the new upgrade does not work with my Braintree account. I am hoping that will be fixed soon. I originally thought that module was causing the issues (And maybe it is).

Thank you

3 Jan 2025, 6:15 PM
#1494
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Hmm, none of those add-ons/sideboxes should have bearing on that log (coming from the Zen Cart base).

Is your site multi-lingual?

3 Jan 2025, 6:29 PM
#1495
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

I like the modal dialog display of additional images, and generally it's just what's needed.

However, occasionally some detail in the image can still be hard to see when it's scaled down to 500 px wide. Would you consider adding a link to the dialog to open the image in full size?

ZC 1.5.8a, Bootstrap 3.6.4.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Jan 2025, 6:45 PM
#1496
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
142
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

Hmm, none of those add-ons/sideboxes should have bearing on that log (coming from the Zen Cart base).

Is your site multi-lingual?

It is not.

However, I think this is a product that should not be active. It appears to be a product that is "abandoned" somehow. I cannot find it in the admin/catalog area. So I think it is a product that got abandoned. I will do some investigating.

3 Jan 2025, 7:26 PM
#1497
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
142
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Just an update, it looks like I have a product listed in the products table that does not have a record in the products_description table. I believe this is causing the issue.

I may have to find a way to create a SQL Statement to identify any other orphan records.

Thanks for the feedback.

3 Jan 2025, 7:31 PM
#1498
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

n8pbm:

Just an update, it looks like I have a product listed in the products table that does not have a record in the products_description table. I believe this is causing the issue.

I may have to find a way to create a SQL Statement to identify any other orphan records.

select p.products_id from products p where not exists (Select pd.products_id from products_description pd where pd.products_id = p.products_id);

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 Jan 2025, 8:27 AM
#1499
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

ZC2.1.0, Bootstrap 3.7.4.

No sure if this is relevant, a bug in the template or if I did something wrong, but just wanted to make a note about this cart update button issue:

https://www.zen-cart.com/showthread.php?230532-Update-quantity-in-cart-not-updating&p=1405206#post1405206

Hoping maybe somebody could confirm if it's a template bug or not.

9 Jan 2025, 1:50 PM
#1500
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

DML73:

ZC2.1.0, Bootstrap 3.7.4.

No sure if this is relevant, a bug in the template or if I did something wrong, but just wanted to make a note about this cart update button issue:

https://www.zen-cart.com/showthread.php?230532-Update-quantity-in-cart-not-updating&p=1405206#post1405206

Hoping maybe somebody could confirm if it's a template bug or not.
It is; see this correction which will be part of v3.7.5 of the template:

https://github.com/lat9/ZCA-Bootstrap-Template/commit/437efa7843f361585424caef6e44f3f8816119aa#diff-558805269e3ab0a1d705ea68dd26918eb8d3ff7cec2eb30d66a71dca59dda5b0L73