Re: ZCA Bootstrap Template
Quote:
Originally Posted by
jpda
Working in ZenCart v1.5.8a, PHP v8
Question:
Installing Bootstrap 3.6.3
In the install files I see 2 folders:
ZCA-Bootstrap-Template-3.6.3/includes/languages/english/bootstrap
ZCA-Bootstrap-Template-3.6.3/includes/languages/english/extra_definitions
I would expect also ZCA-Bootstrap-Template-3.6.3/includes/languages/english/html_includes
containing /bootstrap/html_includes/bootstrap
to override the defines as in ZenCart v1.5.8a includes/languages/english/html_includes/responsive_classic/
Is that correct?
The base bootstrap template provides no overrides to the html_includes sub-directory, so that directory is not included in the template's distribution. For your clone of the bootstrap template, you'll need to create /includes/languages/english/html_includes/YOUR_BOOTSTRAP/ and copy/create any additional content needed.
Re: ZCA Bootstrap Template
Thank you Cindy, that's clear.:smile: I will change only my cloned version and keep the base version as distributed.
Re: ZCA Bootstrap Template
Hi there
I need some help with my template please.
What i would like to do is to change the main page image thumbnail sizes for the products to larger thumbnail sizes.
I have tried doing this through Configuration/Images but for some reason it does not allow me to do this.
I am using the latest version of Bootstrap Template
Any help really appreciated
Thank you
Re: ZCA Bootstrap Template
Answers to the posting tip questions can really help us to help you.
In this case, we could use a look at your site and specifically which images you are trying to change.
Re: ZCA Bootstrap Template
The images that I am trying to change are in the New products Cata gory and featured category both on the main page of my shop.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
amebb
The images that I am trying to change are in the New products Cata gory and featured category both on the main page of my shop.
Those images are sized using Configuration :: Images :: Small Image Width (and Height).
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
Those images are sized using Configuration :: Images :: Small Image Width (and Height).
... currently. Unfortunately, the Featured and New Products centerboxes are both using the above settings instead of the new/featured ones.
Re: ZCA Bootstrap Template
Zencart 1.5.8
ZCA-Bootstrap-Template-3.6.1
I am doing some test orders and when i go to the order history page i get an error
error: PHP Fatal error: Uncaught Error: Undefined constant "QUANTITY_SUFFIX"
path: includes\templates\bootstrap\templates\tpl_account_history_info_default.php on line 42.
Code:
<td class="accountQuantityDisplay"><?php echo $order->products[$i]['qty'] . QUANTITY_SUFFIX; ?></td>
If someone could assist be much appreciated
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
chadlly2003
Zencart 1.5.8
ZCA-Bootstrap-Template-3.6.1
I am doing some test orders and when i go to the order history page i get an error
error: PHP Fatal error: Uncaught Error: Undefined constant "QUANTITY_SUFFIX"
path: includes\templates\bootstrap\templates\tpl_account_history_info_default.php on line 42.
Code:
<td class="accountQuantityDisplay"><?php echo $order->products[$i]['qty'] . QUANTITY_SUFFIX; ?></td>
If someone could assist be much appreciated
This just means that there is no definition for QUANTITY_SUFFIX in your language flles. https://docs.zen-cart.com/user/local...age_constants/
I would suggest that you search through an unaltered copy of the ZC and template files to find where that definition should be.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
chadlly2003
Zencart 1.5.8
ZCA-Bootstrap-Template-3.6.1
I am doing some test orders and when i go to the order history page i get an error
error: PHP Fatal error: Uncaught Error: Undefined constant "QUANTITY_SUFFIX"
path: includes\templates\bootstrap\templates\tpl_account_history_info_default.php on line 42.
Code:
<td class="accountQuantityDisplay"><?php echo $order->products[$i]['qty'] . QUANTITY_SUFFIX; ?></td>
If someone could assist be much appreciated
I'll suggest that you've somehow got a down-level version of tpl_account_history_default.php, since line 42 of the as-distributed version in v3.6.1 reads
Noting that there were some language constants that were "renamed" in zc158; see this Bootstrap template issue for additional information: https://github.com/lat9/ZCA-Bootstra...ate/issues/134