s22_tech Moderator Depuis United States Membre depuis oct. 2019 s22_tech 17 nov. 2023 22:02 Can the sku be passed to cli.php to get a product's info?
s22_tech Moderator Depuis United States Membre depuis oct. 2019 s22_tech 18 nov. 2023 08:18 What would I need to do to 2.2.8 to be able to pass the sku?
tim Founder Depuis Sweden Membre depuis mai 2013 tim 18 nov. 2023 14:49 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 Depuis United States Membre depuis oct. 2019 s22_tech 18 nov. 2023 16:40 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.