Sorry Scott! Total brain fart. I was looking at the GitHub repository which was still at 1.3.1. Thanks for setting me straight! :)
Type: Posts; User: Jeff_Mash
Sorry Scott! Total brain fart. I was looking at the GitHub repository which was still at 1.3.1. Thanks for setting me straight! :)
Is there a later version than 1.3.1, because that is what I was running when experiencing the error.
I am testing this on a ZC 1.5.8.a running PHP 8.3 and OPC plugin 2.4.6.
I am getting this error in the logs even though the plugin seems to be displaying prices just fine:
--> PHP Warning:...
I was just coming here to update this! That worked. I had actually changed it to:
$order_country = $order->delivery['country_id'] ?? null;
But it does the same thing. :)
Cindy - My site runs on PHP 7.4, but I switched over to PHP 8.1 to test it out and iron out the bugs.
Can you help me resolve this error: --> PHP Warning: Attempt to read property "delivery" on...
Do they also not see the big SEARCH sidebox that is already underneath your logo in the left-hand sidebox menu?
It almost sounds like you want the AJAX features (of having pop-ups when you...
Just an open question: Is anyone using any third-party or community add-ons that sync eBay with Zencart?
I see the occasional add-on here in the community, and a few in the third-party...
I think I was able to do what you want by editing the following file:
/includes/templates/bootstrap/templates/tpl_modules_main_product_image.php
Remove line #21 which says:
<span...
I may have asked before, but is there anyway to have the "Newsletter Subscribe" checkbox displayed on the CHECKOUT page the same way that it's displayed on the Create Account page?
My reasoning is...
LOL - I'm really good at walking bass-ackwards! Thanks for clearing that up!
I guess we wait and see if typecasting the variable as an (int) will help remove the error.
My main concern was...
Again, I should add, every time I see this error in the logs, the IP address always seems to be registered to PayPal.
Here are the two I've recently seen:
- 66.211.170.66
- 173.0.81.140
...
I really appreciate BOTH your feedback on this. :)
I just typecast that line by putting (int) in front of the $order->delivery['country']['id'] variable.
Cindy, you mentioned that "Please...
I think the problem is that $order->delivery['country']['id'] is EMPTY (blank).
Is there any reason why the ipn_main_handler.php would be logging an IP address from PayPal and the...
Or maybe it means someone is checking out from a country that we don't allow? I guess what throws me for a loop is that the IP is registered to PayPal, so I don't know why this error is being...
I might see WHY this is happening, but not sure.
We have a FREE SHIPPING zone. Inside of that zone, we defined two geographical areas to offer free shipping:
- Puerto Rico
- United States...
I see this a bunch of times, and can't figure out what causes it. The IP address is always registered to PayPal.
[02-Dec-2023 13:47:12 America/Los_Angeles] Request URI:...
BINGO! That fixed the issue!
Cindy - Excited to try this one out! I just put it on our site but I'm seeing the following debug error on ALL the products:
Array
(
[20361] => # SELFIE by Simon R. Stefan & Alex...
Okay, thanks for the clarification. I was under the assumption that the plugin itself would offer a dropdown list of translations and currencies. I wasn't aware that it relied on what already...
Perhaps I'm doing something wrong, but I tried the latest on a test Bootstrap site, and there's nothing being displayed in the header.
It looks like the code is there, but no output is displayed...
Steve - You're a genius. Thanks for spotting that and pointing me in the right direction. That was absolutely my issue, and a replacement of the jscript_plugin_structured_data.php is what fixed...
I'm POSITIVE this is something wrong on my end but can't figure out what it might be.
It's something I just now noticed, and assumed it was working the entire time.
Customer leaves a review. ...
Is there anything logged in your LOGS directory?
Also, I doubt this would make a difference, but make sure that your "sideboxes/bootstrap/search_header.php" has a unique Sort Order variable, just...
Silly question, but I'm too dumb to figure it out.
What would cause my TEST site to redirect back to my LIVE site when trying to do the Ajax search?
Let me give you an example.
I created a...
I am seeing the following error in the logs:
[12-Aug-2023 05:58:41 America/Los_Angeles] Request URI: /store/index.php?main_page=checkout_one, IP address: 129.222.137.108, Language id 1
#1 ...
The same issue was also reported here (https://www.zen-cart.com/showthread.php?229515-Admin-moving-very-slow), but now it looks like the Admin page is moving fast again.
Can you guys confirm as...
As soon as I posted above, now it seems to be working fast again. Anyone else confirm? Not sure what the issue was but this was affecting others (see related thread:...
We are experiencing the same problem (running latest zc 1.5.8a). Store front is fast, admin page is crawling.
My first thought was perhaps some kind of latency with the update server, so we...
This would be more of a feature request, but is there an easy way to have the "Newsletter Subscribe" checkbox also featured on the checkout page?
It would be the same exact code as seen on the...
Well, it looks like this is just a limitation in the core installation. Closest thread I found dealing with this is here, and the solution appears to be something that would need to be coded into...
Not sure if this has been asked before. Here's the situation.
We offer free shipping on orders totaling $49.95 or more.
So if you add a $49.95 item into your shopping cart and proceed to the...
1.5.8a - Why is the ot_coupon not calculating this correctly?
Example: I have a 20% off coupon with restrictions: Only allow discount on product from Category A.
I added that product to my...
Man, I'm sorry for all these posts, but I find more information after I post something!
So the issue with Problem #1 doesn't seem to be related to tax, because I reproduced it on an order without...
In reference to the issue above, I was able to solve Problem #2 (subtotal being incorrect). This is related to the sorting order of the Order Total Modules. If I had the ot_coupon lower than the...
Not sure if this is bootstrap related, 1.5.8a related, or just something messed up in my settings.
I have a 20% off coupon with restrictions: Only allow on Category A. Category A has one...
That's definetely an old version. Have you checked your store/log directory to see what error messages are being written to the log files? That will usually indicate exactly why the screen is...
But WHERE do I add that? This is the code that spits out the checkbox:
'<div class="custom-control custom-checkbox">' .
zen_draw_checkbox_field('permLogin', '1',...
For those getting the "PHP Fatal error: Pre-existing zen_get_tax_locations function detected" error, I did the following two changes as a TEMPORARY FIX and it worked for me. You may want to give it...
The last sentence in my previous reply was cutoff. I was saying, if you want to see the checkbox on my site, I currently have it enabled here:...
I am running 1.5.8a with the latest Bootstrap.
When I enable the privacy box (under Create Account), that checkbox displays just fine. Here's the code:
<div class="custom-control...
That still didn't work, Cindy. Here is a screenshot to show you the Inspect Code. You can see it has the changes you requested (wrapping the text in the custom_control custom-checkbox).......but I...
Cindy - I think I found an issue with the Bootstrap and the Remember Me plugin.
The plugin puts a "Remember Me" checkbox on the login page. However, due to the input class of the checkbox, the...
First I want to thank all of you who responded. I truly love this community and wish I was as great a programmer as you all!
I decided to go with my own custom Javascript buttons because 1) I am...
UPDATE: I don't have an answer on this yet.....but in the meantime, I found this module (for 1.5.7) which I will test to see if it works on 1.5.8:
...
Hey guys! I need some javascript advice. This works fine under 1.5.7 but no longer with 1.5.8a.
In 1.5.7, I had some custom buttons on my orders.php page. When I clicked the button, it would...
You ROCK, Cindy! That did the trick!
Cindy - Okay, I found out WHY it's not displaying, but need your advice on how to workaround it.
The reason why is the CLASS name of the input: custom-control-input
Not Working: <input...
If it helps, this is currently how we have the Reward Points module creating the checkbox:
$prompt=zen_draw_checkbox_field('redeem_flag',true,isset($_SESSION['redeem_value']),'...
Just to add onto my previous post above, even though the checkbox is not interactable or visible to the user, it IS still there to some degree.
If I go to the input element immediately preceding...
Hi Cindy - I don't normally have the Privacy or Conditions set to display during checkout. However, I just enabled it to test and that does display correctly.
Here is a screenshot of that code...