API Reference

WordPress / API Reference

wc_set_product_general_settings

WooCommerce tool. Configure WooCommerce product general settings — shop page, cart behaviour, measurements

This is a write tool: it sets product general settings in your WordPress account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Set product general settings in my WordPress account.

It takes 0 required and 10 optional parameters.

Parameters

ParameterTypeRequiredDescription
woocommerce_shop_page_idintegerNoWoocommerce Shop Page Id
woocommerce_cart_redirect_after_addstringNoWoocommerce Cart Redirect After Add
woocommerce_enable_ajax_add_to_cartstringNoWoocommerce Enable Ajax Add To Cart
woocommerce_placeholder_imageintegerNoWoocommerce Placeholder Image
woocommerce_weight_unitstringNoWoocommerce Weight Unit
woocommerce_dimension_unitstringNoWoocommerce Dimension Unit
woocommerce_reviews_enabledstringNoWoocommerce Reviews Enabled
woocommerce_review_rating_verification_requiredstringNoWoocommerce Review Rating Verification Required
woocommerce_review_rating_requiredstringNoWoocommerce Review Rating Required
woocommerce_review_rating_verification_labelstringNoWoocommerce Review Rating Verification Label

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.