Re: ZCA Bootstrap Template
Quote:
Originally Posted by
keneso
In tpl_product_info_display.php I see the if
$display_price_top === true
$display_price_bottom === true
On the product page I see the latter one (inspecting the page I see id="productsPriceBottom-productPriceBottomPrice" class="productPriceBottomPrice")
I suppose there is a setting somewhere for it, but can't find it, what am I missing?
I can edit the template file to my likes, just curious to understand the functioning of it.
See Configuration / Bootstrap Template Settings / Product Info Pricing Location. It can be one of Both, Above Only or Below Only.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
See Configuration / Bootstrap Template Settings / Product Info Pricing Location. It can be one of Both, Above Only or Below Only.
Speechless!
You wouldn't believe how many times I looked there, and managed to miss it.
I am aware it is a wierd suggestion/request, but would you consider adding the option of disabling both; like said I can edit the template file, so no big deal, just a thought.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
keneso
Speechless!
You wouldn't believe how many times I looked there, and managed to miss it.
I am aware it is a wierd suggestion/request, but would you consider adding the option of disabling both; like said I can edit the template file, so no big deal, just a thought.
You can set that setting to be Below Only and then add the following to your site_specific_styles.php
Code:
#productsPriceBottom-card {display: none;}
Re: ZCA Bootstrap Template
Re: ZCA Bootstrap Template
Questions in regards to the banner carousel (mostly on the index page)
What changes would be needed in order to "lazy" load the banner image?
Disregards my question if the images are already lazy or defer loaded. I just didn't see any reference to it
Thank you
Re: ZCA Bootstrap Template
Not convinced this issue is template related as it is occurring across the default templates as well, but I'm experiencing issues getting the medium and large product images to display. I have uploaded images for product A as follows:
/images/products/categoryA/productA.png
/images/products/categoryA/productA_01.png
/images/medium/products/categoryA/productA_MED.png
/images/large/products/categoryA/productA_LRG.png
/images/large/products/categoryA/productA_01_LRG.png
The original product image and additional image displays properly on the product info page (but only at the smaller size). It does not appear to be loading the medium or large images. Any ideas on what I might be doing wrong? I do not have any image plugins installed, and using the bootstrap template with modal images. Confirmed the suffix for _MED and _LRG matches the config settings in admin.
Thanks in advance!
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
mcqueeneycoins
Not convinced this issue is template related as it is occurring across the default templates as well, but I'm experiencing issues getting the medium and large product images to display. I have uploaded images for product A as follows:
/images/products/categoryA/productA.png
/images/products/categoryA/productA_01.png
/images/medium/products/categoryA/productA_MED.png
/images/large/products/categoryA/productA_LRG.png
/images/large/products/categoryA/productA_01_LRG.png
The original product image and additional image displays properly on the product info page (but only at the smaller size). It does not appear to be loading the medium or large images. Any ideas on what I might be doing wrong? I do not have any image plugins installed, and using the bootstrap template with modal images. Confirmed the suffix for _MED and _LRG matches the config settings in admin.
Thanks in advance!
If it's happening with the default templates as well, it's a base Zen Cart issue.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
If it's happening with the default templates as well, it's a base Zen Cart issue.
I narrowed down the issue to the folder structure. When I upload the images via admin product page, there is no subfolder dropdown to select so I was manually adding the path for the image (../images/products/categoryA/filename.png. That works, which is why the main image loaded, but the med and lrg files didn't. I think zencart was looking for the file path I entered as a subdirectory and/or was causing it to look in the wrong place. I ended up just moving everything to a single subfolder (rather than the multi-level) structure I had, and everything working well so far. If you have suggestions on how to add the extra sub-level without messing up the MED and LRG paths I'd still love to solve the problem.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
mcqueeneycoins
I narrowed down the issue to the folder structure. When I upload the images via admin product page, there is no subfolder dropdown to select so I was manually adding the path for the image (../images/products/categoryA/filename.png. That works, which is why the main image loaded, but the med and lrg files didn't. I think zencart was looking for the file path I entered as a subdirectory and/or was causing it to look in the wrong place. I ended up just moving everything to a single subfolder (rather than the multi-level) structure I had, and everything working well so far. If you have suggestions on how to add the extra sub-level without messing up the MED and LRG paths I'd still love to solve the problem.
Thanks for the update. The base (and most templates') code is expecting the images to be in the /images directory.
If you're hand-entering the name of the image, you'd enter it as products/categoryA/filename.png
Re: ZCA Bootstrap 4 Template [Support Thread]
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