What it does
Quick View, in practice.
Adds a Quick view button to every shop-grid card through the ambikly_product_card_actions filter. Clicking it opens a modal and fetches GET /ambikly-pro/v1/quick-view/{id}, a public route that returns a published product's name, image, price, sale price, descriptions, stock state and canonical URL. Simple in-stock products get an Add to cart button wired to the core cart handler; out-of-stock products show a disabled button; products with published variations get a Select options link to the full product page, where variation pricing and stock are resolved correctly. The modal closes on backdrop click, the close button or Escape, and nothing is written to the database.