Jump to content

Automatic retrieval of information from the order page


StIvSZ

Recommended Posts

Hello,
I have an integration with several fields in the order page. In one of the fields I want to add to automatically take information from the order itself. I want it to take information about what the package of products contains and their quantity. I can't find the script that calls this information anywhere. Please help what should I set for value="{???}"

Screenshot2024-08-30at11_41_15.png.840c2f0c748d308a97fa6df20b3a468f.png

Screenshot2024-08-30at11_43_39.thumb.png.4e34ac0cfe46c5233605f063f5ac0511.png

Screenshot2024-08-30at11_44_25.png.67befd2d79866366188b96e434ca4c11.png

 

Link to comment
Share on other sites

1 hour ago, StIvSZ said:

Hello,
I have an integration with several fields in the order page. In one of the fields I want to add to automatically take information from the order itself. I want it to take information about what the package of products contains and their quantity. I can't find the script that calls this information anywhere. Please help what should I set for value="{???}"

Screenshot2024-08-30at11_41_15.png.840c2f0c748d308a97fa6df20b3a468f.png

Screenshot2024-08-30at11_43_39.thumb.png.4e34ac0cfe46c5233605f063f5ac0511.png

Screenshot2024-08-30at11_44_25.png.67befd2d79866366188b96e434ca4c11.png

 

if you're working with the order detail page in the back office, it might be in src/PrestaShopBundle/Resources/views/Admin/Orders/

The order information is generally handled by the AdminOrdersController. Check if you need to modify this controller or if you're working directly within a template.

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...