The product page and shopping cart page have their own css files you can set up.
includes/templates/bootstrap/css/shopping_cart.css
includes/templates/bootstrap/css/product_info.css
The product page and shopping cart page have their own css files you can set up.
includes/templates/bootstrap/css/shopping_cart.css
includes/templates/bootstrap/css/product_info.css
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.
By the way what I want to know is how to replace if ($this_is_home_page) with the name of the page example if ($this_is_product_info_page) does not work as well as ($this_is_shopping_cart_page) does not work. it's not to complicate my life but, it will allow me to do a lot of things if I know the exact name of the page to put on if ($this_is_home_page).
Giovanni,
Zen Cart V2.1
$this_is_home_page is a special case; it's not done for other pages.
If you want to check the name of the current page you can do so using the variable $current_page_base.
if ($current_page_base == 'shopping_cart') {
...
}
if ($current_page_base == 'product_info') {
...
}
but if all you're doing is adding page-specific CSS, you'd be better off doing it the way I suggested; that way you can upgrade your template at any time and not lose these customizations.
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.
Exact it is so as not to touch the basic model. Thank you, it worked for me, if now I want to put 2 or more pages for exampleHTML Code:if ($current_page_base == 'product_info') { +HTML Code:if ($current_page_base == 'product_info PLUS another page, ') {
Giovanni,
Zen Cart V2.1
The PHP syntax for this would be
if ($current_page_base == 'product_info' || $current_page_base == 'some-other-page' ) {
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.
Thank you very much, it worked for me.
Giovanni,
Zen Cart V2.1
Perhaps you have an a:active defined in one of your css files.
https://www.geeksforgeeks.org/differ...-active-links/
why ZCA-bs decided to go with a separate class .activelink is beyond my understanding.
Looks like an override of
includes/languages/english/lang.order_status.php
will be needed for PHP 8.1
[13-Nov-2022 13:56:15 America/New_York] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_LOOKUP_INSTRUCTIONS" in /homepages/19/client/htdocs/estore/includes/templates/bootstrap/templates/tpl_order_status_default.php:177
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.
Actually, that looks like a bug in the zc158 language loader. I thought (keyword) that deference should be given to a legacy-named language file, although I'm seeing now that OPC (since the order_status page was, for previous Zen Cart versions, newly added) distributes its version of /english/order_status.php in the main language directory. Sigh.
To correct, for now, simply copy /includes/languages/english/order_status.php to /includes/languages/english/bootstrap/order_status.php (replacing bootstrap with your template clone's name).
The docs don't address search order and override behavior well for the new language files; I will work on that.
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.
Bookmarks