s22_tech Moderator From United States Member since Oct 2019 s22_tech Nov 17 2023 10:02 PM Can the sku be passed to cli.php to get a product's info?
s22_tech Moderator From United States Member since Oct 2019 s22_tech Nov 18 2023 08:18 AM What would I need to do to 2.2.8 to be able to pass the sku?
tim Founder From Sweden Member since May 2013 tim Nov 18 2023 02:49 PM Update to 2.5.x 😁 for an awesome experience. You would need to change ent_product load() to do what 2.5.x does. Also, make sure the regex in the API identifies a non integer value passed in the URL for an entity. I'm not by the computer to look.
s22_tech Moderator From United States Member since Oct 2019 s22_tech Nov 18 2023 04:40 PM Perfect! Thanks for the hint on the regex. That's all that was needed. ent_product load() was similar enough in both versions that I didn't have to touch it.