Thank you, that is working.
I know I have to get the newer code set up, but I simply do not have time to do it, and as long as this is working for now, it will have to do.
Type: Posts; User: HeleneWallis
Thank you, that is working.
I know I have to get the newer code set up, but I simply do not have time to do it, and as long as this is working for now, it will have to do.
That is giving me the quantity of that product number in the cart, which I also needed to know. But not the actual product number itself. But it does confirm that the software is seeing '171' as the...
That just returns a zero, since there is no master category with that number. I don't see how it could work, since I'm not looking at a master category of 171, but a product id of 171.
Yes, I know that, but I have never been able to make it work. The only way I've been able to manage the appropriate size shipping service for our products is to stay with the existing working code. I...
I'm still using the old usps.php module, since it includes filters that I set up years ago. I have not been able to figure out how to add those filters to the new code, or I'd have already done that....
I need to exclude one product from some shipping services, something I've done with multiple other products. For whatever reason, this product number is being ignored in the statements that should be...
Thanks, I'll download that.
We have many Canadian customers, and as soon as we added the Fedex shipping module, we noticed that they were able to choose domestic Fedex Ground shipping. When we ship the order, we're charged...
Strictly speaking, this is a marketing add-in rather than an admin add-in. But there didn't appear to be a separate category for those so I'm asking here. Google is promoting their customer review...
Yes, sorry, I didn't intend that to be criticism of what you said. Just wanted to make it clear that it isn't ShipStation's problem. I'm not sure it's a Zencart problem either, though.
I don't see how this has anything to do with ShipStation. Our ShipStation rates (when we use ShipStation to print labels) are correct. Zencart doesn't interact with ShipStation to pull up rates for...
Ah. You nailed it. The file was in the wrong location. When I moved it, it's being executed. I'm not sure why I thought it was supposed to be where I had it, but that was clearly wrong. Thank you...
I attempted to use echo to see $p1, but it isn't showing up. In fact, I'm not certain the file is even being seen, because nothing I do to it, including deliberate syntax errors, make any difference....
Cindy, what am I missing here? The logic is obvious but it isn't working. For example, in the sample included in auto.usps_overrides.php, $p1 should be (or at least include) the string 'Media Mail,'...
Thank you, that's what I needed!
Zero for both.
It's the overrides file for the USPS customization. The Class is zcObserverUspsOverrides and the file is auto.usps_overrides.php.
Sorry, I thought I was asking in the thread for the USPS module,...
I see what's going on with the override, in general. But I don't know how the services are defined any more.
For example, I've tried this code with the text "Small Flat Rate Box" and "USPS...
I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our...
I will look at that, thanks.
I had already located that, but wasn't certain it was still the correct area. Thanks.
Our usps.php is highly customized to restrict customers from choosing inappropriate shipping services for certain products (won't fit in padded envelope, for example). Each of the past updates has...
I wanted to add images for all my different product attributes, but realized that they are not clickable for the customer. It's intuitive to click on the picture to choose the product, so I'd like to...
Never mind the above, I'm brain dead today. I had already downloaded the zip file for the latest from Github, got interrupted and forgot that I'd done it.
I used the button labeled 'Download Latest' simply for convenience. But I suspect many people don't have any idea how to pick things up from Github, since there doesn't appear to be a complete...
The other thing I've encountered is that not all the configuration options are showing up. Mine stops at "Show Notice of Combining Cart on Login." So I can't get to where you edit attribute...
I installed the version that's currently in the plugin section of this site.
I believe I've located the problem, and it's not related to the PHP version. The version of \ADMIN\includes\functions\general.php that's in the current SBA download does contain the zen_output_string...
I tried to install SBA on my test installation, and get this error message:
[27-May-2023 09:38:40 America/New_York] PHP Fatal error: Cannot redeclare zen_output_string() (previously declared in...
Thanks, I ended up not using that, but it was helpful information anyway.
I need to include a logout function at the end of a routine I'm working on. This is to ensure that the user logs out of the system when they're finished with the particular task. I know it must be...
Thanks, I'll do that.
Thanks, that took care of it.
Yes, that's what I'm using as a guide. I finally figured it out--'TOOLS' was missing from the declaration in ADMIN/includes/language/english/extra_definitions/
As often happens, I learned a lot...
True, and if I can't do a different home page for them, or take them directly to their login page, that will not be unacceptable. I'm still trying to get my program registered on the admin side so I...
Where are the constants initially defined that are used in the Newsletter Discount (MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_INC_SHIPPING et al)? I have this installed in my 1.5.7d live store and have...
I'm sure it is. I just don't want those people to see that there may be more content that they don't have access to. Or get an explicit message that more is present if only they had some other login...
Thanks for the suggestion. I hadn't thought of doing anything like that. I may postpone it until after the one I'm working on now is finished. Or I may incorporate it as a configuration setting in...
Thank you very much indeed. That is almost exactly what I need to do. I'll modify that to allow access to all users other than the one who needs to be completely shut out.
I'm slowly figuring out...
Yes, that is what I asked for help with. Is there some reasonably uncomplicated way to do this? Even a hint in the right direction would be useful. I know that you can enable certain things when an...
I did all of that. But it appears that I inadvertently chose the wrong user profile to assign the test user to. When I went back and corrected that, the test user could still see some company...
I'm working on a plugin that will be used by only a small number of employees. They should not see any other aspects of company operation on the admin side, but there appears to be no way to shut...
Thanks all, I do have a test installation of 1.5.8 online, but my local installation obviously needs to go back to an earlier version. I appreciate the extended explanations very much.
I was getting a PHP warning in the logs on my wamp64 test site, that a specific constant was being defined twice. Sure enough, it was defined in two separate places in \includes\filenames.php. I...
Do I understand correctly that there is no way to reset an order total after a customer has been given a discount? In other words, if the customer's all-time order amount added up to enough to get...
Thank you, I'm not sure exactly when this happened. I only noticed it a couple of days ago. I still am not clear why the two missing brand images were causing that problem, because the file mentioned...
Thank you, it was the two missing manufacturers' images. I've confirmed now that another owner made some changes without telling me. The first manufacturer shouldn't have been in there at all, and...
What is it you see happening? I clicked on each of the manufacturer images and no warnings were generated. I'm not sure how you could see the entries in my log anyway, or am I completely missing what...
It's not the image, because that isn't the image for that product. And also it's happening on any product that is clicked on, not just product ID 70. It was just coincidental that the specific...
Further investigation shows that it's happening whenever you click on any product. The example I gave just happened to be product number 70. I'm seeing it on multiple product numbers. So I still...