?????? ??????? ????? ????? ???? ???????? ???? ????? ?? ???, ?? ?? ???? ?? ???? ??? ????? ??? ?? ???? ?????? ????.
??? ?? ?????? ?????? ?? ????????????? ??? ????? ???????? ??? ????? ?????? ???? ?? ????? ?? ??? ?????? ???? ??????
]]>Hello,
Does this plugin support PHP8?
Thank you
]]>1. ?? ???? ????? ?-“???? ??? ????”? ?? ????? ????? ????? ??????
2. ??? ???? ?????? ?????????? ??????????? ??? ??????? ???? ?????? ???
3. ??? ???? ??????? ?? ???? ?????????? ??????????? ??? ?? ???? ?????? ??? ???? ???? ??????? ????? ????? ?? ???????
4. ???? ????? ?? ??? ????? ???? ???? ???? ???? ??? ???? / ????? ??? ?????
????? ????
]]>Hello,
ZAP requires only in-stock products to be included in the mirror site.
How do I exclude all out-of-stock products?
I think it should be a basic feature
What do you think?
Hi,
My shipping cost is determined by the shipping class. e.g X type items is 10 and Y type items are 3.
WP has it saved under shipping class (I know this because Product Feed Pro recognises it as a field). How can I add it myself? What hook can I put in functions.php?
I am trying to grab the shipping cost and shipping duration from my site yet it just isn’t showing up! The shipping cost is from WooCommerce built-in and until I find a good plugin I am using ACF for shipping times.
What code could I use to add more fields?
Hi.
I have a website that I am I in the process of translating into hebrew. The Hebrew version will be available under domain.com/he. Is there a way to make sure that the plug will grab only the Hebrew version of products for ZAP? I am using the free translation plugin called TranslatePress
Hi Ido!
Thanks again for ur great plugin!
I’m using it for a while and it does the job very well, now I’d like to improve it a little.
I’d like to filter and exclude some products from the XML by using ACF field I manage.
So in my functions.php I’m using wc_zap_mirror_xml_node action to map the correct fields and now as I said I want to exclude some products by the ACF field value. How do u suggest to do that? I think of getting the ACF field value first, then doing a If statement according, before the node placement, so if the expression is false, just to skip the placement..
What do u think about it?
Thanks a lot!
Regards,
Ofir
Thank you very much for your plugin.
I just wanted to share some functions.php code, in case someone else has similar problems:
<?php
/* Custom functions code goes here. */
add_action( 'wc_zap_mirror_xml_node', 'adel_wc_zap_mirror_xml_node', 20, 3);
function adel_wc_zap_mirror_xml_node(&$node, $product, $post) {
$node->PRODUCT_URL = wp_get_shortlink($product->get_id());
WC()->shipping()->reset_shipping();
WC()->customer->set_billing_address_to_base();
WC()->customer->set_shipping_address_to_base();
WC()->customer->set_billing_country( 'IL' );
WC()->customer->set_shipping_country( 'IL' );
WC()->session->set( 'chosen_shipping_methods', array(1) );
WC()->cart->empty_cart();
WC()->cart->add_to_cart($product->get_id(), 1);
$packages = WC()->cart->get_shipping_packages();
$shipping = WC()->shipping->calculate_shipping($packages);
$packages = WC()->shipping->get_packages();
$shipping_costs = null;
if(!empty($packages) && isset($packages[0]) && isset($packages[0]['rates']))
{
foreach($packages[0]['rates'] as $rate)
{
if($shipping_costs === null || $rate < $shipping_costs)
$shipping_costs = $rate->get_cost() + $rate->get_shipping_tax();
}
}
if($shipping_costs === null) $shipping_costs = 1000;
$node->SHIPMENT_COST = $shipping_costs;
WC()->cart->empty_cart();
$node->DETAILS = wp_strip_all_tags(strip_shortcodes($node->DETAILS));
if($product->is_on_sale())
$node->PRICE = $product->get_sale_price();
else
$node->PRICE = $product->get_price();
}
This code currently fulfills our requirements, but might not be the right fit for everyone!
– Use short URL as recommended.
– Some simple shipping costs calculation (this will probably not fit all people, e.g. if they have different areas to deliver to).
– Strip HTML tags from product DETAILS, as recommended.
– Checks if product is on sale, if yes sale price, otherwise normal price
https://img.zap.co.il/PDFs/ZapTechnicalRequirements.pdf
Again thank you for your plugin, have a great day, ????
]]>???? ??? ??? ?? ???????!
?? ?? ?????? ??? ?? ????? ???? ??? ??? ?? GTIN.
???? ?? ????? ??????.
??? ?? ??? ????? ???? ?? ????????
?? ?? ????? ???? ?????.
]]>??? ????
?????? ?? ????? ????? ???!
??? ??? ?? ???? ?? ?URL
?? ??? ???? ????? ?? ????? ??????
????? ?? ?? ??? ????? ?????? ?? ???? ?????? ?? ?????
???? ????? ???? ??? ?????? ??? ???? ??? ????? ????? ?????? ?????
Hi,
Some of the product properties on my store are driven by custom fields or taxonomies, such as those created by plugins like ACF or Perfect Brands.
Is there an option to select those fields for the mirror site? For example, I’d like to use the brand field from Perfect Brands as the manufacturer. It’s not showing up in the dropdown, hence the ask.
Thanks in advance, and thank you for creating this awesome plugin for free.
Btw, I’m happy to make a donation to support your work.
??? ????
?????? ?? ?????? ?? ???????? ???? ?????? ???? ?????
??? ???? ???? ????\
???? ??,
?????? ?? ?????, ?????? ?? ?? ?? ???? ???? + ????? ???? ???? ????
????? ?????? ????? ???? :
??? ???????? ????? ??? ????? ?? ?????, ????? ????? ?????? ?????? ???? zap ?????? ??????
??? ?????? ?? ????? ?????? ????-
GetDataFromXml errorPosition:XDocument.Parse(srcXml) System.Xml Root element is missing.
??? ???? ??? ??? ?? ?????
???? ?????? ????? ?? ????? ??? ?? ?????? ?????? ????? ???? ????? ?? ????? ??????
??? ?? ?? ????? ?? ??????.
????? ??? ?????? ???????
???? ????
Hi Ido, ZAP team sent me an error message which according to what they say the website does not scanned properly:
GetDataFromXml errorPosition:myHttpClientHandler get data WinXMLSpider Object reference not set to an instance of an object.
Any ideaes?
Best regards,
Yaniv
WooCommerce version 4.2.0
Wordpress version 5.3.4
??? ????, ???? ??? ?? ?????!
??? ?? ????.
?? ?? ???? ???? ?????? ?? ???? 0 ???? ?? ???? ??????? ???? ???? ?????? ?????.
??? ?? ?????? ????
???? ????,
???? ?? ?????, ???? ?????.
?? ??? ??????? ?????? ???? ??????? ?? ?????? ????????? ????? ???? ????? ????? ?????-???? ????? “???? ????”, ?? ??? ????? ??? ???? ?? ???? ???? ?? ???? ?????? ?
???? ????.
]]>hi when i choose price i only have a choice between regular price and sale price. however if i choose regular price if i have something on sale then the cheaper price doesnt display on zap and when i choose sale price a product that is not on sale doesnt appear with a price. how can i make the plugin take the cheaper of the two between the regular price and sale [rice
thanks
hi
i use this code
//fetch products automaticly
add_action( 'wc_zap_mirror_xml_node', function( &$node, $product ) {
$product_id = $product->get_id();
$term_names = wp_get_post_terms( $product_id, 'product_brand', array('orderby'=>'name', 'fields' => 'names'));
$term_names = implode(' ', $term_names);
$node->PRODUCT_NAME = $product->get_name();
$node->DETAILS = $product->get_description();
$node->CATALOG_NUMBER = $product->get_sku();
$node->PRODUCTCODE = $product->get_id();
$node->PRICE = $product->get_price();
$node->SHIPMENT_COST = '30';
$node->DELIVERY_TIME = '7';
$node->MANUFACTURER = $term_names;
$node->WARRANTY = '12 months';
}, 10, 2 );
i need to add the option to show the SHIPMENT_COST from the product details if it is filed by client otherwise it will show the general price
how can i do that?
]]>???? ?? ???? ?? ???????? ????? ?? ?????? ????? ????? ????? ?-XML ???? ???.
?? ??? ???? ????? ???? ??????? ???? ?? ???? ????? ???? ???? ???????? ????? ?? Zap Mirror ????? ????? ?????.
??? ?? ?? ????? ?-XML. ?? ??? ???? ?? ???
Zap requested her clients to update XML algorithm
to add:
<PRODUCTCODE>
check this email they sent:
?????? ?????? ????? ????? ??????? ????, ??? ?????? ???? ??????? ?????? ??? ???? ?-xml (??? ?????) ???? ??? ?????? ?? ????? ????.
???? ???? ???? ????? ????? ?????? ?????? ???? ?? ??????? ?????????? ???? ???????, ???? ????? ???? ?????? ?? ???? ???????? ???????, ????? ????? ???? ????.
????? ????? ????? ????? ?? ?????? ?????, ?? ??? ???? ?? ????? ???? ?????.
?? ?????? ?? ???? ?-XML ?? ????? ???? ???. ???? ????? ?? ?????? ????????? ?? ??? ????? ?????? ????. ?????? ?? ?????? ??? ????? ?? ???? ???? ?????.
???? ???? ???? :
<PRODUCTCODE> ???? ?????? ?? ????? ?????? ?? ???? (???? ??????, ???? ??? ????)
for your care! thanks!
]]>1. Just installed the plugin 1.4.5, WP 5.2.2.
2. Set few parameters in woo-setting>> zap setting
3. I get the categories and some products but NO XML tags.
What am I doing wrong?
See simphone zap page
???? ????. ???? ?? ?????. ?? ?? 2 ????? ?????:
?. ???? ??? ???? ?? ????? ?? ? XML ?
?. ????? ??? ?? ??? ?? 1000 ??????, ??? ?? ???? ???? ???? ????? ???? ??? ???? ?? ??? ????? ?? ????? ???? ?? “?????? ???” ? ???? ??? ???? ?? ????? ???? ????? ??? ??????? ???, ?? ????? ?? ????
???! ???? ?? ?????! ?? ?? ???? ?? ??? ?????? ??? ????.. ??????? ?? ???? ????? ?? ??? ??????, ?? ??? ??????
]]>??? ???
?? ??? ????? ??????
????? ???? ?? ???? SHIPMENT_COST
? 0 ??????? ???????????? ????? ?? ????? ????? ????????
???? ???? ????? ????? ???
??? ?? ??? ???? ????? ?? ???? ?????? ????? ?????
??? ???? ?? ?? ????? ??????? ?????? ???? ??????
??? ?????
????
????
??????? ?????? ?? ????? ??? ???? ???? ????? ?????
??? ??? ??????? ?? PRODUCT_URL
?? ??????? ???????????? ??? ??????? ?? ???? ??????
???? ??????
??? ?????
????
Hi, for some reason in WooCommerce -> Settings -> Zap Mirror Site, i receive in each option ‘.esc_html($sub_value).’ instead of an actual option
]]>???? ?? ???? ?? ?????? ??? ??????!
??? ?????? ?? ????? ??? ??? ?? ???? ?? ????? ???? ???? ????? ????.
??? ??? ????? ?????
Hi Ido,
Thanks again for the great plugin. we just did a series of WordPress updates and are now unable to generate the mirror page. Below is the error that we receive. Please advise as to how we may resolve this. THANKS A LOT! Chanan
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
]]>hi
can you help with a hook in order to NOT display all the products with 0 in stock ?