• Resolved BHG1313

    (@bhgdigital)


    I have followed the setup for adding a custom attribute to the export, however it is not populating the attribute pa_manufacturer. I have tried setting it to ‘string’ as well as -. It just wont add the values….

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    Please, edit this product , open section Variations, open one variation and share the screenshot.

    Thread Starter BHG1313

    (@bhgdigital)

    Thanks for the quick reply… here is the SC

    View post on imgur.com

    Plugin Author algol.plus

    (@algolplus)

    so it’s simple product ?

    Thread Starter BHG1313

    (@bhgdigital)

    Some are simple products and others are variable, the constant between them are that they have a manufacturer (as can be seen in the above image as an attribute)

    Here is a screenshot of the variable

    View post on imgur.com

    Plugin Author algol.plus

    (@algolplus)

    hi

    please, use attribute_XXXX, it’s attribute_manufacturer in your case.

    and add this code to section “Misc Settings”

    add_filter( 'woe_fetch_order_product', function($row, $order, $item, $product, $item_meta ){
    	$attributes = $product->get_attributes() ;
    	if(!empty($product->parent)) 
    		$attributes = $product->parent->get_attributes();
    	foreach($attributes as $attr_name=>$attr_data){
    		$key = "attribute_".$attr_name;
    		if( isset($row[$key]) AND empty($row[$key]) )
    			$row[$key] = join(",",$attr_data["options"]);
    	}
    	return $row;
    },10,5);
    Thread Starter BHG1313

    (@bhgdigital)

    I was able to get it to work using the setup here:

    Under – Products – Add Field – Taxonomy: (found it here)

    View post on imgur.com

    Thank you for not only the plugin (which is GREAT) but also your support!

    Plugin Author algol.plus

    (@algolplus)

    please, visit >Products>Attributes.
    Do you see Manufacturer in this list ?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Issue pulling Product Attrubute’ is closed to new replies.