s22_tech Moderator Fra United States Medlem siden okt. 2019 s22_tech nov. 17 2023 10:02 p.m. Can the sku be passed to cli.php to get a product's info?
s22_tech Moderator Fra United States Medlem siden okt. 2019 s22_tech nov. 18 2023 08:18 a.m. What would I need to do to 2.2.8 to be able to pass the sku?
tim Founder Fra Sweden Medlem siden mai 2013 tim nov. 18 2023 02:49 p.m. 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 Fra United States Medlem siden okt. 2019 s22_tech nov. 18 2023 04:40 p.m. 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.