<?php
/**
* This class is called to: retrieve product attributes 
* for populating the rules dropdowns and draggable boxes
*/

class PROD_Classes_MappingAttributes{
    public $attributes;

    public function get_attributes(){
       $attributes= array(
                        "id" => "Product Id",
                        "sku" => "SKU", 
			"sku_id" => "SKU_ID (Facebook)",
                        "parent_sku" => "SKU parent variable product",
			"sku_item_group_id" => "SKU_ITEM_GROUP_ID (Facebook)",
			"wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
                        "title" => "Product name",
			"title_slug" => "Product name slug",
			"title_hyphen" => "Product name hyphen",
                        "mother_title" => "Product name parent product",
                        "mother_title_hyphen" => "Product name parent product hyphen",
			"title_lc" => "Product name lowercase",
			"title_lcw" => "Product name uppercase first characters",
			"description" => "Product description",
                        "short_description" => "Product short description",
                     	"raw_description" => "Unfiltered product description",
                        "raw_short_description" => "Unfiltered product short description",
		     	"mother_description" => "Product description parent product",
                        "mother_short_description" => "Product short description parent product",
			"link" => "Link",
			"link_no_tracking" => "Link without parameters",
                        "variable_link" => "Product variable link",
			"add_to_cart_link" => "Add to cart link",
			"cart_link" => "Cart link",
			"image" => "Main image",
                        "image_all" => "Main image simple and variations",
			"feature_image" => "Feature image",
			"non_local_image" => "Non local image",
			"product_type" => "Product Type",
                        "content_type" => "Content Type",
			"exclude_from_catalog" => "Excluded from catalog",
                        "exclude_from_search" => "Excluded from search",
                        "exclude_from_all" => "Excluded from all (hidden)",
                        "total_product_orders" => "Total product orders",
			"featured" => "Featured",
                        "tax_status" => "Tax status",
                        "tax_class" => "Tax class",
			"vat" => "VAT",
			"currency" => "Currency",
    			"categories" => "Category",
			"raw_categories" => "Category (not used for mapping)",
			"google_category" => "Google category (for rules and filters only)",
			"category_link" => "Category link",
			"category_path" => "Category path",
			"category_path_short" => "Category path short",
                        "category_path_skroutz" => "Category path Skroutz",
			"one_category" => "Yoast / Rankmath primary category",
			"nr_variations" => "Number of variations",
                        "nr_variations_stock" => "Number of variations on stock",
			"yoast_gtin8" => "Yoast WooCommerce GTIN8",
                        "yoast_gtin12" => "Yoast WooCommerce GTIN12",
                        "yoast_gtin13" => "Yoast WooCommerce GTIN13",
                        "yoast_gtin14" => "Yoast WooCommerce GTIN14",
                        "yoast_isbn" => "Yoast WooCommerce ISBN",
                        "yoast_mpn" => "Yoast WooCommerce MPN",
			"condition" => "Condition",
			"purchase_note" => "Purchase note",
			"availability" => "Availability",
		        "availability_date_plus1week" => "Availability date + 1 week",
                        "availability_date_plus2week" => "Availability date + 2 weeks",
                        "availability_date_plus3week" => "Availability date + 3 weeks",
                        "availability_date_plus4week" => "Availability date + 4 weeks",
                        "availability_date_plus5week" => "Availability date + 5 weeks",	
			"region_id" => "Region Id",
			"stock_status" => "Stock Status WooCommerce",
			"quantity" => "Quantity [Stock]",
			"virtual" => "Virtual",
			"downloadable" => "Downloadable",
			"publication_date" => "Feed publication date and time",
			"price" => "Price",
                        "regular_price" => "Regular price",
                        "sale_price" => "Sale price",
                        "net_price" => "Price excl. VAT",
                        "net_price_rounded" => "Price excl. VAT rounded",
			"net_regular_price" => "Regular price excl. VAT",
			"net_regular_price_rounded" => "Regular price excl. VAT rounded",
			"net_sale_price" => "Sale price excl. VAT",
			"net_sale_price_rounded" => "Sale price excl. VAT rounded",
                        "price_forced" => "Price incl. VAT front end",
                        "regular_price_forced" => "Regular price incl. VAT front end",
                        "sale_price_forced" => "Sale price incl. VAT front end",
                        "sale_price_start_date" => "Sale start date",
                        "sale_price_end_date" => "Sale end date",
			"sale_price_effective_date" => "Sale price effective date",
                        "rounded_price" => "Price rounded",
                        "rounded_regular_price" => "Regular price rounded",
                        "rounded_sale_price" => "Sale price rounded",
		        "system_price" => "System price",
			"system_net_price" => "System price excl. VAT",
			"system_net_sale_price" => "System sale price excl. VAT",
                        "system_net_regular_price" => "System regular price excl. VAT",
                        "system_regular_price" => "System regular price",
                        "system_sale_price" => "System sale price",	
			"vivino_price" => "Pinterest / TikTok / Vivino price",
			"vivino_sale_price" => "Pinterest / TikTok / Vivino sale price",
                        "vivino_regular_price" => "Pinterest / TikTok / Vivino regular price",
                        "vivino_net_price" => "Pinterest / TikTok / Vivino price excl. VAT",
                        "vivino_net_regular_price" => "Pinterest / TikTok / Vivino regular price excl. VAT",
                        "vivino_net_sale_price" => "Pinterest / TikTok / Vivino sale price excl. VAT",
			"non_geo_wcml_price" => "Non GEO WCML price",
			"mm_min_price" => "Mix & Match minimum price",
                        "mm_min_regular_price" => "Mix & Match minimum regular price",
                        "mm_max_price" => "Mix & Match maximum price",
                        "mm_max_regular_price" => "Mix & Match maximum regular price",
		       	"separator_price" => "Separator price",
                        "separator_regular_price" => "Separator regular price",
                        "separator_sale_price" => "Separator sale price",
			"discount_percentage" => "Discount percentage",
			"item_group_id" => "Item group ID",
                        "weight" => "Weight",
                        "width" => "Width",
                        "height" => "Height",
                        "length" => "Length",
                        "shipping" => "Shipping",
			"shipping_price" => "Shipping cost",
			"lowest_shipping_costs" => "Lowest shipping costs",
			"shipping_label" => "Shipping class slug",
                        "shipping_label_name" => "Shipping class name",
			"visibility" => "Visibility",
                        "rating_total" => "Total rating",
                        "rating_average" => "Average rating",
			"amount_sales" => "Amount of sales",
                        "product_creation_date" => "Product creation date",
                        "days_back_created" => "Product days back created",
                );

        	$images = array(
            		"image" => "Main image",
                        "image_all" => "Main image simple and variations",
            		"feature_image" => "Featured image",
            		"image_1" => "Additional image 1",
            		"image_2" => "Additional image 2",
            		"image_3" => "Additional image 3",
            		"image_4" => "Additional image 4",
            		"image_5" => "Additional image 5",
            		"image_6" => "Additional image 6",
            		"image_7" => "Additional image 7",
            		"image_8" => "Additional image 8",
            		"image_9" => "Additional image 9",
			"image_10" => "Additional image 10",
			"non_local_image" => "Non local image",
                        "all_images" => "All images (comma separated)",
                        "all_gallery_images" => "All gallery images (comma separated)",
			"all_images_kogan" => "All images Kogan (pipe separated)",
        	);

		$attributes = array_merge($attributes, $images);

        	$static = array(
			"installment" => "Installment",
            		"static_value" => "Static value",
			"calculated" => "Plugin calculation",
			"product_tag" => "Product tags",
			"product_tag_space" => "Product tags space",
			"product_detail 1" => "Product detail 1",
			"product_detail 2" => "Product detail 2",
			"product_detail 3" => "Product detail 3",
			"product_detail 4" => "Product detail 4",
			"product_detail 5" => "Product detail 5",
			"product_detail 6" => "Product detail 6",
			"product_detail 7" => "Product detail 7",
			"product_detail 8" => "Product detail 8",
			"product_detail 9" => "Product detail 9",
			"product_detail 10" => "Product detail 10",
			"product_highlight" => "Product highlight",
			"consumer_notice_1" => "Consumer notice 1",
			"consumer_notice_2" => "Consumer notice 2",
			"consumer_notice_3" => "Consumer notice 3",
			"menu_order" => "Menu order",
			"reviews" => "Reviews",
			"review_rating" => "Review rating",
			"author" => "Author",
        	);

		$attributes = array_merge($attributes, $static);
        return $attributes;
    }
}

?>
