Skip Navigation

[Resolved] Would like to add Custom Field from Products to wpv-woo-list_attributes

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by aprilA 5 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1366489

Tell us what you are trying to do?
I am wanting to take a custom field tied to a product and add it to the view for wpv-woo-list_attributes. The reason I would like to do this is I don't want to add each custom UPC into the attributes table since each product will have a different one. I already have field with the UPC that I want to add tied to each product. Is there a way to add this custom field into the loop of this view?

What is the link to your site?
Link to a product page.
hidden link

I would like to add another section to the attributes table displayed here. Currently I am using {!{wpv-woo-list_attributes}!} to output this list.

#1366577

Hi, this WooCommerce Views shortcode doesn't accept any options for customization, unfortunately, so there's not an easy way to adjust the output of this table from wp-admin. This would require custom programming that filters the results of the attributes table somehow using WooCommerce's APIs or custom JavaScript programming.
You could certainly add the custom field's value using wpv-post-field or something similar, but it wouldn't be part of that attributes table. It would be rendered outside the table.

#1366607

My issue is resolved now. Thank you!