Open
Description
This issue is automatically created based on existing pull request: #39667: Meta Checkout URL Implementation
Meta Checkout URL Implementation
This PR adds support for Meta's checkout URL specification, allowing direct linking to the checkout page with pre-populated cart items and coupon codes.
What's Changed
- Added
AddToCartLinkV1
controller that processes URL parameters to populate the cart - Added layout XML file to render the checkout page with consistent user experience
- Implemented support for multiple products and coupon codes via URL parameters
How It Works
The controller accepts URL parameters in this format:
/checkout/cart/addtocartlinkv1?products=123:2,456:1&coupon=SAVE10
This will:
- Clear the existing cart (per Meta requirements)
- Add 2 units of product Performance problem & memory leak in Mage_Index_Model_Process #123 and 1 unit of product Bogus error message if mcrypt extension is not installed. #456
- Apply the "SAVE10" coupon code
- Display the checkout page
The implementation handles error cases gracefully, showing appropriate messages for invalid products or coupons.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Pull Request in Progress