Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
Those Dutch locale definitions should use underscores (_) not hyphens (-):
Code:
global $locales;
$locales = ['nl_NL', 'nl_NL.utf8','nl'];
@setlocale(LC_TIME, $locales);
Thanks Cindy,
Changed them back to underscores, no difference, alas.
Which, BTW, is consistent with the fact that strftime() does translate the name of the current month correctly,
just like other date related formats.
I wonder if any other non-English sites have the same problem?
jpda
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
jpda
Thanks Cindy,
Changed them back to underscores, no difference, alas.
Which, BTW, is consistent with the fact that strftime() does translate the name of the current month correctly,
just like other date related formats.
I wonder if any other non-English sites have the same problem?
jpda
In addition:
Looking at https://www.php.net/manual/en/migrat...deprecated.php I found:
"strftime() and gmstrftime() have been deprecated. Use date() instead (for locale-independent formatting), or IntlDateFormatter::format() (for locale-dependent formatting)".
jpda
Re: ZCA Bootstrap Template
Warning log generated during checkout when using 3.7.0 bootstrap.
Code:
[23-May-2024 15:46:10 Europe/London] Request URI: /sales/index.php?main_page=checkout_payment, IP address: 127.0.0.1, Language id 1
#0 /home/lotus/public_html/innerlightcrystals/sales/includes/templates/bootstrap/templates/tpl_checkout_payment_default.php(251): zen_debug_error_handler()
#1 /home/lotus/public_html/innerlightcrystals/sales/includes/templates/bootstrap/common/tpl_main_page.php(227): require('...')
#2 /home/lotus/public_html/innerlightcrystals/sales/index.php(94): require('...')
--> PHP Warning: Undefined variable $comments_heading in /home/lotus/public_html/innerlightcrystals/sales/includes/templates/bootstrap/templates/tpl_checkout_payment_default.php on line 251.
PR submitted. https://github.com/lat9/ZCA-Bootstrap-Template/pull/387
change to
Code:
HEADING_ORDER_COMMENTS
Re: ZCA Bootstrap Template
Cindy - quick question. I am enabling the Terms and Conditions regulations so a customer has to click to agree before they can submit their order.
Right now, if they want to view the terms from the OPC page, it takes them off the checkout page. They have to then click the Back button to return back to the checkout page.
Is there any way that it can launch as an Ajax popup or something in the foreground so that people never have to leave the OPC checkout page? I’m just trying to think of ways to reduce bounce rates of people who leave without completing a purchase.
If not, that’s fine but I wanted to check in case that was already a configuration setting or if it’s something considered as a feature in the future.
Re: ZCA Bootstrap Template
Good idea, Jeff. I've created this (https://github.com/lat9/ZCA-Bootstra...ate/issues/391) GitHub issue to track that update.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
That mobile-menu you see when you click the hamburger icon is created by the Bootstrap template's /common/tpl_offcanvas_menu.php. I need to think about how to enable the 'easy' sidebox selection (and associated ordering) for those small-screen menus as that'll affect the functionality of the responsive_classic template as well.
I have been thinking about this a good bit while trying to get my site updated to 2.0.X.
There have been discussions about how how ZC looks "out of the box" and its "not a clean" site. One of the things I have noticed on other sites suggested as a "clean design" is the absence of sideboxes. I have turned off all the sideboxes on my local copy but I am not thrilled with the categories in a header menu (we only have two top categories so it looks odd).
Having the hamburger menu on both mobile and fixed displays could be an very workable option. The other "possible" option are collapsible sideboxes similar to https://www.cssscript.com/demo/respo...ab-navigation/
I have NO IDEA the effort it takes to do this. However, I am impressed by the flexibility of bootstrap and I literally think it can become the go to standard for ZC.
1 Attachment(s)
Re: ZCA Bootstrap Template
Hi Guys I have added in lang.english.php the following code
'HEADING_ORDER_COMMENTS' => 'Special Instructions or Comments About Your Order - Indicate the courier location nearest you from this list <a href="https://cyp.acscourier.net/en/myacs/my-tools/acs-store-locator" target="_blank">Courier Locations</a>',
The issue is that the Courier Locations</a>', spills into the table below(screenshot attachedAttachment 20640) and is not looking ok. Is any other way to do it?
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
Georgecy
Hi Guys I have added in lang.english.php the following code
'HEADING_ORDER_COMMENTS' => 'Special Instructions or Comments About Your Order - Indicate the courier location nearest you from this list <a href="https://cyp.acscourier.net/en/myacs/my-tools/acs-store-locator" target="_blank">Courier Locations</a>',
The issue is that the
Courier Locations</a>', spills into the table below(screenshot attached
Attachment 20640) and is not looking ok. Is any other way to do it?
On what page is that wonky display?
2 Attachment(s)
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
On what page is that wonky display?
Thank you Cindy.
In two places index.php?main_page=checkout_shipping and index.php?main_page=checkout_payment
Attachment 20641
Attachment 20642
Re: ZCA Bootstrap Template
It looks like you have some bad HTML code at
Code:
Courier Locations</a>">Courier Locations</a>">
Without seeing the site's code, it should probably be
Code:
Courier Locations">Courier Locations</a>