Akce a filtry
Filtry pro úpravu tagu DELIVERY_DATE
Definice filtru:
$del = apply_filters( 'toret_xml_custom_deldate', $del, $var_id );
$del = apply_filters( 'toret_xml_custom_deldate', $del, $product_item->ID );
Příklad filtru:
Příklad filtru vynechává hodnotu v tagu <DELIVERY_DATE> u Heureka SK a Heureka CZ
Filtry pro upravu tagu DESCRIPTION
Všechny tyto filtry umožňují manipulovat s description u produktu a varianty, v příslušných feedech.
Umožňuje manipulovat s description jednoduchého produktu u Heuréky
toret_xml_feeds_zbozi_description_simple
toret_xml_feeds_product_variant
toret_xml_feeds_zbozi_description_variant
toret_xml_feeds_description_variant
Filter toret_xml_feeds_get_price
Umožňuje manipulovat s cenou u produktu i variant. Do filtru je předávana cena produktu a objekt produktu. A to jak u jednoduchého produktu, tak i u varianty
Zdroj:
$price = apply_filters( 'toret_xml_feeds_get_price', $price, $product );
Filter toret_xml_feeds_productname_variant
Umožňuje manipulovat s productname varianty produktu:
$text = apply_filters( ‚toret_xml_feeds_productname_variant‘, $text, $product_item->ID, $vars->ID );
Filter toret_xml_feeds_product_variant
Umožňuje manipulovat s product varianty:
$text = apply_filters( ‚toret_xml_feeds_product_variant‘, $text, $product_item->ID, $vars->ID );
Filter toret_xml_feeds_productname_simple
Umožňuje manipulovat s productname produktu:
$text = apply_filters( ‚toret_xml_feeds_productname_simple‘, $text, $product_item->ID );
Filter toret_xml_feeds_product_simple
Umožňuje manipulovat s productname varianty:
$text = apply_filters( ‚toret_xml_feeds_product_simple‘, $text, $product_item->ID );
toret_xml_feeds_zbozi_description_simple
toret_xml_feeds_zbozi_product_simple
toret_xml_feeds_zbozi_productname_simple
toret_xml_feeds_zbozi_product_variation
toret_xml_feeds_zbozi_productname_variation
toret_xml_feeds_zbozi_description_variant