Search found 383 matches

by ecartz
Sun Oct 15, 2023 8:02 pm
Forum: Community Help & Support
Topic: Redirect Customer if Minimum order not reached
Replies: 12
Views: 922

Re: Redirect Customer if Minimum order not reached

Guarantor::ensure_global('Href')::redirect($Linker->build('shopping_cart.php')); Href::redirect(Guarantor::ensure_global('Linker')->build('shopping_cart.php')); Linker is a global variable and needs initialized before it is used. Href::redirect is a static method, so you can call it without anythin...
by ecartz
Sun Oct 01, 2023 8:17 pm
Forum: Community Help & Support
Topic: Forcing Currency by Customer
Replies: 10
Views: 830

Re: Forcing Currency by Customer

Call set_currency in the postLogin hook, after the customer ID is set. I.e. call it a second time on the same page load. Although I'm not quite sure why it isn't already refreshing after login.
by ecartz
Wed Sep 27, 2023 10:25 am
Forum: Community Help & Support
Topic: Forcing Currency by Customer
Replies: 10
Views: 830

Re: Forcing Currency by Customer

That function is run from a database hook. So you don't need to override the class to change that function. You can just change the hook in the database to point at a different function.
by ecartz
Sun Sep 17, 2023 10:08 am
Forum: Community Help & Support
Topic: Categories/ products name length
Replies: 6
Views: 415

Re: Categories/ products name length

You also might check the character set of the table/column. You could get that effect trying to insert a UTF-8 string into a forty character latin-1 column. There's a page in admin that will check that for you.
by ecartz
Sun Jul 09, 2023 11:05 pm
Forum: Community Help & Support
Topic: USPS update
Replies: 1
Views: 948

Re: USPS update

You may find your question answered at app.php/addons/free_addon/usps_shipping_module/

In any case, the place to ask would be app.php/addons/free_addon/usps_shipping_module/support
by ecartz
Thu Jun 29, 2023 10:34 pm
Forum: Community Help & Support
Topic: Need SQL Queries to list categories with no products and Products not in a Category
Replies: 3
Views: 764

Re: Need SQL Queries to list categories with no products and Products not in a Category

LEFT JOINs would be more efficient than NOT IN. SELECT p.products_id FROM products p LEFT JOIN products_to_categories p2c ON p.products_id = p2c.products_id WHERE p2c.categories_id IS NULL SELECT c.categories_id FROM categories c LEFT JOIN products_to_categories p2c ON c.categories_id = p2c.categori...
by ecartz
Thu May 25, 2023 9:18 pm
Forum: Community Help & Support
Topic: Sessions Setup
Replies: 2
Views: 887

Re: Sessions Setup

burt wrote: Thu May 25, 2023 8:16 am this forces the SID into a Cookie, so no SID shows in the URL. That wouldn't affect Robots though, I think.
It makes no SID show ever. Robots included. The only downside is that if a customer has cookies turned off, then they won't be able to log in until they turn cookies on for the site.
by ecartz
Tue Apr 18, 2023 4:01 am
Forum: Community Help & Support
Topic: Live Chat / Support Addon
Replies: 13
Views: 1062

Re: Live Chat / Support Addon

I believe this is a more feasible way to support addons and ensure the developers get paid if they decide they want paying for addons they develop. As a developer who has tried this model, I can tell you that it isn't (more feasible). As a practical matter, it is very rare for more than a few merch...
by ecartz
Tue Mar 28, 2023 10:30 pm
Forum: Community Help & Support
Topic: Adding support for PHP 8.1?
Replies: 19
Views: 5995

Re: Adding support for PHP 8.2?

Possibly the same question @cdgo intended: when will the home page for PhoenixCart show that it has been tested higher than 8.0 (what it shows now)? Seems like it might be reasonable to bump that number to at least 8.1, if not 8.2. Last time I bumped it (to 8.0), it was after I, myself, had it runn...
by ecartz
Thu Mar 16, 2023 10:40 pm
Forum: Community Help & Support
Topic: PHP and CE-Phoenix-1.0.7.18
Replies: 3
Views: 606

Re: PHP and CE-Phoenix-1.0.7.18

1.0.7.18 and 1.0.8.0 are identical except for the version number. It seems to me that there were three minor problems with PHP 8 compatibility that were fixed in 1.0.8.1. Most of the necessary work had been handled prior to that as part of making the cart compatible with E_ALL error reporting. It's...