Skip Navigation

[Resolved] Add related custom field in mini-cart, cart, and checkout page.

This support ticket is created 4 years 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by miquelF-2 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1902787

Tell us what you are trying to do?
I have Woocommerce products (artwork product) with related custom content (artist). I need to show the artist name related with the product (artwork) in cart, mini-cart and checout page.

What is the link to your site?

hidden link (password protected website)

#1903503

Hello,

How do you setup the custom content (artist)?
Is it a custom post type?
Is there any relationship between the Woocommerce products and the custom content (artist)?

And there isn't such a built-in feature to display related posts in Woocommerce cart, mini-cart and checout pages.

It needs custom codes, I suggest you follow the Woocommerce documents to customize the cart, mini-cart and checout pages:
hidden link

And use Toolset relationship API function to get related artist post information:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_posts

#1905615

Hi Luo,

Yes, Artist is a Toolset Custom Type and there is a relation between Products and Artists.

I've used a Elementor Minicart Template (if it is necessary I can use the standard minicart template) and standard Woocommerce Checkout and Cart pages.

I'm not a developer. I don't know how use the Toolset API with the Woocommerce hooks. Please, can you help me about this?

Thanks

#1905965

According to our support policy, we don't provide custom codes support:
https://toolset.com/toolset-support-policy/

You can check it with our Toolset certified consultants:
https://toolset.com/contractors/

#1910321

My issue is not resolved now.