Skip to content

v1.6.1 - Fetch from Amazon Auto-Populate in Product Form

Choose a tag to compare

@numanrki numanrki released this 11 Mar 00:37
· 21 commits to master since this release

What's New in v1.6.1

✨ Fetch from Amazon — Product Form Auto-Populate

The Products admin page now features a "Fetch from Amazon" button directly inside the product creation/editing modal.

How it works:

  1. Open the Add/Edit product modal
  2. Enter an Amazon ASIN in the Product ID field
  3. Click Fetch from Amazon
  4. All form fields are instantly populated from the Amazon PA-API — title, price, image, rating, description, features, brand, availability, and more

Manual entry remains fully supported — you can review, override, or fill in any field after fetching.

🔧 Technical Details

  • New UI: ASIN input and Fetch button displayed inline in a flex row with loading spinner feedback
  • ASIN Validation: Soft format check warns if the ID doesn't match the standard 10-character Amazon ASIN format, with option to proceed anyway
  • 17 fields auto-populated: title, url, image, brand, description, features, price_display, price_amount, price_currency, list_price_amount, savings_percentage, rating, review_count, is_prime, availability, browse_node, marketplace
  • No backend changes needed — reuses the existing azon_mate_fetch_product AJAX endpoint from v1.6.0

📝 Also in this release

  • Updated README feature descriptions
  • Version badge, CHANGELOG.md, and readme.txt all in sync

Files Changed

  • includes/admin/views/manual-products-page.php — Fetch button HTML + CSS
  • assets/js/azonmate-manual-products.jsfetchAndPopulateForm() function + click handler
  • azonmate.php — Version bump
  • readme.txt — Changelog entry + stable tag
  • README.md — Badge, features, changelog entries for v1.5.0–v1.6.1
  • CHANGELOG.md — v1.6.1 entry