zocco
Forum Replies Created
-
Hi.
Thanks, i will send ..
Z
Hi.
I´ve noticed the update. SUPER – THANKS.
Last time ive solved it manually 🙂 with dreamweaver – by find and replace i inserted variable params for every product with one click in xml – than manually deleted unnecessary fields 🙂 That was my custom solution.I´m really happy that the variable params are now included in plugin.
Best regards, ZP
Sry .. there is no any other solution for this? It´s urgent for my client,
because without these variable params the mall can´t start selling every product. THANKSOk, thanks for response!
It´s not be solvable with your previous solution?
“When you want this to be dynamic and have a different value for each product than you need to create a new WooCommerce attribute and fill that attribute on your product edit pages with the category ID’s you want to use. That newly created WooCommerce attribute you then use on the field mapping page and map it to the category_id field.“
By adding custom attribute to product – as MP_TASTE, MP_WEIGHT than use on the field mapping page as VARIABLE_PARAMS field?
Thanks, ZHi.
Thank you!! It helped – categories are now OK.
I have another problem: We have only variable products (fishing lures – with attributes for example: weight,taste – size,taste). In the feed there are shown as PARAM´s. But mall.sk wants another field to add to xml: VARIABLE_PARAMS for each product.
FOR EXAMPLE (product attributes shown currently in xml) :
<PARAM>
<NAME>MP_SIZE</NAME>
<VALUE>10/14 mm</VALUE>
</PARAM>
<PARAM>
<NAME>MP_TASTE</NAME>
<VALUE>PinPeach</VALUE>
</PARAM>THEY WANTS TO ADD: for variable products like this:
<VARIABLE_PARAMS>
<PARAM>MP_SIZE</PARAM>
<PARAM>MP_TASTE</PARAM>
</VARIABLE PARAMS>I don´t know how to solve this. Please help me to figure out. I´m sending some screenshost .. Thanks in advance, Best regards, Z
feed (xml): https://karma-bait.sk/wp-content/uploads/woo-product-feed-pro/xml/cOj2HclYlkfOYiqLX77XhqhYbe7z7itK.xml
feed fields: https://www.dropbox.com/s/rhnu8mhwg1rdib5/pfpro.jpg?dl=0
feed settings: https://www.dropbox.com/s/iwsdqxht5ad4qko/pfpro_settings.jpg?dl=0
mall feed instructions: https://knowledgebase.mallgroup.com/en/marketplace-mall-xml-feed/2/
OK .. I understand .. ill try it. Thank you very much!
Hi. Yes of course. When im exporting xml for mall – i must define category for each product with param CATEGORY_ID. We have 14 variable products in 5 categories one the webshop. But i dont know how to set in the plugin more categories for products, f.e.: boilies, pellets and more … Thanks!
Stiahol som oficiálny plugin Heureka, pri základných nastaveniach kategórií Heureka neviem zadať nič, nenačítava kategórie
Už nabehli kategórie .. takže toto je už bezpredmetné .. v oficiálnom plugine kde viem nastaviť custom field, ako napr. manufacturer?
Ďakujem pekne, Papp
Stiahol som oficiálny plugin Heureka, pri základných nastaveniach kategórií Heureka neviem zadať nič, nenačítava kategórie. V plugine Wpify Woo to išlo bez problémov. V mojom prípade všetky produkty patria do “Heureka.sk | Hobby | Rybárčenie | Návnady a nástrahy”.
S Wpify Woo skúšam snippet (cez plugin WPCode) – no bez úspechov.
Snippet mám takto (výrobcu mám nastavenú ako vlastnosť produktu, názov aj slug: vyrobca):
/** * @param $data * @param \WC_Product $product * * @return array */ function custom_xml_feed_heureka_item_data( $data, $product ): array { $vyrobca = $product->get_attribute( 'vyrobca' ); // identifikátor vlastnosti upravte tak jak ji máte na vašem eshopu if ( $vyrobca ) { $data['MANUFACTURER'] = array( '_cdata' => $vyrobca ); } return $data; } add_filter( 'wpify_woo_xml_feed_heureka_item_data', 'custom_xml_feed_heureka_item_data', 10, 2 );A tento riadok sa kde má vložiť prosím?
apply_filters( ‘wpify_woo_xml_feed_heureka_item_data’, $data, $product, $parent_product );Ďakujem pekne, S pozdravom, Papp
Veľmi pekne ďakujem za rýchlu odpoveď. Idem to skúsiť!
S podzravom, PappDobrý deň.
Vedeli by ste mi prosím s tým pomôcť? Tiež potrebujem pridať do xml feed -u položku manufacturer. Doteraz som nemal ani pri produktoch – boli len značky.
1. výrobcu mám pridať ako vlastnosť produktu a skryť na produktovej stránke?
2. Kde mám pridať php snippet? .. do function.php? alebo mám plugin “WPCode” – radšej cez ten?
Vopred Ďakujem!
S pozdravom, Papp