<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>How To &#8211; WPCommerce MultiDomain</title>
	<atom:link href="https://woomultidomain.com/documentation_category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>https://woomultidomain.com</link>
	<description>A single WooCommerce Product list, across multiple domains</description>
	<lastBuildDate>Thu, 08 Jan 2026 13:15:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Loop though the Cart items</title>
		<link>https://woomultidomain.com/documentation/loop-though-the-cart-items/</link>
					<comments>https://woomultidomain.com/documentation/loop-though-the-cart-items/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 18 Nov 2022 08:59:27 +0000</pubDate>
				<guid isPermaLink="false">https://woomultidomain.com/?post_type=documentation&#038;p=5803</guid>

					<description><![CDATA[Looping through the Cart Items is straightforward and achievable through the code: When the cart include products from different shops ( within the MultiSite Network ), the same code can be used. Still, a switch to the product shop is required, for the inner code to be able to correctly retrieve the data. The easiest..]]></description>
										<content:encoded><![CDATA[<p>Looping through the Cart Items is straightforward and achievable through the code:</p>
<pre class="brush: php; title: ; notranslate">
    $cart_items = WC()-&gt;cart-&gt;get_cart();
    foreach ( $cart_items as $cart_key =&gt; $item )
        {
            //custom code
        }
</pre>
<p>When the cart include products from different shops ( within the MultiSite Network ), the same code can be used. Still, a switch to the product shop is required, for the inner code to be able to correctly retrieve the data. The easiest approach will be to add 2 actions as the example:</p>
<pre class="brush: php; title: ; notranslate">
    $cart_items = WC()-&gt;cart-&gt;get_cart();
    foreach ( $cart_items as $cart_key =&gt; $item )
        {
            do_action( 'woocommerce/cart_loop/start', $item );
            
            //custom code
            
            do_action( 'woocommerce/cart_loop/end', $item );
        }
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://woomultidomain.com/documentation/loop-though-the-cart-items/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Add more Domains to the site</title>
		<link>https://woomultidomain.com/documentation/add-more-domains-to-the-site/</link>
					<comments>https://woomultidomain.com/documentation/add-more-domains-to-the-site/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 17:17:09 +0000</pubDate>
				<guid isPermaLink="false">http://woomultidomain.com/?post_type=documentation&#038;p=5499</guid>

					<description><![CDATA[Multiple Domains can be assigned to your shop. This is a feature supported by the plugin and does not require additional code extension for implementation The setup is straightforward and requires basic domain management knowledge. There are a few steps required to make the preparation and actual domain assignment: Domain Purchase. A domain is required...]]></description>
										<content:encoded><![CDATA[<p>Multiple Domains can be assigned to your shop. This is a feature supported by the plugin and does not require additional code extension for implementation The setup is straightforward and requires basic domain management knowledge.</p>
<p>There are a few steps required to make the preparation and actual domain assignment:</p>
<ol class="long_list">
<li><strong>Domain Purchase</strong>. A domain is required. If not owned, this can be purchased through any registrar provider. A domain can be anything and can use any available extension.</li>
<li><strong>Domain DNS Setup</strong>. A Domain Name System (DNS) is required to be set for the new domain name. This is a way to make a virtual link for the domain to actual data storage( server ). Generally, basic DNS management is available at the domain registrar. You need to use the DNS details you received from your hosting provider. A DNS update/change can take up to 24 hours to become available to all networks. You should wait before the domain becomes available through your browser before continuing.</li>
<li><strong>Add Domain to Host</strong>. The domain needs to be assigned to your host. Presuming the management interface is a cPanel (which is what most servers use) the Addon Domains area should be used. As <strong>Document Root</strong> the exact path of the current stand-alone WordPress instance ( where WPCommerce MultoDomain is deployed ) must be provided. This is the same path as the main domain through which the site can be accessed. So you don&#8217;t need a new WordPress install. Using the same path ensure that accessing the new domain goes to the same WordPress instance.</li>
<li><strong>Assign the Domain to your site</strong>. Within the WordPress Dashboard, at WooMultoDomain, use Add Domain. Through the interface, provide the Site Address ( the new Domain ), a title, a description. Once created, access Edit ( within All Domains interface) for further adjustments.
<p>&nbsp;</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-5716 size-full" src="https://woomultidomain.com/wp-content/uploads/2021/09/woomultidomain-add-domain.jpg" alt="" width="824" height="447" srcset="https://woomultidomain.com/wp-content/uploads/2021/09/woomultidomain-add-domain.jpg 824w, https://woomultidomain.com/wp-content/uploads/2021/09/woomultidomain-add-domain-300x163.jpg 300w, https://woomultidomain.com/wp-content/uploads/2021/09/woomultidomain-add-domain-768x417.jpg 768w, https://woomultidomain.com/wp-content/uploads/2021/09/woomultidomain-add-domain-600x325.jpg 600w" sizes="(max-width: 824px) 100vw, 824px" /></li>
<li><strong>The configuration is completed</strong>, the new shop should be available for access through the New Domain. Depending on the browser, a cookie and cache data clear might be required. Also, a browser restart, to ensure new cookies will be used. The new shop, with a different domain, is ready to use all plugin features.</li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://woomultidomain.com/documentation/add-more-domains-to-the-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Create separate options for each domain</title>
		<link>https://woomultidomain.com/documentation/create-separate-options-for-each-domain/</link>
					<comments>https://woomultidomain.com/documentation/create-separate-options-for-each-domain/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 22 Oct 2021 09:02:36 +0000</pubDate>
				<guid isPermaLink="false">https://woomultidomain.com/?post_type=documentation&#038;p=5684</guid>

					<description><![CDATA[Most of the WordPress Plugins and Themes use WordPress options to storage individual setup. Such data provides subsequent guidance to the code for further processing and outputs of texts, images, variables. When using WPCommerce MultiDomain, by default, all domains share the same options. Some exceptions apply, to ensure each shop uses its own: Blog name..]]></description>
										<content:encoded><![CDATA[<p>Most of the WordPress Plugins and Themes use <a href="https://developer.wordpress.org/plugins/settings/options-api/" target="_blank" rel="noopener">WordPress options</a> to storage individual setup. Such data provides subsequent guidance to the code for further processing and outputs of texts, images, variables.</p>
<p>When using WPCommerce MultiDomain, by default, all domains share the same options. Some exceptions apply, to ensure each shop uses its own:</p>
<ul>
<li>Blog name</li>
<li>Blog Description</li>
<li>Active theme</li>
<li>Widgets</li>
<li>Menus</li>
<li>WooCommerce settings</li>
<li>etc.</li>
</ul>
<p>This is enough for the majority of the sites, as provides enough flexibility to customize each of the domain. If necessary, include more options in the ignore list is possible.<br />
The proper way to add options in the ignore list is through a WordPress filter <strong>woomd/ignore_options</strong>. The filter needs inserted through a custom file on /wp-contet/mu-plugins/.</p>
<p>Through the filter, an exact option name can be provided, or if needed to match a group of options, the <strong>%</strong> char match any substring:<br />
theme_logo<br />
plugin_options<br />
credits_page<br />
divi_% ( this match any option name that starts with divi_ followed by any string combination )</p>
<p>For example, if multiple domains use the same theme, that requires to show differently from a domain to another. Presuming the theme use <strong>theme_option</strong> to store the settings, the following code provides the ignoring function, so allows customization of the theme on each of the domains, using individual options:</p>
<pre class="brush: php; title: ; notranslate">
    add_filter ( 'woomd/ignore_options' , '__woomd_ignore_options' );
    function __woomd_ignore_options( $ignore_options )
        {
            if ( is_array ( $ignore_options ) )
                {
                    $ignore_options&#x5B;]  =   'theme_option';
                }
            return $ignore_options;
        }
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://woomultidomain.com/documentation/create-separate-options-for-each-domain/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hide Specific Product Categories Across the Domains</title>
		<link>https://woomultidomain.com/documentation/hide-specific-product-categories-across-the-domains/</link>
					<comments>https://woomultidomain.com/documentation/hide-specific-product-categories-across-the-domains/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 09 May 2024 13:15:12 +0000</pubDate>
				<guid isPermaLink="false">https://woomultidomain.com/?post_type=documentation&#038;p=5946</guid>

					<description><![CDATA[In the world of online retail, customization is king. For WordPress users leveraging the WooCommerce Multi-Domain plugin, a new feature offers great control over global categories: the ability to hide specific product categories on designated domains. By returning a 404 error page strategically, businesses can streamline their marketing efforts, enhance user experience, and maintain brand..]]></description>
										<content:encoded><![CDATA[<p>In the world of online retail, customization is king. For WordPress users leveraging the WooCommerce Multi-Domain plugin, a new feature offers great control over global categories: the ability to hide specific product categories on designated domains. By returning a 404 error page strategically, businesses can streamline their marketing efforts, enhance user experience, and maintain brand consistency across diverse domains Let&#8217;s explore the benefits of this innovative functionality and how it can revolutionize your e-commerce strategy.</p>
<p>Benefits of the Feature:</p>
<ul>
<li><strong>Targeted Marketing</strong><br />
With the capability to hide certain product categories on specific domains, businesses can fine-tune their marketing efforts. By displaying relevant products tailored to each domain&#8217;s demographic or geographic audience, conversion rates can soar.</p>
</li>
<li><strong>Streamlined User Experience</strong><br />
Eliminate clutter and streamline navigation by hiding irrelevant product categories. Customers browsing a domain dedicated to a particular niche or region will appreciate a cleaner interface showcasing products pertinent to their interests.</p>
</li>
<li><strong>Flexible Branding</strong><br />
Maintain brand consistency across domains by curating product offerings to align with each site&#8217;s unique branding and messaging. Whether promoting seasonal specials or exclusive collections, this feature empowers brands to convey a cohesive identity tailored to diverse audiences.</p>
</li>
<li><strong>Enhanced SEO Performance</strong><br />
Leveraging the 404 error page strategically can bolster SEO efforts. By directing users to a customized error page rather than simply displaying &#8220;product not found,&#8221; businesses can maintain user engagement and potentially reduce bounce rates, positively impacting search engine rankings.</p>
</li>
<li><strong>Granular Control</strong><br />
The integration of hide/show attributes within the WordPress Product Category interface affords administrators granular control over product visibility. Easily toggle categories on or off across domains with a few simple clicks, ensuring precise targeting without the need for complex coding or third-party solutions.</p>
</li>
<li><strong>Promotion and Exclusivity</strong><br />
Drive excitement and exclusivity by selectively hiding premium or limited-edition product categories on specific domains. Create buzz and incentivize customers to explore different domains for unique offerings, fostering a sense of anticipation and discovery.</p>
</li>
</ul>
<p><img decoding="async" src="https://woomultidomain.com/wp-content/uploads/2024/05/category-hide-interface.png" alt="" width="846" height="329" class="alignnone size-full wp-image-5949" srcset="https://woomultidomain.com/wp-content/uploads/2024/05/category-hide-interface.png 846w, https://woomultidomain.com/wp-content/uploads/2024/05/category-hide-interface-300x117.png 300w, https://woomultidomain.com/wp-content/uploads/2024/05/category-hide-interface-768x299.png 768w, https://woomultidomain.com/wp-content/uploads/2024/05/category-hide-interface-600x233.png 600w" sizes="(max-width: 846px) 100vw, 846px" /><br />
The Hide attribute for the categories can be managed through the default WooCommerce Categories interface:</p>
<ol>
<li>Navigate to the default WooCommerce Categories interface in your WordPress dashboard.</li>
<li>Locate the desired product category you wish to hide on specific domains.</li>
<li>Within the category settings, you&#8217;ll find a new option labeled &#8220;Category Visibility.&#8221;</li>
<li>Select the domains where you want the category to be visible or hidden by toggling the visibility options accordingly.</li>
<li>Save your changes to update the category settings.</li>
<li>Repeat these steps for each product category you wish to customize visibility for across different domains.</li>
</ol>
<p>The implementation of the WooCommerce Multi-Domain plugin&#8217;s feature to hide specific product categories across domains presents a significant advancement in e-commerce customization. By strategically leveraging this functionality, businesses can optimize their overall efforts by tailoring product visibility to match the interests and preferences of each domain&#8217;s audience. This granular control not only enhances user experience but also boosts brand consistency and search engine rankings. Embracing this innovative feature empowers businesses to maximize their online presence, drive engagement, and ultimately increase conversions across diverse online platforms.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://woomultidomain.com/documentation/hide-specific-product-categories-across-the-domains/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hiding blog_id in WooMultiDomain Order Details</title>
		<link>https://woomultidomain.com/documentation/hiding-blog_id-in-woomultidomain-order-details/</link>
					<comments>https://woomultidomain.com/documentation/hiding-blog_id-in-woomultidomain-order-details/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 08 Jan 2026 13:15:52 +0000</pubDate>
				<guid isPermaLink="false">https://woomultidomain.com/?post_type=documentation&#038;p=6049</guid>

					<description><![CDATA[When WooCommerce records order items it often stores extra metadata that helps identify where a product came from, how it was configured, or which internal system created it. One of those hidden-but-useful fields you may see on the order item page is blog_id — a small numeric value that identifies the origin site for that..]]></description>
										<content:encoded><![CDATA[<p>When WooCommerce records order items it often stores extra metadata that helps identify where a product came from, how it was configured, or which internal system created it. One of those hidden-but-useful fields you may see on the order item page is blog_id — a small numeric value that identifies the origin site for that product when you run a multi-domain or multisite setup.<span id="more-6049"></span></p>
<p>If you use the WPCommerce WooMultiDomain solution, the blog_id becomes meaningful: it holds the product’s origin blog/site ID inside the multisite or multi-domain network. That means every order line can carry a direct reference to the exact site where the product record lives, which simplifies reconciliation, inventory tracing, and any cross-site fulfillment logic.</p>
<p>Be mindful that blog_id is an internal identifier: it’s best used in administrative views and developer tools rather than shown to customers. When monitoring multi-domain stores, keeping the blog_id visible in admin order items speeds debugging and makes multi-site commerce workflows much easier to manage.</p>
<p>To hide the blog_id meta field, a custom code can be used. The following code example can be added within theme functions.php or a custom file in /mu-plugins/ folder.</p>
<pre class="brush: php; title: ; notranslate">
    /**
    * Remove 'blog_id' from formatted order item meta shown in admin/emails/frontend.
    *
    * @param array            $formatted_meta Array of formatted meta objects/arrays.
    * @param WC_Abstract_Item $item           The order item object.
    * @return array Modified $formatted_meta without 'blog_id' entries.
    */
    function hide_order_item_blog_id_meta( $formatted_meta, $item ) 
        {
            foreach ( $formatted_meta as $index =&gt; $meta ) 
                {
                    // Support both object and array shaped meta entries (defensive)
                    if ( is_object( $meta ) ) {
                        $key = isset( $meta-&gt;key ) ? $meta-&gt;key : ( isset( $meta-&gt;display_key ) ? $meta-&gt;display_key : '' );
                    } elseif ( is_array( $meta ) ) {
                        $key = isset( $meta&#x5B;'key'] ) ? $meta&#x5B;'key'] : ( isset( $meta&#x5B;'display_key'] ) ? $meta&#x5B;'display_key'] : '' );
                    } else {
                        $key = '';
                    }

                    if ( '' !== $key &amp;&amp; strtolower( $key ) === 'blog_id' ) {
                        unset( $formatted_meta&#x5B; $index ] );
                    }
                }

            // Reindex numeric keys and return
            return array_values( $formatted_meta );
        }
    add_filter( 'woocommerce_order_item_get_formatted_meta_data', 'hide_order_item_blog_id_meta', 10, 2 );
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://woomultidomain.com/documentation/hiding-blog_id-in-woomultidomain-order-details/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
