Linux 软件免费装
Banner图

BalticXML

开发者 veidenbaums
更新时间 2026年10月22日 22:00
PHP版本: 7.4 及以上
WordPress版本: 7.1.3
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce xml feed salidzini kurpirkt ceno

下载

1.1.1 1.2.0 1.2.1 1.0.0 1.1.0 1.2.2

详情介绍:

BalticXML creates WooCommerce product feeds for price comparison sites in Latvia and Lithuania. Choose the sites you use, save your settings, and submit each site's XML feed URL. Supported sites Each site gets its own feed in the format it needs. BalticXML uses your existing product information, including prices, images, categories, brands and barcodes. Features Get started Open BalticXML in your WordPress admin, choose Latvia or Lithuania, enable the feeds you need, and save. Copy each feed URL and submit it to the corresponding price comparison site. Set your update schedule and other shared options on the General tab. Use the BalticXML - Feed readiness panel when editing products to check whether their information is complete for your enabled feeds.

安装:

Automatic Installation
  1. Log in to your WordPress admin panel
  2. Navigate to Plugins > Add New
  3. Search for "BalticXML"
  4. Click "Install Now" and then "Activate"
Manual Installation
  1. Download the plugin ZIP file
  2. Go to Plugins > Add New > Upload Plugin
  3. Upload the ZIP file and click "Install Now"
  4. Activate the plugin
After Installation
  1. Make sure WooCommerce is installed and active
  2. Open BalticXML in the admin menu
  3. Choose Latvia or Lithuania, enable your feeds, and save settings
  4. Copy each feed URL and submit it to the corresponding price comparison site
  5. Set your update schedule and shared options on the General tab

屏幕截图:

  • Product feed readiness checks with status indicators and guidance for missing fields (sample product)

常见问题:

What URLs do I submit?

Copy the URL shown beside each enabled feed in BalticXML settings. Each site has its own URL, for example https://yoursite.com/salidzini-a7k3p9.xml. You can customize the feed slug in settings.

How often are the feeds updated?

For cached feeds, choose hourly, every six hours, twice daily or daily updates on the General tab. You can also disable scheduled updates and regenerate manually. Scheduled updates use WordPress cron and depend on your site's cron setup and traffic. With caching disabled, the plugin generates fresh XML whenever a feed URL is requested.

Are out-of-stock products included?

They are excluded by default. You can change this on the General tab.

Are product variations included?

Yes. Each variation can be exported as a separate offer. You can change this on the General tab.

How do I add a brand or manufacturer?

Assign the product's brand in Brands, if available. You can also add an attribute named brand or manufacturer under Product data > Attributes. Supported brand plugins and parent product brands are also detected. BalticXML checks the product_brand, pwb-brand, pa_brand and pa_zimols taxonomies by default. A variation's own brand takes priority over its parent's brand.

Can I use a custom brand taxonomy?

Yes. Add its exact taxonomy key through the balticxml_brand_taxonomies filter in a small custom plugin or your child theme's functions.php. For example, to support pa_custom_brand without duplicating product data: ```php add_filter('balticxml_brand_taxonomies', function ($taxonomies) { $taxonomies[] = 'pa_custom_brand'; return $taxonomies; }); ``` The filter receives the ordered taxonomy list, the product or parent currently being checked, and the feed format key. Appending a key preserves the priority of existing brand taxonomies. The filter applies to feed generation, validation and product readiness checks.

Can I supply a manufacturer from a custom field?

Yes. The balticxml_manufacturer_fallback filter runs only when neither the product nor its parent has a detected brand. It receives the fallback value (initially empty), the exported product or variation, the parent product if available, and the feed format key. This example checks a custom metadata key on the product and then its parent. Replace _custom_maker with your actual key: ```php add_filter('balticxml_manufacturer_fallback', function ($manufacturer, $product, $parent, $format) { if (trim($manufacturer) !== '') { return $manufacturer; } foreach ([$product, $parent] as $source) { if (!$source) { continue; } $manufacturer = trim((string) $source->get_meta('_custom_maker', true)); if ($manufacturer !== '') { return $manufacturer; } } return ''; }, 10, 4); ``` Only return the real manufacturer. An empty result keeps missing-data reporting in place. This filter also applies to validation and product readiness checks. After changing either brand filter, use Regenerate Feed Now when caching is enabled to update existing cached XML.

How can I choose a product's feed category?

By default, BalticXML uses the deepest assigned product category. If multiple categories have the same depth, it uses the first one. Use the balticxml_category_term_id filter in a small custom plugin or your child theme's functions.php to select another assigned category: ```php add_filter('balticxml_category_term_id', function ($term_id, $product_id) { if ($product_id === 123) { return 45; } return $term_id; }, 10, 2); ``` Replace 123 with the product ID and 45 with an assigned product_cat term ID, not a term_taxonomy_id. Invalid or unassigned IDs keep the automatic selection. Products without assigned categories stay uncategorized. Variations inherit their parent product's selection and pass the parent product ID to the filter. The filter applies to all six feeds, validation and product readiness checks. Category names, full hierarchies, IDs and links follow the selected category in each site's supported format. An optional third argument, $format, provides the feed key (salidzini, kurpirkt, ceno, kaina24, kainos or pricer) for site-specific selections; use 10, 3 to receive it. After adding or changing the filter, use Regenerate Feed Now when caching is enabled.

How do I add a model or barcode?

Add an attribute named model under Product data > Attributes for the product model. For barcodes, use the GTIN/EAN field under Product data > Inventory, if available, a supported barcode plugin, or a product attribute named ean.

Where can I see missing product fields?

Open the product editor and find BalticXML - Feed readiness. Red indicators show missing required data, yellow indicators show recommended improvements, and green indicators show completed checks. Each missing field includes instructions for adding it. You can collapse each feed's messages. Save or update the product to refresh the checks. Feed settings also list products excluded because required information is missing or invalid. Missing recommended fields do not prevent export.

Does BalticXML submit products to the comparison sites?

BalticXML provides the XML feed URLs. Submit each URL to the corresponding site and follow its shop registration process.

Does this plugin require WooCommerce?

Yes. WooCommerce must be installed and active to export products.

更新日志:

1.2.2 1.2.1 1.2 1.1.1 1.1.0 1.0.0