Module: Edi::MiraklSeller::BestbuyCaOutlet

Defined in:
app/services/edi/mirakl_seller/bestbuy_ca_outlet/product_data_presenter.rb

Overview

Service object: bestbuy_ca_outlet.

Best Buy Canada Outlet Mirakl seller integration. Subclasses
BestbuyCa::ProductDataPresenter because the same Heatwave Items get
uploaded to both storefronts with the same category mapping and almost
identical attribute payloads — only the Product Condition (graded for
Outlet listings) and one extra product family (Floor Heating Cable under
Home Automation) differ.

Per-family additions vs. the marketplace presenter:

Heatwave predicate BBYCat path Family
is_floor_heating_product? Home & Furniture/Home Automation … (CAT_37144) Floor Heating Cable

Product condition: Outlet listings always carry a condition value. We
default to the value attached to the CatalogItem's "condition" attribute
if present; otherwise fall back to Refurbished Excellent — the grade the
existing Best Buy Outlet catalog products are listed under (verified
against the live /api/offers payload, every entry titled "- Refurbished").
The presenter logs through error_list when we can't resolve a graded
condition and would need to use the fallback.

Defined Under Namespace

Classes: ProductDataPresenter