• Resolved bheadrick

    (@bheadrick)


    This only allows the brand to be set at the site level, but most stores sell more than one brand – this needs to be set by a product term or meta field

    Also, there’s not even a filter hook on the get_brand so it’s extra annoying

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bheadrick

    (@bheadrick)

    correction, I was able to override using the following hook:
    aepc_feed_item

    For anyone needing to use this – the hook passes the array of fields for one item as well as an item object.

    To get the product id, however, you have to first get the post object from the item:

     $item = $item->get_item();
    $item_id = $item->get_id()

    if you start out with
    $item_id = $item->get_id()
    You will get the sku instead of the id

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Thanks @bheadrick for sharing ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to specify brand’ is closed to new replies.