update
This commit is contained in:
@@ -80,9 +80,10 @@ class WooSEA_fruugoaus {
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vat",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
|
||||
@@ -69,20 +69,21 @@ class WooSEA_fruugoes {
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"name" => "NormalPriceWithVAT",
|
||||
"feed_name" => "NormalPriceWithVAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"name" => "NormalPriceWithoutVAT",
|
||||
"feed_name" => "NormalPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vat",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
|
||||
@@ -83,6 +83,7 @@ class WooSEA_fruugonl {
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vat",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
|
||||
@@ -69,21 +69,22 @@ class WooSEA_fruugouk {
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"name" => "NormalPriceWithoutVAT",
|
||||
"feed_name" => "NormalPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"name" => "NormalPriceWithVAT",
|
||||
"feed_name" => "NormalPriceWithVAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vat",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
|
||||
@@ -69,20 +69,21 @@ class WooSEA_fruugous {
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"Normal Price With VAT" => array(
|
||||
"name" => "NormalPriceWithVat",
|
||||
"feed_name" => "NormalPriceWithVat",
|
||||
"name" => "NormalPriceWithVAT",
|
||||
"feed_name" => "NormalPriceWithVAT",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"Normal Price Without VAT" => array(
|
||||
"name" => "NormalPriceWithoutVat",
|
||||
"feed_name" => "NormalPriceWithoutVat",
|
||||
"name" => "NormalPriceWithoutVAT",
|
||||
"feed_name" => "NormalPriceWithoutVAT",
|
||||
"format" => "optional",
|
||||
),
|
||||
"VAT Rate" => array(
|
||||
"name" => "VatRate",
|
||||
"feed_name" => "VatRate",
|
||||
"name" => "VATRate",
|
||||
"feed_name" => "VATRate",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "vat",
|
||||
),
|
||||
"Image URL 2" => array(
|
||||
"name" => "Imageurl2",
|
||||
|
||||
@@ -61,6 +61,12 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:mobile_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Checkout link template" => array(
|
||||
"name" => "checkout_link_template",
|
||||
"feed_name" => "g:checkout_link_template",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "cart_link",
|
||||
),
|
||||
),
|
||||
"Price & availability" => array(
|
||||
"Stock status" => array(
|
||||
@@ -127,6 +133,11 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:loyalty_points",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Auto pricing min price" => array(
|
||||
"name" => "auto_pricing_min_price",
|
||||
"feed_name" => "g:auto_pricing_min_price",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
"Product category" => array(
|
||||
"Google product category" => array(
|
||||
@@ -139,7 +150,7 @@ class WooSEA_google_shopping {
|
||||
"name" => "product_type",
|
||||
"feed_name" => "g:product_type",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "raw_categories",
|
||||
"woo_suggest" => "category_path",
|
||||
),
|
||||
),
|
||||
"Product identifiers" => array(
|
||||
@@ -290,9 +301,29 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:promotion_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination" => array(
|
||||
"name" => "included_destination",
|
||||
"feed_name" => "included_destination",
|
||||
"Included destination 1" => array(
|
||||
"name" => "included_destination_1",
|
||||
"feed_name" => "g:included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination 2" => array(
|
||||
"name" => "included_destination_2",
|
||||
"feed_name" => "g:included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination 3" => array(
|
||||
"name" => "included_destination_3",
|
||||
"feed_name" => "g:included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination 4" => array(
|
||||
"name" => "included_destination_4",
|
||||
"feed_name" => "g:included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Included destination 5" => array(
|
||||
"name" => "included_destination_5",
|
||||
"feed_name" => "g:included_destination",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Ads grouping" => array(
|
||||
@@ -421,8 +452,18 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:consumer_datasheet",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer notice" => array(
|
||||
"name" => "consumer_notice",
|
||||
"Consumer notice 1" => array(
|
||||
"name" => "consumer_notice_1",
|
||||
"feed_name" => "g:consumer_notice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer notice 2" => array(
|
||||
"name" => "consumer_notice_2",
|
||||
"feed_name" => "g:consumer_notice",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Consumer notice 3" => array(
|
||||
"name" => "consumer_notice_3",
|
||||
"feed_name" => "g:consumer_notice",
|
||||
"format" => "optional",
|
||||
),
|
||||
@@ -436,8 +477,53 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:shopping_ads_excluded_country",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail" => array(
|
||||
"name" => "product_detail",
|
||||
"Product detail 1" => array(
|
||||
"name" => "product_detail_1",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 2" => array(
|
||||
"name" => "product_detail_2",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 3" => array(
|
||||
"name" => "product_detail_3",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 4" => array(
|
||||
"name" => "product_detail_4",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 5" => array(
|
||||
"name" => "product_detail_5",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 6" => array(
|
||||
"name" => "product_detail_6",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 7" => array(
|
||||
"name" => "product_detail_7",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 8" => array(
|
||||
"name" => "product_detail_8",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 9" => array(
|
||||
"name" => "product_detail_9",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Product detail 10" => array(
|
||||
"name" => "product_detail_10",
|
||||
"feed_name" => "g:product_detail",
|
||||
"format" => "optional",
|
||||
),
|
||||
@@ -626,6 +712,31 @@ class WooSEA_google_shopping {
|
||||
"feed_name" => "g:display_ads_value",
|
||||
"format" => "optional",
|
||||
),
|
||||
"3D model link" => array(
|
||||
"name" => "virtual_model_link",
|
||||
"feed_name" => "g:virtual_model_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Certification" => array(
|
||||
"name" => "certification",
|
||||
"feed_name" => "g:certification",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Lifestyle image link" => array(
|
||||
"name" => "lifestyle_image_link",
|
||||
"feed_name" => "g:lifestyle_image_link",
|
||||
"format" => "optional",
|
||||
),
|
||||
"External seller ID" => array(
|
||||
"name" => "external_seller_id",
|
||||
"feed_name" => "g:external_seller_id",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pause" => array(
|
||||
"name" => "pause",
|
||||
"feed_name" => "g:pause",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $google_attributes;
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings for PriceRunner feeds
|
||||
*/
|
||||
class WooSEA_pricerunner {
|
||||
public $pricerunner;
|
||||
|
||||
public static function get_channel_attributes() {
|
||||
|
||||
$sitename = get_option('blogname');
|
||||
|
||||
$pricerunner = array(
|
||||
"Feed fields" => array(
|
||||
"ProductId" => array(
|
||||
"name" => "ProductId",
|
||||
"feed_name" => "ProductId",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "id",
|
||||
),
|
||||
"ProductName" => array(
|
||||
"name" => "ProductName",
|
||||
"feed_name" => "ProductName",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "title",
|
||||
),
|
||||
"Price" => array(
|
||||
"name" => "Price",
|
||||
"feed_name" => "Price",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "price",
|
||||
),
|
||||
"ShippingCost" => array(
|
||||
"name" => "ShippingCost",
|
||||
"feed_name" => "ShippingCost",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "shipping_price",
|
||||
),
|
||||
"StockStatus" => array(
|
||||
"name" => "StockStatus",
|
||||
"feed_name" => "StockStatus",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "availability",
|
||||
),
|
||||
"LeadTime" => array(
|
||||
"name" => "LeadTime",
|
||||
"feed_name" => "LeadTime",
|
||||
"format" => "required",
|
||||
),
|
||||
"Brand" => array(
|
||||
"name" => "Brand",
|
||||
"feed_name" => "Brand",
|
||||
"format" => "required",
|
||||
),
|
||||
"SKU" => array(
|
||||
"name" => "Msku",
|
||||
"feed_name" => "Msku",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "sku",
|
||||
),
|
||||
"EAN / GTIN" => array(
|
||||
"name" => "EAN",
|
||||
"feed_name" => "EAN",
|
||||
"format" => "required",
|
||||
),
|
||||
"Url" => array(
|
||||
"name" => "Url",
|
||||
"feed_name" => "Url",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"ImageUrl" => array(
|
||||
"name" => "ImageUrl",
|
||||
"feed_name" => "ImageUrl",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
"Category" => array(
|
||||
"name" => "Category",
|
||||
"feed_name" => "Category",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "category_path_short",
|
||||
),
|
||||
"Description" => array(
|
||||
"name" => "Description",
|
||||
"feed_name" => "Description",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "description",
|
||||
),
|
||||
"AdultContent" => array(
|
||||
"name" => "AdultContent",
|
||||
"feed_name" => "AdultContent",
|
||||
"format" => "optional",
|
||||
),
|
||||
"AgeGroup" => array(
|
||||
"name" => "AgeGroup",
|
||||
"feed_name" => "AgeGroup",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Bundled" => array(
|
||||
"name" => "Bundled",
|
||||
"feed_name" => "Bundled",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Color" => array(
|
||||
"name" => "Color",
|
||||
"feed_name" => "Color",
|
||||
"format" => "optional",
|
||||
),
|
||||
"EnergyEfficiencyClass" => array(
|
||||
"name" => "EnergyEfficiencyClass",
|
||||
"feed_name" => "EnergyEfficiencyClass",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Gender" => array(
|
||||
"name" => "Gender",
|
||||
"feed_name" => "Gender",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Condition" => array(
|
||||
"name" => "Condition",
|
||||
"feed_name" => "Condition",
|
||||
"format" => "optional",
|
||||
),
|
||||
"GroupId" => array(
|
||||
"name" => "GroupId",
|
||||
"feed_name" => "GroupId",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Material" => array(
|
||||
"name" => "Material",
|
||||
"feed_name" => "Material",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Multipack" => array(
|
||||
"name" => "Multipack",
|
||||
"feed_name" => "Multipack",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Pattern" => array(
|
||||
"name" => "Pattern",
|
||||
"feed_name" => "Pattern",
|
||||
"format" => "optional",
|
||||
),
|
||||
"Size" => array(
|
||||
"name" => "Size",
|
||||
"feed_name" => "Size",
|
||||
"format" => "optional",
|
||||
),
|
||||
"SizeSystem" => array(
|
||||
"name" => "SizeSystem",
|
||||
"feed_name" => "SizeSystem",
|
||||
"format" => "optional",
|
||||
),
|
||||
),
|
||||
);
|
||||
return $pricerunner;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -55,9 +55,9 @@ class WooSEA_shopflix {
|
||||
"format" => "required",
|
||||
"woo_suggest" => "link",
|
||||
),
|
||||
"Main Photo URL" => array(
|
||||
"name" => "main_photo_url",
|
||||
"feed_name" => "main_photo_url",
|
||||
"Image" => array(
|
||||
"name" => "image",
|
||||
"feed_name" => "image",
|
||||
"format" => "required",
|
||||
"woo_suggest" => "image",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user