{"id":999955911,"date":"2021-05-05T12:57:25","date_gmt":"2021-05-05T12:57:25","guid":{"rendered":"https:\/\/b2b.nod.ro\/blog\/?page_id=999955911"},"modified":"2024-03-27T13:14:34","modified_gmt":"2024-03-27T13:14:34","slug":"nod-emag","status":"publish","type":"page","link":"https:\/\/shop.nod.ro\/blog\/nod-emag\/","title":{"rendered":"Nod Emag"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-text-align-center\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EMAG MARKETPLACE<\/h4>\n\n\n\n<p class=\"has-text-align-center\">WordPress plugin for woocommerce <\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\"><strong>Revisions<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>2020-05-05<\/li>\n\n\n\n<li>2020-05-08<\/li>\n\n\n\n<li>2020-05-14<\/li>\n\n\n\n<li>2020-05-18<\/li>\n\n\n\n<li>2020-05-29<\/li>\n\n\n\n<li>2020-06-01<\/li>\n\n\n\n<li>2020-07-27<\/li>\n\n\n\n<li>2020-08-06<\/li>\n\n\n\n<li>2020-08-28<\/li>\n\n\n\n<li>2020-09-09<\/li>\n\n\n\n<li>2020-11-02<\/li>\n\n\n\n<li>2020-11-10<\/li>\n\n\n\n<li>2020-12-30<\/li>\n\n\n\n<li>2021-02-03<\/li>\n\n\n\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1iPiZEUe-1mtr7BKykzBa-gUHlfcM2k4x4QBiP-YO-Cc\/edit#heading=h.5q8kofl7i873\">30.03.2021<\/a><\/li>\n\n\n\n<li>09.11.2021<\/li>\n\n\n\n<li><a href=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#Smartbill\" data-type=\"URL\" data-id=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#Smartbill\">22.02.2022<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#emkp_sync_products\" data-type=\"URL\" data-id=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#emkp_sync_products\">11.03.2022<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#eMAG_locker_invoices\" data-type=\"URL\" data-id=\"https:\/\/shop.nod.ro\/blog\/nod-emag\/#eMAG_locker_invoices\">15.06.2022<\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Use case<\/strong><\/h3>\n\n\n\n<p>This module allows NOD partners to sync their ecommerce websites with emag marketplace in terms of products and orders. It is based on the <a href=\"https:\/\/drive.google.com\/file\/d\/1KJS7unEed5Lcuem8aDFoWV20xgYfRn32\/view\">Emag Woocommerce<\/a> module developed by Zitec.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Integration Pre-requisites<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Make sure that your hosting provider allows your machine to receive traffic from emags\u2019 IP 91.206.36.241<\/li>\n\n\n\n<li>Also, you need to add your host machine\u2019s ip address inside emag marketplaces\u2019 whitelist IP list (<a href=\"https:\/\/marketplace.emag.ro\/my_account#technical-details\">https:\/\/marketplace.emag.ro\/my_account#technical-details<\/a>)<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/Id5yYC8jZkKGY14efa7KNpuaAHkYirOK8TkMBmRP5BrJ3QrBPuuDJMcLOWtjfEeFEYT5MmaLr9kV3xGw4GcC_PZ7oNRsjo1RqwPMgxgMglAtFD4vVJuJangWe6WlaHc0ZHzfcyVb\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Add callback urls to your machine in the technical details page for the awbs, new orders products.<\/li>\n<\/ol>\n\n\n\n<p>AWB =&gt; https:\/\/yoursite.tld\/index.php?type=emkp_new_awb&amp;awb=<\/p>\n\n\n\n<p>NEW ORDER =&gt;&nbsp; https:\/\/yoursite.tld\/index.php?type=emkp_new_order&amp;order_id=<\/p>\n\n\n\n<p>CANCELLED ORDER =&gt; https:\/\/yoursite.tld\/index.php?type=emkp_new_order&amp;order_cancelled=<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Plugin Dependencies<\/h3>\n\n\n\n<p><strong>Required plugins<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WooCommerce (min v5.0.0) &#8211; required for your online shop<\/li>\n<\/ul>\n\n\n\n<p><strong>Optional plugins<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Smartbill<\/strong> (min v.1.8.0) &#8211; used for generating invoices and NIRs. The eMag marketplace option should also be enabled in your smartbill cloud provider.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Note that 2 factor authentication is not supported with the plugin, so you need to disable that from you cloud account if you have it enabled !<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Nod wordpress module <\/strong>(min 1.2.0) for sending orders to NOD and importing NOD products.<br><strong>Important note: <\/strong>The customer should have the DropShipping option enabled in order to be able to send orders to NOD. Please send an email to <a href=\"mailto:ecommerce@nod.ro\">ecommerce@nod.ro<\/a> requesting eMag API access so you can place orders with eMag AWB.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><br><strong>Core functionalities<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product import<\/strong><\/h4>\n\n\n\n<p>Imports products from emag marketplace and stores them internally for processing<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product match<\/strong><\/h4>\n\n\n\n<p>Matches products imported from emag described in previous steps and tries to match them with products from your woocommerce shop. The match is done by comparing woocommerce SKU with the Emag Part Number (<strong>PN<\/strong>). If a relationship can not be linked, you can also manually match products imported from emag via bulk csv upload via the plugins Sync Products page or from individually ,from the products page.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product Unmatch<\/strong><\/h4>\n\n\n\n<p>The unmatched product reverses the process of matching an emag product with a woocomerce product so that I can try the match on another product again, so that if you initially make a mistake in the match,<strong> you may correct it.<\/strong><\/p>\n\n\n\n<p>You can manually unmatch products&nbsp; individually from the products page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/zTlIqnPEAARysKZGo0TqSytcDYJWzhk6KLZo0zr0pGIL5uiu1nvzQv7UVRu_jgksZ1ZhvUyyHXl2PnRy5SRcmc82hRebLBawcN5XcLRKkM7fgK57aCo4vEFkHZ1BgvM0XiiKS_cc\" alt=\"\"\/><\/figure>\n\n\n\n<p>Note * When you want to un-mached a product, after pressing the &#8220;un-mach&#8221; button there is no need to update it, leave the product page, because if you click the &#8220;Update&#8221; button, the product returns to it\u2019s original settings.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product sync<\/strong><\/h4>\n\n\n\n<p>The process in which matched woocommerce products (see above) are kept in sync with emag automatically (for price and stock). This depends on the settings you configure the plugin with.<\/p>\n\n\n\n<p>It has two modes:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Products price and stock sync&nbsp;<\/strong>\n<ul class=\"wp-block-list\">\n<li>Match only &#8211; the products from your woocommerce website will be matched with the products from emag marketplace but no info is sent to emag (are ready for sync).<\/li>\n\n\n\n<li>Match and sync &#8211; the products from your ecommerce website will be matched and kept in sync for price and\/or stock with the products from emag marketplace.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Automatic<\/strong> <strong>products price and stock sync &#8211; <\/strong>looks over all of the products you already have listed on the emag marketplace and tries to match with existing products in your woocomerce store.<br><br>Depending on what settings you use for the plugin, it can also enable products for syncing automatically when a new product is matched.<br><br>Once matched and sync, products in your store will be synced with the products in your emag account (meaning that stock, price and status will be sent to emag if you specified that in settings.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order import<\/strong><\/h4>\n\n\n\n<p>Register new orders from emag in your woocommerce website. It only works for emag orders that contain products that you also have in your woocommerce shop.<\/p>\n\n\n\n<p><strong>Important<\/strong>:<strong> <\/strong>Use this URL to force the order import process:<br><\/p>\n\n\n\n<p><strong>[SHOP URL]\/index.php?type=emkp_new_order&amp;order_id=[EMAG_ORDER_ID]<\/strong><\/p>\n\n\n\n<p><strong>If you want to manually import commands from Emag before the cron. Go to the &#8220;EMag Marketplace -&gt;&#8221; Orders Queue module and click the  &#8220;Importa comenzile di EMag&#8221; button<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Orders sync<\/h4>\n\n\n\n<p>For imported orders (see above) we also keep them in status sync (update status according to emag status) and also register awbs.<\/p>\n\n\n\n<p>AWBs for emag orders can also be created from the order details page, using the sender details from the Shipping Settings page (see the Plugin Config &gt; Shipping section.)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Order invoice and NIR generation<\/h4>\n\n\n\n<p>We automatically generate invoices and in some cases NIRs.<\/p>\n\n\n\n<p>We generate invoices for all orders in your shop, and NIRs for all orders that have a nod order id.<\/p>\n\n\n\n<p>Automatic generation depends on how you configured the plugin. Manual nir \/ invoice generation can also be done individually from orders page.<\/p>\n\n\n\n<p>Invoices for emag orders can also be sent automatically in emag.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Plugin config<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">General settings page<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>API<\/strong><\/h4>\n\n\n\n<p>You will need to use your&nbsp; eMAG login credentials to use the plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/TLZFDfyGR8IGf-ktoeZsT_WE2waKMdwpRNgD7dSeHprU7HDUlf4HAl3nd_kvALmm6AaZrzYdRHaIGgLOnscPx_NYN86DCkGviWSEPCqLurReIZnVS4TTw2ymrEg_oDeSO5CL6MrZ\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>API URL: Select which version of the emag api you want to use (api-3 recommended !)<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Username: your emag marketplace username<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Password: your emag marketplace password<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Locale: the locale you use for your marketplace (currently only one is supported)<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Currency: The currency you sell in.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Smartbill<\/strong><\/h4>\n\n\n\n<p>Make sure you know how to use the smartbill and the smartbill plugin beforehand. Read the <a href=\"https:\/\/api.smartbill.ro\/extension-files\/Ghid%20de%20utilizare%20WooCommerce%203.x.pdf?v=6\">official documentation here<\/a>.<\/p>\n\n\n\n<p>For this Tab to be enabled you need to have the smartbill plugin installed, activated and authenticated. (see the dedicated Smartbill Section on how to do that)<\/p>\n\n\n\n<p><strong>Please note that every module activation in Smartbill requires you to re-login in order to benefit from the new modules. To perform a new login, simply remove your password, hit save, then enter your password and save again.<\/strong><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"127\" src=\"https:\/\/lh3.googleusercontent.com\/ng379KbUXdqyIRZmubetwaxKS9IVhB3WneolBs65FjxI9bypmoGX07_DhR8SVlxw0Zrj7IBp1Irb0mNHXsm7lHjXyyJFtDwTPefq6dUy-aTR1rHKsBF2BpTLhQOvOqGlvDJQEsGM\"><br><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"275\" src=\"https:\/\/lh6.googleusercontent.com\/SbUYXpv0HOgMI__ETaEqAITJwjLcwg98S3mpz7R38MVty9qNFk9r-b7P6KHpCvD_XbFSXe_VdOoDXe_2LH7d9_2rc4VaAOIOHR5X55Hf0qGaXIhPv-EXP3lG8LcA6_nwxR5ALgdj\"><br><\/p>\n\n\n\n<p><strong>For more informations on the settings, please acces this link:&nbsp;<a href=\"https:\/\/docs.google.com\/document\/d\/1yhCwxdi06Ys5Rhc8DwWF1kVWLHjWcKFvDX5DS-rt6X4\/edit\">Setari Smartbill-Nod Emag<\/a><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Products<\/strong><\/h4>\n\n\n\n<p><br>All the options regarding products management in relation to emag will be handled in this tab:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/cAouBRqqU1U3Ziaq0CItP407omvSIXmDJSzip2bCBqsExbnOppWZkI-bBWruVOsrpgrgKy1hbOyohRIynsaGnoBSXP47mBM-5jbgnMHHJntB6KkgzlP0LqxDIJcFQiFQN82Oueej\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Handling Time<\/strong>:&nbsp; 0 is the default value, change only if you have another deal with emag. =&gt; This validation is ignored.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>VAT rate<\/strong>: the VAT rate specific to the rules and regulations of your country<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Min sale price (percentage)<\/strong>: the minimum sale price percentage of products that you want to sync with emag marketplace<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><strong>Max sale price (percentage)<\/strong>: the maximum sale price percentage of products that you want to keep in sync with emag marketplace<br><\/li>\n\n\n\n<li><strong>General Emag Product Commission (percentage)<\/strong>: This percentage will be added to the price of the product (price * (1 + percentage)) when sending price to emag (if the price sync is enabled).<\/li>\n<\/ol>\n\n\n\n<p><strong>MISC<\/strong>: Note that if you set your woocommerce store to include price tax for products, the final price sent to emag will deduct the VAT rate you set at point 3 from the overall product price, because VAT will be added in emag as well.<br><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li><strong>Delete Product Action<\/strong> Action to be taken with emag products removed from woocommerce.<br>This is only available for products that have been <strong>matched and are in stock sync <\/strong>with emag. Options:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set stock 0: When a woocommerce product is deleted from your woocommerce website, it will set the stock of the product to 0 in emag marketplace<\/li>\n\n\n\n<li>Set status to 0: Like the above, sets the status of the product to 0, making it invisible in the marketplace.<\/li>\n\n\n\n<li>Set stock and status 0: When the woo product is deleted, besides setting stock to 0 it will also set status to 0, making your product invisible to the marketplace.<\/li>\n\n\n\n<li>Do nothing: Does not affect the state of the emag product in any way.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\">\n<li><strong>Import and Match Cron<\/strong><em> <\/em>If this is enabled, it will periodically try to match (and sync, if the auto-sync option is set to yes) your products from eMag marketplace with products existing in your woocommerce shop.<\/li>\n<\/ol>\n\n\n\n<p>disable &#8211; this will make no changes to the emag products.<\/p>\n\n\n\n<p>enable &#8211; this <strong>could make changes<\/strong> to the emag products, depending on the following settings.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"8\">\n<li><strong>Auto sync<\/strong> If this is set to yes, it will put all matched products automatically in sync with eMag<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"9\">\n<li><strong>Price sync default<\/strong><em>&nbsp; <\/em>If this is enabled, it will set the price sync on for newly matched products automatically. This only works if the auto sync is also enabled. options:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disable &#8211; after the product is matched with emag, the checkbox for price sync will be unchecked so no price will be sent to emag for a <strong>newly matched product.<\/strong><\/li>\n\n\n\n<li>Enable &#8211; after the product is matched with emag, the checkbox for price sync will be checked for a newly matched product and the <strong>price will be changed in emag.<\/strong><\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"10\">\n<li><strong>Stock sync default<\/strong><em>&nbsp; <\/em>If this is enabled, it will set stock sync for newly matched products automatically. This only works if the auto sync is also enabled.<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disable &#8211; same as with price sync<\/li>\n\n\n\n<li>Enable &#8211; same as with price sync, so matched products also get their stock <strong>synced with emag.<\/strong><\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"11\">\n<li><strong>eMag sync preferences for products that run out of stock <\/strong>Will update emag products according to the selected options, for matched products that run out of stock and have the stock sync option enabled and visibility to marketplace active.<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set stock 0: When a woocommerce product is deleted from your woocommerce website, it will set the stock of the product to 0 in emag marketplace<\/li>\n\n\n\n<li>Set status to 0: Like the above, sets the status of the product to 0, making it invisible in the marketplace.<\/li>\n\n\n\n<li>Set stock and status 0: When the woo product is deleted, besides setting stock to 0 it will also set status to 0, making your product invisible to the marketplace.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"12\">\n<li><strong>eMag products become unavailable <\/strong>Using this option you can handle what happens with matched woocommerce products that become unavailable in emag. Options:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remove all eMag metadata (unmatch): Removes all emag meta data from the woocommerce product, thus unmatching the woo product.<\/li>\n\n\n\n<li>Keep emag metadata, but unsync: Will remove the product visibility and sync options.<\/li>\n\n\n\n<li>Do nothing: Does not affect the state of the woocommerce product in any way.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Orders<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/8EjXYRbHFASy5B0x4wpEZPCjiIJRjJ9A__wdU6H0vwPrDE-t068aCkHshfv7HHN5F_TCISl1-eOt-iAQN55mqEbUf99rICrkZ2SNOMZd_AiHSnsnHWHvKVQrTHmRMH3yLL-HCQdF\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Initial order status<\/strong> the status of the order when it arrives in ecommerce website<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>Finalized order status<\/strong> the status of the orders in ecommerce after they are completed in emag marketplace<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Cancelled order status<\/strong> the status of the cancelled orders in ecommerce after they are being cancelled in emag marketplace<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><strong>Generate invoices automatically<\/strong> If enabled, invoices will be automatically generated for orders with completed status. This uses the smartbill plugin. For emag invoices it will try to use the series you defined in the Smartbill section of this plugin, if not it will default to the one used in the Smartbill Plugin. This option is only available if you have smartbill installed and enabled.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li><strong>Auto send invoice to eMag<\/strong><em> <\/em>If enabled, invoices for emag orders will also be sent automatically to eMag. Be careful with this option if you\u2019re also using smartbill, because smartbill also sends invoices to emag automatically. It\u2019s better to disable auto sending from smartbill and use this plugin instead to auto send.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Payments<\/strong><\/h4>\n\n\n\n<p>This section allows you to map the payment options coming from emag to payment options in woocommerce.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/knT_hnfVBjQQNiNjLRnj-OE722fyMbmsWToHql4VSQJnfKdP-erLvva9wRQUF7q8e2RyjInvUs2H6aUDXaQTJ0963pgMKQVocK-FQ0l9_AlPeFe-cRpiQ5VKkXro6Vu4pPL7X_Bq\" alt=\"\"\/><\/figure>\n\n\n\n<p>It has Three options:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Cash On Delivery<\/strong> the final user will pay with cash on delivery<\/li>\n\n\n\n<li><strong>Bank Transfer<\/strong> the user will use an bank transfer for the payment<\/li>\n\n\n\n<li><strong>Online Card Payment<\/strong> the user will use an online payment method<\/li>\n<\/ol>\n\n\n\n<p>Note that woocommerce comes by default <strong>only with the cash on delivery option<\/strong>. You will need to install and enable other plugins for the bank transfer and online card payments to be available.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Sending orders to NOD depending on the payment method<\/strong><\/h5>\n\n\n\n<p>If an Order from emag is with Cash on delivery, then we send the order to NOD with cash on delivery option (plata ramburs) so that it will appear on the AWB.<br><br>If an Order from emag is with Online payment or Bank transfer then no cash on delivery parameter will be sent to NOD and it won\u2019t appear on AWB<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Shipping<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/KMexQxtGsUEJzVPPzIPp7PdyDRRIdP0Oqe6Js3mZ2e_e5ENvne5b5_VNrZQMN9-Iq-GCxvFljUwRKckENSoHvwvykt0ecpw8zxxm67n-zaapgpmNDzr-LXGe_dYL182X1NVOYs0M\" alt=\"\"\/><\/figure>\n\n\n\n<p>The information stored in the shipping page is used when generating AWBs for emag orders saved in woocommerce, from the order details page.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Crons:<\/strong><\/h4>\n\n\n\n<p>In this panel you can set on disabled\/enabled the emag related crons, just like in the Nod connector panel:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/drX7JH6CWeCYzNRHhgRs_zn6avgdX3hwLlhJk93Rl-6cmWwdzUV4Ccapb56J7GYp57OVGTwhlosJziNSZdCMXzBG7c8YwTIIqR1gylKjZYZD4CYOOxUG5UqX4ni5s6V1Oi4Z_UMF\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Alerts and Logging<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/10\/image-1024x535.png\" alt=\"\" class=\"wp-image-999959694\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/10\/image-1024x535.png 1024w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/10\/image-300x157.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/10\/image-768x401.png 768w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/10\/image.png 1431w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The alerts and logging system provides a way to inspect the health of the plugin by monitoring information regarding Api integration and overall plug-in functionality.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>API Error Email: Will send alerts only in regards to communication with the emag API<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Generic Alerts: Will send all other alerts (regarding the crons, invoice generation, orders import,products sync etc.)<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Debug level: Will enable debugging in site (available in the Logs section)<\/li>\n\n\n\n<li>\u201cCiclicitate trimitere alerte\u201d How often will emails be sent with errors from Emag<\/li>\n\n\n\n<li>Keep logs for: For how long logs will be saved on disk, (0 for forever).<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Sync products page<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/t4nekZ5RiSD_Uyvew8r4usP4UvmTOsz2PxIDT-VqPUrvA0ryiliVSo0p6l7Y4wsn3NiHDA8mecmYSowIeogVKJUIJ5dcgxQL0TI0jz3XCeaUJMjxkckBsC6u6HU-QQ3EePGfONbW\" alt=\"\"\/><\/figure>\n\n\n\n<p>On the sync products page you can perform multiple tasks:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Import and match emag products<\/li>\n\n\n\n<li>Import and match &amp; sync emag products<\/li>\n\n\n\n<li>Export a list of unmatch emag products<\/li>\n\n\n\n<li>Bulk match emag products<\/li>\n<\/ol>\n\n\n\n<p>Also, this page shows info of last products import, last match and last sync.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Import and Match emag products<\/h4>\n\n\n\n<p>Running this option will import all of the emag products from your marketplace account then try to match them with your existing woocommerce products using the relationship between emag part number and woocommerce sku.<\/p>\n\n\n\n<p>After the process finishes, you will receive a message stating how many products have been processed and how many were matched.<\/p>\n\n\n\n<p>You can also go to the products page and use the emag status filter with \u201cready for sync\u201d option, to see how many emag products have been matched and can be put in sync.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/lQmk6D3c3ICZ7hx3mAOszh2qHMODggbmW9awNzFEeP5cmiY4_rlMRZLaw5XkIJ7yRmH6bPdJeySTQGY9B5em3g03bPOOc7SE3kGOHG2dwySxX1JElGCnGRgeR7I9HAnNVzv5o9vv\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Import and Match &amp; Sync products<\/strong><\/h4>\n\n\n\n<p>This option will do the same thing as the previous process, but will also enable the product for syncing with emag, meaning that every time stock or price changes in woo, it will be sent in emag.&nbsp;<\/p>\n\n\n\n<p>This also depends on how you configured the Price and Stock Sync default options in the settings tab, because it will use the values you set there. Meaning if you have price and stock sync options on disabled, stock and price won\u2019t be sent to emag !&nbsp;<\/p>\n\n\n\n<p>In other words, if the price and stock defaults are enabled, the matched emag products will <strong>be kept in sync with the ones in woocommerce for price and\/or stock.<\/strong><strong><br><\/strong><strong><\/strong><\/p>\n\n\n\n<p>After the process finishes, you will get a feedback message.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/9ZVHgbXrwewcqBUqPF2jSEa-zfFZoGdGsCWVipPDVXMMk_oruxvslJqxy6U3ullHHgGXkiNacnIsWnH2HpqcewwwRZa24_Da277YoA-gvT4ic6eydgT8QIZIc-eBwHTAHMHoXb2z\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/atZhDaTCYRGaNxb6E9nmMC74qYBSRdoAWDMYDWDWUIS0XaSKNApCgmUKUTH5-rlLfm5wfUDwByhivAD5iZqcf2Qfqd_2djX0qDMLPqkBYU1AfsK-DYIZNDhWI4rq7SvlrdcC763w\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Download unmatched products list<\/strong><\/h4>\n\n\n\n<p>Before confirming if there are any un-matched products, you need to run one of the above processes first.<\/p>\n\n\n\n<p>After the process completes, some of the emag products might not be matched with products from your shop. This can happen:<\/p>\n\n\n\n<p>&#8211; When you don&#8217;t have all of the emag products listed in your woo shop<\/p>\n\n\n\n<p>&#8211; When you have both the emag and the woo product, but your woo products have a different SKU than what the emag Part Numbers.<\/p>\n\n\n\n<p>In that case, you will receive a message that contains the details about the total number of products from emag marketplace and the total number of products from your shop that have been processed, as well as another text field explaining how many products couldn&#8217;t be matched.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/o1Ck7f_ICdFo8ThUc6FotiCPFvmw4XGj8nb7gDyp8sY5rj4U_ZXDM2Is7SvFJCOLB8tfhcrV-7F9a4o3yaDplrMNwqo2ApXMC5KZfT04UlDEab0yLP4vZa6F2TD7qvKZU5Jztuul\" alt=\"\"\/><\/figure>\n\n\n\n<p>2. Clicking the button labelled <strong>&#8220;Exporta lista de produse necorelate&#8221; <\/strong>will download a <strong>csv<\/strong> file containing details about all the products from Emag Marketplace that have couldn\u2019t be automatically matched with woocommerce products, because the SKUs and emag part numbers don\u2019t match.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/TJvxvPg6QsrulerpUaQGAtqi2RbF8PzBfBTk_BcbJ5JaoYAfFxVFB3ybbNeo8ZOCJgkQC1Y_TR2VolAKDD2QOXPgcMl88vswMnpaWNs55I-86_dJZuI4ocFxK3mqRwcVijh3R0q8\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Bulk Matching products<\/strong><\/h4>\n\n\n\n<p>Based on the same file you just downloaded on the previous step, you can also perform the bulk manual match process. You just have to insert the woocommerce product SKUs that match and save the file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/ghOusNGSrpQJhUFuVua50deULnt1BVsKbvFvFrJCdCksPEEeXJeFXyjk-cSRrmItZGCY_vrJBYSPe8FLY7RQikBTNSXnphBIH4_NA7WPX6_ndeZhTqGOICLFoJF24nnwQIQVEetx\" alt=\"\"\/><\/figure>\n\n\n\n<p>With the new file, add it in the bulk manual match section then hit the upload button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/Nq3BpfXHb9edy12B9-59ZzJ4ajwnXUrGTrUJEnsLJW8qMhVWgPe8yWoUD2qEcMzsblmYVB-WBbP9z6dH_4ubsklMTNSeiL1Mh8e54viOeKw-oJMX6uuq1JfuoLiIKEGSZOWlXUhA\" alt=\"\"\/><\/figure>\n\n\n\n<p>After the process finishes, you will get a message with feedback regarding how the match went.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/S2pPe6zuCq0RJA_BjxhAITrIVY_WrOZHWPOFtABEdTHGq3Z9ljevdLfaPfBf89LNJH1gn7oDjleX72scRU3b73ArR0cXIGOiigPJ9ui5FWCovKGKwAM3ayG_xGMeIPIEcCANwt9b\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Products<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Products Listing<\/strong><\/h4>\n\n\n\n<p>On the products listing page there is a new filter option that will filter products depending on emag status.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/7_KYFzpiF-BfFoCkB5IGdRGM4MD5jP9Hr6GhhSWwzOmO2ygIB_NQsMucLGSq9F2FFUJdRGmnWOuat-u3OBXdgTQV5_G3gk842UWFVna44QFxoouADioCD5eUBwkvHq-bHUA0j--v\" alt=\"\"\/><\/figure>\n\n\n\n<p>There are 3 options for filtering products by their status in regards to the relationship with emag:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>In Sync<\/strong>: Filters products that have been matched with emag and are already in sync for price and \/ or stock<\/li>\n\n\n\n<li><strong>Ready for sync<\/strong>: Filters products that have been matched but are not currently in sync<\/li>\n\n\n\n<li><strong>Not matched<\/strong>: Filters products that have not been matched with an emag product (either because there is no corresponding emag product, or the corresponding emag product has a different PartNumber)<\/li>\n<\/ul>\n\n\n\n<p>In the case of not matched products, please see the <a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/nod-emag\/#Product_Page_Emag_marketplace_tab\">Product Manual Match<\/a> page option described below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product Page &#8211; Emag marketplace tab<\/strong><\/h4>\n\n\n\n<p>Inside each product page, you will find a new tab called <strong>Emag Marketplace<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/FAJJT_wKFX3QHLL6kXSlb3k9s06k9zxY5lfLc6Ilx6tKLkW2yJMqw_fXuffRPI5FJLzKO89rv1BnDsnum25z0tXUUGgISbGkqYseGj4LSsdK0_OMiTAusJh7iE4Q8bCHetUV_GZE\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><em>Sync with Marketplace<\/em>: Enable sync with eMag for this product. This enables price and\/or stock sending. You will be able to check this only if the product has been previously matched.<\/li>\n<\/ol>\n\n\n\n<p><strong>Important: <\/strong>If the product is not matched, the sync options will be disabled and you will be presented with a manual match button (explained later).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/hXoBi2xG3XV-dDtznVcWMRMstuTXvX8GAM-xCnS7ZbwxZ_Iwb7-dRkWZ_KmJu5IRiVB-UGBWvDfn3oohap81_TvUXYzTkm_OxY7TzststZ9m5wZTJf08ygr_3iLN_HJVlNtLZMGV\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><em>Sync price in emag:<\/em> Check this box if you want to send the product price to eMag automatically. Only available if the sync with the marketplace is also checked.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><em>Sync stock in emag:<\/em> Check this box if you want to send the product stock to eMag automatically. Only available if the sync with the marketplace is also checked.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><em>Emag Part Number Key, Brand, Warranty, EAN: <\/em>imported automatically from emag when the match is made, or you can fill them manually.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li><em>Emag Product Commission %: <\/em>if the price sync is enabled, then the value that will be automatically sent to emag will be woocommerce <strong>regular <\/strong>price + this commission.&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li><em>Custom price in emag:<\/em> Check this checkbox if you want to send a custom price for this product.<br><\/li>\n\n\n\n<li><em>Emag custom price:<\/em> This will overwrite the products\u2019 regular price and allow the user to send a fixed value for that product. The price field has a min-max validation rule, and must fall between the Min sale and Max sale price range. Also, the value you set here will not take into account the product commision rule, but only the VAT rule (if enabled from woocommerce, it will deduct the VAT you set from the sum entered).<\/li>\n\n\n\n<li>&nbsp;<strong>Price calculation formula in emag<\/strong> is:  <strong>Pemag=Pnod*(1+Cnod)\/(1-Cemag)<\/strong>, where:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Pemag<\/strong> is the price without VAT sent to emag;<\/li>\n\n\n\n<li><strong>Pnod<\/strong> is the purchase price without VAT (final) from NOD;<\/li>\n\n\n\n<li><strong>Cnod<\/strong> (subunit) the commission over Pnod NOD set by the admin shop at the product level. The price imported in the backend is calculated with this commission;<\/li>\n\n\n\n<li><strong>Cemag<\/strong> &#8211; the emag commission set at the product level. <\/li>\n<\/ul>\n\n\n\n<p>This percentage is use only if a specific product commision is not set (defined later down on the product page)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product Page &#8211; The manual match process<\/strong><\/h4>\n\n\n\n<p>If a product could not be matched by manually running the match from the sync page, or automatically by running the cron, you also have the option to individually manually match products (if you know for sure that this product exists in emag).<\/p>\n\n\n\n<p>When clicking the manual match button, you are presented with a popup with an input that requires you to enter the emag product id (only numeric values are valid here).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/kxU56sko4MDkIv3ygEgE7rQ6oa4eIHxGc42Xsf7wA-IQ4v97UiJuybMHDFwMCWUoPORBeabU-i-AVLy0aalcu-z58r4VCO5b2wAnWG65E4z4oA8UZsRuyatpwGzyCclG8dltpP2r\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can get the product emag ID from your emag marketplace account. Enter the dashboard, go to My Products, and get the ID for the product from the \u201cID produs\u201d column (as highlighted in the screenshot below).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/VLtt4TjzsP6YQPWq4v9Zp97xkhOinGJwnpRcu_pbHkXtMeItRThfKdhjlMLTdY5bzR1VCVAOXmxgMRnBDzyeKU5Bjm6L9cBUg1Ay6Gg7XIpyHdCSNjCogGlY4kXtuFKvFsd7ekqD\" alt=\"\"\/><\/figure>\n\n\n\n<p>After entering the product id and clicking the match button, if a match is found you will be presented with some information of the found product.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/C_hh3SKMcZHIbcay2dopvj6aBl4TLTzWF7ZhohHsMihWqoSU2VEnphOCUDUazMwVtATmdXeCbgDfp-8dMB7E6E_rHmaJ9FgIi5y14dmsPG-pBV-2TNpyGh5-UQzhLD6kGiqUph1t\" alt=\"\"\/><\/figure>\n\n\n\n<p>Hitting the confirm button will match the product and reload the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Orders<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order canceled<\/strong><\/h4>\n\n\n\n<p>A canceled order that already has a NOD ID in the store will have the status &#8220;Canceled&#8221;. <strong><br><\/strong><strong>!important:&nbsp; Canceled orders in Woocommerce won\u2019t cancel NOD orders.<\/strong><strong><br><\/strong><strong><br><\/strong><strong>In order to truly cancel the order you must contact the NOD team.<\/strong><\/p>\n\n\n\n<p>New orders from emag will automatically be created in your store, if all of the products from the emag order are available in your store (even if they are not matched).<\/p>\n\n\n\n<p>Processes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>New Order:<\/strong> When a new order is received from emag and successfully created in your store, it\u2019s eMag status will be changed from \u201cNoua\u201d to \u201cPreluata\u201d.<\/li>\n\n\n\n<li><strong>Status Sync: <\/strong>All orders created automatically from emag will be kept in sync with the emag status. When the emag status changes it will also change in your store).<\/li>\n\n\n\n<li><strong>AWB: <\/strong>When awbs will be generated from emag for those orders, you will also receive those awbs automatically inside the order details page.<\/li>\n\n\n\n<li><strong>Auto-invoice generation: <\/strong>After receiving an AWB for an order, if you use the Auto-generate invoice option an invoice will be automatically generated using smartbill.<\/li>\n\n\n\n<li><strong>NOD status and AWB<\/strong>: if an order from eMag is sent to NOD, the status and AWB from NOD won\u2019t be synced with your order anymore because it will be synced only with the Emag order.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Orders page<\/strong>&nbsp;<\/h4>\n\n\n\n<p>On the orders listing page, will see a new filter called \u201cEmag Orders\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/85Y6oF8iv-HfS-H-LcBIwACHiFUVVFZC9JVBfB2-ZEQiIgKbn8oBzAVsIBEJBYD8BxtPNfzJJq8skOQBbVuctRrEdq6XN1qRqKMJxi5wyoDLTBSmJRur8hegLpbVecu74EhOqmD0\" alt=\"\"\/><\/figure>\n\n\n\n<p>Selecting that filter and clicking the Filter button will display only the orders your shop received from eMag automatically.<\/p>\n\n\n\n<p>If you have the smartbill plugin installed and activated, you will also see two new columns, one for invoices and one for NIRs.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order Page<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/-ZKX7IOByTIvh8V2M2cJG4W1Q5su1KjMSNFiGYjM5tMAMkkbQxPpE4r0zBOTBiuw4uE37IWioapehi9t-NkuVAhZoHMQSYXIEOvejVfPrrNQf0kCXb6TMVivM8Y-wwnaSrMqasF6\" alt=\"\"\/><\/figure>\n\n\n\n<p>On the main order page you can see two new information fields, one for the <strong>emag order id<\/strong> and the other for the <strong>emag order status.<\/strong><\/p>\n\n\n\n<p>The<strong> emag order status <\/strong>info field shows the current emag status.<\/p>\n\n\n\n<p>The status mapping between emag and woocommerce is based on the options you selected from the general settings &gt; orders tab.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Invoice Generation<\/strong><\/h4>\n\n\n\n<p>Inside the order page, you have on the right side a box labelled Invoice.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/EhHHZCXIFz_3qw19tyhPBWTwA6qu4C075qS9NXtJTPpaWDUjX3GSXzz-PePLT0Qxrw_RCAIVp4JPxHh5mO-yMdGnsDtmZAUOg0XZC4DYMjuSlgS_Xi215eYVVLNoGXOtUWGFL2IC\" alt=\"\"\/><\/figure>\n\n\n\n<p>The \u201cgenerate invoice\u201d button only appears if you have the smartbill plugin installed and active.<\/p>\n\n\n\n<p>Clicking on the <strong>generate invoice<\/strong> button, a smartbill invoice will be manually generated for you.<\/p>\n\n\n\n<p>If this is an emag invoice and you also have the additional smartbill options configured, it will try and look for the corresponding emag order inside smartbill and generate an invoice there.&nbsp;<\/p>\n\n\n\n<p>If not, it will generate a regular invoice.<\/p>\n\n\n\n<p>Invoices are downloaded locally and you can view them by clicking the link in the invoice box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/SELOn_iXRKNj1PI9Mg3vfpP-ZipTvS6ueadRVRLxKn4FBtU21sboM2hXsRuc5WEbEoWhkJm3k__lqcCq5PLc7aUNZo3MxIlCmmkqAXyo-7OlgAa0_k9MUmlqXOoIZnaFWW7fXAvu\" alt=\"\"\/><\/figure>\n\n\n\n<p>Or from the orders list page in the invoice column.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/mc6B9PC0JM7i94Il6opknBsFZR_FxTw5m5iqgVR7RuAqH3G0qnTZZWixFH4b0Q5gbqL9v8XWcizZslhxZppevEY6cglskXEyYZo7dk1SSzadNK9lCGYNpARr-_onpE0TmVfn28JT\" alt=\"\"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Auto Generation<\/strong><\/h5>\n\n\n\n<p>If you use the auto-generation invoice feature (from the plugin order settings page) for orders with status completed invoices will be generated automatically via the invoice generation cron.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/H-HrqWvjMidKfkqxXU5Rjrbu7WrJvAA9QLrsTRbPqTl390NhKrb6iI_Pii37YIAo84HOELtcHbRi83aLpZBTNtYxZGZPfrctyPu5SMC8JF84bHT0fQX0-v7Czkw2vFft0_echUr-\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">eMAG locker invoices<\/h4>\n\n\n\n<p><br>Because of the new implementation, from 03 may 2022, of eMAG marketplace &#8211; they take care of the transport fee in the case of locker orders, we made an implementation for the invoices made with Smartbill API and we have eliminated the transport fee from the invoices, only for the locker delivery method.<\/p>\n\n\n\n<p>In this case, the invoice will contain only the products and their prices, like in the following example:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/P6_TyQg9e-ivh1HfRMXx5FmLpBU3nR2iCDTKtnfW_tp_oq7bYd6Qnq1aqlxYg4-xwmgul_-zGTP-wFm7RCY21tLSdJsm2XwIiS6f4Lg5ZuP3iFlwPXRQFQEXNhVDq6t7QEjI-sweJ2XxS_NFgQ\" width=\"602\" height=\"177\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>NIR Generation<\/strong><\/h4>\n\n\n\n<p>Underneath the Invoice box, there is another one called NIR (Nota intrare receptie).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/fxwptze6gJ4sVkowPr7J4yaifA5a-WB0KWl8qpQ2hgwhtpy14Q-oagIJ67jgZ6ZPJY6LVuBpDgxiQv5hEdvJwm7-Jt6VmylsJDt8jRtxMA1xGsSj7NUFzxmz9BYAdaGyeCc09whn\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can only generate NIRs for orders that have been sent to nod successfully, and that have been invoiced in NOD and only if you have the smartbill plugin enabled.<\/p>\n\n\n\n<p>Clicking the <strong>Generate NIR<\/strong> button a new NIR type document will be generated inside smartbill, as well as the products for the respective order will be correctly handled in the administration (gestiune).<\/p>\n\n\n\n<p>Once a NIR is generated, the link to it will be placed in the box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/viWklcji959XZ5dzCAh_O85MQxSR_Nys33-DShWuekEQJo4C7EkHWv2GM97ILI2reDbiSJGpOnU-tUIrKP6vzKmwBWe4PIQYkSpU3XJX5SWyJxu0lRCUi3TxCo9AE91NcDOAg7ck\" alt=\"\"\/><\/figure>\n\n\n\n<p>And also in the nir column on the orders listing page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/xM-SFbTunClNI-z3tPvQlAKar_iSE_wPYU9xYdqENg12221EdLqs0F4Qr4G_SpbHHlOO7KQnpfIeE54LvoWNryNaQQchsljSAUDfQVqRIi9ICGreenkJIEgWp0457B6c5OiIPyc-\" alt=\"\"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Auto Generation<\/strong><\/h5>\n\n\n\n<p>If you use the auto generation feature (enabled from the orders setting page), NIRs will be automatically generated for NOD orders with status completed and that have awb in emag.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/AgvN3VJzwa6HwDKu6b1cwmSEcNfJX94-8MHYLy_OsJ116ivyMzAjkrhphzDnqKE10sotLtAPOAM6a9hIvj1tuA1NqNPZ0orxzN_CKcN_AZujkv3MKzuucURlCmCBVzzUuiLSdyCi\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Coupons<\/strong><\/h3>\n\n\n\n<p>Starting with nod-emag 1.8.2 we added the logic of handling emag orders with vouchers. We use the <a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/nod-connector-2\/#Coupons\">woocommerce coupons functionality<\/a> for showing emag vouchers in woocommerce and to send them to nod.<\/p>\n\n\n\n<p>Please check some examples <a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/voucher-orders-nod-emag\/\">here<\/a> based on these smartbill settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Smartbill setup<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Generating invoices<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Invoice series<\/strong><\/h4>\n\n\n\n<p>Before being able to generate any type of invoice with smartbill, you need to create your first invoice series.<\/p>\n\n\n\n<p>Go to you smartbill account -&gt; configuration -&gt; series (<a href=\"https:\/\/cloud.smartbill.ro\/core\/configurare\/serii\/\">https:\/\/cloud.smartbill.ro\/core\/configurare\/serii\/<\/a>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/tKPWnj3hg_Fj9cOVhFoFltVTOVyXxUDYVv8isdq8uH2Xlgtb2W1vduvd0JDXVjc-hs4vbuFOCqcMJ6CpL0186S9FrVIcgk6a0a4Bo0zXY3lblsIN9zWuSWNlUSSdG-1aYhDOC297\" alt=\"\"\/><\/figure>\n\n\n\n<p>From here, select \u201cFactura\u201d in the dropdown, add a name for your series, let the first number as 0001, and optionally add a description. After that click on \u201cAdauga serie\u201d.&nbsp;<\/p>\n\n\n\n<p>Your new invoice series should now appear in the list below, as pictured above.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>eMag orders<\/strong><\/h4>\n\n\n\n<p>In order to generate invoice for emag orders you first need to buy and enable the smartbill service supporting emag.&nbsp;<\/p>\n\n\n\n<p>Go to your smartbill account -&gt; my account -&gt; integrations (<a href=\"https:\/\/cloud.smartbill.ro\/core\/integrari\/\">https:\/\/cloud.smartbill.ro\/core\/integrari\/<\/a>) and the first tab will be emag.<\/p>\n\n\n\n<p>After you make a request for the plugin, once smartbill approves it it should be available for configuration from the same page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/lzGvv5FqzvYIccNxHYoFvkRGwJWY-hxEos6_GnhflVX00Cofx5eCXKyPY4yrN3YfTSWrcaCVgwbmCu3tUBrIbJGFuT-KMuMdxlykbCUy0khWuM_cfFgG3OjS6TGuwyXohZayGMxD\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will need to configure it by first adding your email and password for your emag marketplace account.<\/p>\n\n\n\n<p>Once your credentials are validated, you are asked to add some basic config.<\/p>\n\n\n\n<p>You can use the same invoice series you generated at the previous step or generate a new one just for your emag invoices.<\/p>\n\n\n\n<p>You can also choose to impact your products stock, if you have the stock module enabled in smartbill. This will decrease the stock of products \/ services whenever you generate a new invoice.<\/p>\n\n\n\n<p>Once you have the module enabled and ready, you can import emag order from this page <a href=\"https:\/\/cloud.smartbill.ro\/raport\/comenzi_emag\/\">https:\/\/cloud.smartbill.ro\/raport\/comenzi_emag\/<\/a> starting with the date selected above (Preia comenzile incepand cu)<\/p>\n\n\n\n<p><br>If you configured the smartbill section of the emag plugin, the plugin will try to fetch the orders automatically for you, and based on them will try to generate invoices if you also have them in your shop.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Manully upload of the invoice<\/h4>\n\n\n\n<p>Manual upload of the invoice on eMAG orders: <br>Customers who want to upload the invoice manually on an eMAG order, can do so from the order page, eMAG Invoice section where they can manually upload the invoice and download it later. <br><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"254\" src=\"https:\/\/lh7-us.googleusercontent.com\/RDlJOwmFQh0ROuoaFBSvgDkJOc5lBgBtg0AgViAynyGv3Rrhw6Py4rJz1x_dbVD4g9paO-5TADBErGk2VTwIC4jVYG7Y0Snjik3DVOK4Lp1zEexvqocwvbHU9aXL_OWRvsZO2PMPWWsPT610Yf6z8UE\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/PYcKBB0jkUR9F7Tfdg1LkqThL_OScRlRVcfYW-NXfXc0CRoyyFqtjqzYxzIsb67KJmtSVMCtXRfMmUQTSimcR0YQnzoHWOq2Ev08p_nuIqjfRmrCP04fQMKcguxnZ3K2xZvhmP_rXSF8J5yQeehOYRk\" width=\"338\" height=\"159\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Enabling SKU on products<\/strong><\/h4>\n\n\n\n<p>It is important that you enable the product codes option to be available on products.<\/p>\n\n\n\n<p>You can do that from here https:\/\/cloud.smartbill.ro\/documente\/preferinte-generale\/<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/tuUlWVTsHX2B3v_ZA1Lg1PDD-fFOwvfY4yaOWYy3mMbqPjtmYLPrPUocQtSDGkxcqcehY0StV6AqeyOIBy8lwFmF7q5qp9hcIBWlf7H0NcvkckCVQHIB1wnd-MlGq1QFmJxUD0Kt\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>WordPress plugin configuration<\/strong><\/h4>\n\n\n\n<p>Once you configure your smartbill account, head over to your wordpress installation, where you will need to configure the smartbill WP plugin as well (https:\/\/yoursite.com\/wp-admin\/admin.php?page=smartbill-woocommerce)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/DnR8h9YXN67mPTT6XosA4mTdLx5YkAmspmI8Qwb32dGdSgEyT3_n1JR3F6AMn5AGD8AszXreds8YwNjHTqWRq1vpcEr0olxz3izH83ol4DXLN_nL0D54eSWXlNQFzdNtedaIr6k7\" alt=\"\"\/><\/figure>\n\n\n\n<p>Add your email address, your API token and your CIF number in order to authenticate to smartbill.<\/p>\n\n\n\n<p>Once validated, you\u2019ll get access to another config screen (https\/\/yoursite.com\/wp-admin\/admin.php?page=smartbill-woocommerce-settings)<\/p>\n\n\n\n<p>Your smartbill integration plugin will behave the way you configure it in that page, so pay attention to each option.<\/p>\n\n\n\n<p>An optimal config example might look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"396\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1024x396.png\" alt=\"\" class=\"wp-image-999958493\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1024x396.png 1024w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-300x116.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-768x297.png 768w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image.png 1107w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"615\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1-1024x615.png\" alt=\"\" class=\"wp-image-999958495\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1-1024x615.png 1024w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1-300x180.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1-768x461.png 768w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-1.png 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-2-1024x455.png\" alt=\"\" class=\"wp-image-999958496\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-2-1024x455.png 1024w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-2-300x133.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-2-768x341.png 768w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/07\/image-2.png 1288w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Depending on your setup, you might want to use other option values than the ones presented above.<\/p>\n\n\n\n<p>You also have to configure the smartbill section in the emag marketplace plugin. See the<a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/nod-emag\/#Smartbill\"> General settings page | Smartbill<\/a> section for reference<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Non emag orders<\/strong><\/h4>\n\n\n\n<p>For orders without an emag order id will be generated invoices will be generated as regular invoices, and you will find them here<a href=\"https:\/\/cloud.smartbill.ro\/raport\/facturi\/\"> https:\/\/cloud.smartbill.ro\/raport\/facturi\/<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Generating NIRs<\/strong><\/h4>\n\n\n\n<p>In order to generate NIRs you must first have to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Define a NIR series, from here <a href=\"https:\/\/cloud.smartbill.ro\/core\/configurare\/serii\/\">https:\/\/cloud.smartbill.ro\/core\/configurare\/serii\/<\/a><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/nFoHN2vN88mhl8cM32JR2k09yFox73rstmt69WstFxqxPkKDILeNZYZu4hTlUBLrVH6aIn_qPyC_Nns8_kVXS1T1jOYEcQ-aiKiHgEvMkCXex_IJ_A325f3aPMQHXC6iyf_XDiPk\" alt=\"\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Define NOD warehouse <a href=\"https:\/\/cloud.smartbill.ro\/nomenclator\/gestiuni\/\">https:\/\/cloud.smartbill.ro\/nomenclator\/gestiuni\/<\/a><\/li>\n\n\n\n<li>Define NOD supplier<a href=\"https:\/\/cloud.smartbill.ro\/nomenclator\/furnizori\/\"> https:\/\/cloud.smartbill.ro\/nomenclator\/furnizori\/<\/a><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/OUBpKYxq8ksqH9mQwMfr13Gqd6GIG1qZuvhMGrJwsZRciMOmO4zgPA4p8NhQQv91DjjLbb9UMK1DAfFhW2cSe5Hl8C6-euGa5whEx2vwV0sD3oHLcORpAV6Gyn4ZiL69I5MFhrnn\" alt=\"\"\/><\/figure>\n\n\n\n<p>You also need to configure the smartbill section of the emag marketplace plugin with the desired options. See the <a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/nod-emag\/#Smartbill\">General settings page<\/a><a href=\"https:\/\/docs.google.com\/document\/d\/1iPiZEUe-1mtr7BKykzBa-gUHlfcM2k4x4QBiP-YO-Cc\/edit#heading=h.7wtfds9xwtal\"> | <\/a><a href=\"https:\/\/shop.nod.ro\/blog\/index.php\/nod-emag\/#Smartbill\">Smartbill<\/a> section for reference.<\/p>\n\n\n\n<p>Once you\u2019ve finished setup, you can then proceed to create NIRs. You will then find the NIRs here <a href=\"https:\/\/cloud.smartbill.ro\/gestiune\/raport\/note-intrare-receptie\/\">https:\/\/cloud.smartbill.ro\/gestiune\/raport\/note-intrare-receptie\/<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><\/h1>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Crons<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Product related crons<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_import_products<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>twice a day, <\/strong>but<strong> <\/strong>only if the <em>auto match sync option <\/em>is enabled.<\/p>\n\n\n\n<p>This cron imports all the available (status active and documentation approved) emag marketplace you have listed in your account, and inserts them inside a dedicated db table (_<strong>emkp_sync_products_queue)<\/strong> for match and sync purposes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1019\" height=\"601\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/image.png\" alt=\"\" class=\"wp-image-999959710\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/image.png 1019w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/image-300x177.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/image-768x453.png 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n\n\n\n<p>If the products already exist in the table, the script will only update relevant columns for the products: <strong>part_number<\/strong> and <strong>product_data<\/strong> (name, price, brand, stock, part_number, warranty, status and ean) values.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_sync_products<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>hourly, <\/strong>also<strong> <\/strong>only if the <em>auto match sync option <\/em>is enabled.<\/p>\n\n\n\n<p>This cron tries to match all of the products in your woocommerce shop with the products imported from emag and saved in the <strong>emkp_sync_products_queue <\/strong>table. It does so by matching the SKU from woocommerce with the PN from emag. <\/p>\n\n\n\n<p>&nbsp;If it does not find a match, it will try to match the products in the following order, as a fallback:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Matching a PN (number) with a SKU that has the same number, but this type of format (000000000000number) &#8211; The limit of these additions is 18 characters.<\/li>\n\n\n\n<li>Matching an EAN with a PN<\/li>\n\n\n\n<li>Matching an EAN (number) with a SKU that contains the same number (000000000000number) &#8211; The limit of these additions is 18 characters.<\/li>\n\n\n\n<li>Matching an eMAG EAN with a NOD EAN (product_nod_ean meta).&nbsp;<\/li>\n<\/ul>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/VpB3vsFK-bJiTS-pV6hjhQPUuBlPjNfPdfoHthiDartKMeUNcd10ZSvWJUtyTFg_GhHCi5yRvjCzbikMcgymo526bUFjEdApd0e-UdvkU96IY2oSIaLJANUvEGj7vfgpqKE3V3e4\" width=\"602\" height=\"403\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_process_products<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes<\/strong> and which sends data to emag (stock, price, status) for products in woocommerce that have been updated and that now need to be synced in emag. These products can be found in the <strong>emkp_products_queue <\/strong>table with status pending (or failed, in which case only 5 attempts are made for that particular update requirement. Retries are reset every time a new woo update occurs for that product, or when the product is sent successfully).<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"548\" src=\"https:\/\/lh6.googleusercontent.com\/VA6vbxemFWg6W8A8gpWI_WQwTXgpkU3YeOqjcjP2pmryJbwGje9V-KmOj_gHBMFGDBMlPfZUSEJuZWxKRm1vWc62tfJoTsjKFgLi_joCaOH6boL7Amg-CfI8WEDGSoWLKi5qNt9m\"><\/p>\n\n\n\n<p>This cron uses a cron <strong><em>locking system<\/em><\/strong>, more details here: <a href=\"https:\/\/docs.google.com\/document\/d\/1obDxKTLyeyWd6rmCWQmDhWTZPyZ5eY6mO16iNuODPiM\/edit#heading=h.bbfcexl6hyuo\">Cron locking system<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_products_cleanup<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>daily <\/strong>and cleans up the <strong>emkp_sync_products_queue <\/strong>table (table which keeps the imported products from emag) of products that are not in your emag marketplace anymore or have become unavailable (status 0 or documentation invalid).<\/p>\n\n\n\n<p>Also, depending on the value set for the \u201c<strong>eMag products become unavailable\u201d <\/strong>option, for woo products matched with the emag products that are no longer available, the cron will also either delete the emag meta data (unmatch), or just put the product out of sync.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/W_KuKBAvSgVXG5VO03kFIM6_7xj49hFduEiv0kGfZ2rPVWyKzQEcjYxaTDxM5rKA08-YEghKulMS005lFqbqhgn7AvtYbGJ6lN5svUgspunbysidGceKUlSkSqrv9S8IgLGKwmSO\" width=\"624\" height=\"475\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_products_stock_sync_check<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>hourly <\/strong>and looks for differences in stock and price between woo and emag products (that have been matched) found in the <strong>emkp_sync_products_queue <\/strong>table. For every product found that has a difference in stock and \/ or price, it will add \/ update the <strong>emkp_products_queue <\/strong>table with that product, so that when the <em>emkp_process_products <\/em>(see above) cron runs it will sync the products with differences in emag.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/qqRWl5nC4U-IdZvzhZ__aem4UPISrujhc_zZtd34DIchR034RS9d_-WGJNom41uCHGgva6NzI7egxp7rqpZaIuo6osjBE-NczPprxLkWw2yc91DnH9iKhHKCK9p3zRn-FqgT8eVg\" width=\"624\" height=\"663\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order related crons<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_import_new_orders<\/strong><\/h4>\n\n\n\n<p>Cron that runs every 5 minutes, checks for new orders frequently, and tries to create woo orders based on new eMAG orders, on your site quickly, reducing the risk of losing stock on the order products.&nbsp;<\/p>\n\n\n\n<p>The cron iterates over all the orders that has eMAG status 1 (new). When an order cannot be created in your shop, a warning email containing the respective error will be sent to you, so that you deal with it with priority.<\/p>\n\n\n\n<p>The number of attempts to send the order is limited to 25. If the reason why the order was not imported changes, press the \u201cReseteaza\u201d (\u201cReset\u201d) button in order to retry to import the order.<br><br>New emag orders are automatically saved in the emkp_orders_queue table by a direct call to your website triggered by emag every time a new order is registered on your marketplace account.&nbsp;<\/p>\n\n\n\n<p><strong>Important<\/strong>:<strong> <\/strong>the url for the callback is:<\/p>\n\n\n\n<p><strong>[SHOP URL]\/index.php?type=emkp_new_order&amp;order_id=[EMAG_ORDER_ID]<\/strong><br><em>Use this to FORCE the order import process.<\/em><br><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"764\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/01\/Captura-de-ecran-de-la-2022-01-14-14-18-45.png\" alt=\"\" class=\"wp-image-999959844\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/01\/Captura-de-ecran-de-la-2022-01-14-14-18-45.png 760w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/01\/Captura-de-ecran-de-la-2022-01-14-14-18-45-298x300.png 298w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/01\/Captura-de-ecran-de-la-2022-01-14-14-18-45-150x150.png 150w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/figure>\n\n\n\n<p>This cron uses a cron <strong><em>locking system<\/em><\/strong>, more details here: <a href=\"https:\/\/docs.google.com\/document\/d\/1obDxKTLyeyWd6rmCWQmDhWTZPyZ5eY6mO16iNuODPiM\/edit#heading=h.bbfcexl6hyuo\">Cron locking system<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_sync_orders<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>hourly<\/strong> and updates emag status of woocommerce orders created from emag (see above cron).<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"600\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-16-20-05-16-1024x600.png\" alt=\"\" class=\"wp-image-999959726\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-16-20-05-16-1024x600.png 1024w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-16-20-05-16-300x176.png 300w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-16-20-05-16-768x450.png 768w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-16-20-05-16.png 1204w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_sync_awbs<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes <\/strong>and tries to match and assign emag AWBs registered in the <strong>emkp_awbs_queue <\/strong>table with orders from your woocommerce shop. Emag AWBs are added to the queue table in a similar fashion like emag Orders, via a callback triggered by emag every time a new awb is generated (the callback url is index.php?type=emkp_new_awb&amp;awb=).<\/p>\n\n\n\n<p>Based on the info of the awb id we can ask emag which order it belongs to, and the based on the order id we can find the corresponding woocommerce id, in which case we just attach the awb to that order.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/pD_Mqaxy0PLgLT64f7sXxfE5InVsCiwroWDIrUMij6A2pkpwe6yyW1fPvu4Y4wGgOWaSJ60YkwNuJhPTJAzK7P_wMoCz9w-l8ydJz6jD88X2wUkbwKXLj8Dea5wzQ_CZjteRDrby\" width=\"624\" height=\"339\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_send_orders_emag<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes <\/strong>only if the <em>Auto Send Invoice<\/em> option is enabled. For every emag order that has an invoice in woocommerce, it will send the invoices to emag marketplace for those specific orders.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/4qxt7-dF3Kq1fYud5LbarXfTTm_PrRXjJI_5fImRX1PEARBXDwcHquwnPzLfFrRT0YcSjn2txKmbg9kJ_XSo2MEwDhgxF7qgB-wHTmi0r3gIkrfCZqREc1n0KT_UwCk2AXBAHyH9\" width=\"624\" height=\"376\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_nod_update_orders<\/strong>* <\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes <\/strong>only if the nod connector plugin is enabled. It updates the status and AWBs of NON-EMAG orders only, based on their nod-webshop counterpart.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/6kObo0PpJH18j8Qr8L-XEdwXryZJ70r6FdCW__M9Wa1hiH9hwOJEMa4V2zuWh_I38UB5h1XJDBooQNVzFSFRL9wpE6FckAlJfT7gouU_R-gWPw-jzPes_H1PcPr8M3JpMTIYqp5o\" width=\"624\" height=\"623\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_delete_duplicate_orders<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes <\/strong>and deletes all duplicate orders with the same emag id, leaving only one. In case one of the duplicate emag orders has a nod id, it will leave that one instead. Registering more orders with the same emag id, even though it is possible it is highly unlikely to happen. In case it does happen however, this cron will handle it.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/gGe5GgQuOj-UliWRAmyco2MqhrbxaTBuJMxPmKoLL6_NxoGntDyIWL_O5dwAy5Z82J3KSmaefScRu9VDhS3bVmqGWxs5m2aqN9bAHTW5kTSVdaoWfx7GIJc2AuvXvDZrqdSMIjV8\" width=\"624\" height=\"307\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Smartbill related crons<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_fetch_emag_orders<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes, <\/strong>only if the smartbill plugin is active. It\u2019s job is to refresh the emag orders list in the corresponding smartbill marketplace module, so that the <em>emkp_generate_invoice <\/em>(described below) can create emag invoices. It only works if you have the emag marketplace module enabled and configured inside your cloud smartbill account.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"284\" src=\"https:\/\/lh4.googleusercontent.com\/7ZIBsJyBaZlwaQn126lU8u7wUCSyB2qFcbyQBs_rgCCKt5n-NLnx4O7bDQ7VIKOp5qOwFDA81834klm5GQoFwtxDycPvrRHIs1LipH_n8WFNoDFeRs8fvuLMWer64xF7nuDkpN_e\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_generate_nir<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes<\/strong>, <strong>&nbsp;<\/strong>only if the smartbill plugin is active and the emag smartbill extension is configured. This cron will iterate over all your <strong>completed<\/strong> woocommerce orders that have been successfully sent to nod (have a nod id) and also&nbsp; have an eMag awb ii, and will try to generate an NIR invoice type in smartbill.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"902\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-13.png\" alt=\"\" class=\"wp-image-999959900\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-13.png 860w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-13-286x300.png 286w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-13-768x806.png 768w\" sizes=\"auto, (max-width: 860px) 100vw, 860px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_generate_invoice<\/strong><\/h4>\n\n\n\n<p>Cron that runs <strong>every 10 minutes, <\/strong>only if the smartbill plugin is active and the <em>Auto Generate Invoices<\/em> option is enabled. This cron will iterate over all your <strong>completed<\/strong> woocommerce orders that have an emag order and as well as an emag awb. For each of these orders it will try to generate invoices.<\/p>\n\n\n\n<p>If you don\u2019t have the marketplace module enabled in smartbill, or if you have not configured the smartbil extension in the emag plugin, or if we are simply unable to create invoices directly for the emag orders due to various issues, the cron will fallback to generating regular type invoices.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"916\" src=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-45.png\" alt=\"\" class=\"wp-image-999959901\" srcset=\"https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-45.png 831w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-45-272x300.png 272w, https:\/\/shop.nod.ro\/blog\/wp-content\/uploads\/2022\/03\/Captura-de-ecran-de-la-2022-03-10-14-27-45-768x847.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Locking system<\/h3>\n\n\n\n<p> This cron uses a cron <strong><em>locking system<\/em><\/strong>, more details here:  <a href=\"https:\/\/docs.google.com\/document\/d\/1obDxKTLyeyWd6rmCWQmDhWTZPyZ5eY6mO16iNuODPiM\/edit#heading=h.bbfcexl6hyuo\">Cron lockyng system<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Misc<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_delete_invoices<\/strong><\/h4>\n\n\n\n<p>Cron which runs once a day and deletes invoices uploaded on emag orders from the <strong>emkp_orders_invoices<\/strong> table (but not from disk !) only for those invoices older than 1 month.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/FAuFOd6wDQY_-DFFQT613aIz81M1ZkOhOOzuIyvQzjLWo6Ie8KCP-TrVZ4RLlKFKLJkHBZLYIyWGdbcTV4eKB8DloJdBY_mrhS2VfOMsNidyE6J0LpboNDcivQ4iRBO_vqfEUFxA\" width=\"624\" height=\"376\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_cron_checker<\/strong><\/h4>\n\n\n\n<p>Cron which runs <strong>every 10 minutes <\/strong>and unlocks all emag crons that have run but timed out or stopped working before finishing thus failing to get unlocked.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/hKHPYfyWnCTbAUsU72u7oRMvl8th4sx5ywhabJevfRnk11fdIj8JHG3YCoK3-S03eF441KPe3EAlxPPTj_-XLluaLv3JQ06SHbd1ImTF-w-1zac36-46qKvP2e2myYFhkllsNqqK\" width=\"624\" height=\"348\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>emkp_delete_logs<\/strong><\/h4>\n\n\n\n<p>Runs <strong>once a day<\/strong> to delete log files older than 15 days or whatever setting you have added in the Alert &amp; Logging settings page for logs retention.<\/p>\n\n\n\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/j3AP4U_390QUomMYCyPLKYUSqVMexNree0JaTjtEPOKac8W7IPkZOQbtGstOpaZ_7AtmPP7eGOrvIJwndqeeX94cqOsY6RvFVf67i31SCgXlyPN-jLLo2BX1HFnfD6rLIXt_f4Mu\" width=\"624\" height=\"369\"><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Diagrams<\/strong><\/h3>\n\n\n\n<p>Schematics of various user flows can be found on whimsical accessing this <a href=\"https:\/\/whimsical.com\/marketplace-integration-4soSvjLNPv8dJZixZZd5MY\">link<\/a>.<\/p>\n\n\n\n<p>Schematics of table diagrams and cron use cases also in whimsical <a href=\"https:\/\/whimsical.com\/nod-platforms-Xkte484s6a8wHnVsWXCEh3\">here<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Logs<\/strong><\/h3>\n\n\n\n<p>The plugin has a logging system integrated in all crons and within the rest of the system. To access the logs you first have to enable logging.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/2kzk6eZIOyYkvzWlmFHJ8jIQM9Es9duKEjC_6YoUPHoA6oh3mkN9Nn3nmt3nPihFQWtmUvMgqXcxwz-3qPd8lpmsX4Cb8zjuv3ulAP_fNFQZoW2lX-An_5DXXhQ9LjW-JMWFtewq\" alt=\"\"\/><\/figure>\n\n\n\n<p>Put the debug level option to a different value than Off.<\/p>\n\n\n\n<p>After that, you will begin to see logs appear in the logs tab of the plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/04MqCiEyFWc_lEA5frn1xqiJREyU82t16Pb9L4ek_KFlVNZ-kcKrayjjVUkDL0ON_5cyS-qRP93F5qIbINCgHmynm-TJ5H1RC2xwg-WWs5Oc1erioza8fqQq8InyyxylVgMHkp5t\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select a file from the list on the left side to inspect logs.<\/p>\n\n\n\n<p>Change history:<\/p>\n\n\n\n<p>We have implemented a log that records the changes made recently in the settings of the Emag Marketplace module here:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"181\" height=\"228\" src=\"https:\/\/lh4.googleusercontent.com\/T2v0AMyKtxRQmW2SMwQV_UamFmI6EFizvOgCgkNp8KSEKktf-JPgjcBg4mMKNMd6EixOgS_zBTQsfN_l9GP8x9kVihHVtPPrMYkGbcF4nkyNAzBIIO6RTQBJPPYTcXC4JYM0ufmL\"><\/p>\n\n\n\n<p>The logs can be found in Emag Marketplace-&gt;Logs-&gt;settings-&gt;change_history:&nbsp;<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"249\" height=\"453\" src=\"https:\/\/lh4.googleusercontent.com\/X6q2BjWiUG7yQ-uQZEkw8DLxj5eCk8V7PCFBgW755krMcoo1qQ1eqy-VjBXlfHpsIp2lmOlNJ2FM0OFLtFm4-7iXH-bC78xn95OaOP98wDZqHEobeGyb8v-sG0V1DUL8NUzvwp6h\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/ucvIP51kWCqx5YMc2i3FT64Cfw6CgxVH8hhYlO8FbFNVkyCq4NkOaRPrRUt9HgG2M5MvQlV5T_JuFaSKKM3nbQRF7hqHdi2CeIZygqNiMibuRJMxxtMlLJE6HVqtuBYyL48b8juK\" width=\"602\" height=\"289\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EMAG MARKETPLACE WordPress plugin for woocommerce Revisions Use case This module allows NOD partners to sync their ecommerce websites with emag marketplace in terms of products and orders. It is based on the Emag Woocommerce module developed by Zitec. Integration Pre-requisites AWB =&gt; https:\/\/yoursite.tld\/index.php?type=emkp_new_awb&amp;awb= NEW ORDER =&gt;&nbsp; https:\/\/yoursite.tld\/index.php?type=emkp_new_order&amp;order_id= CANCELLED ORDER =&gt; https:\/\/yoursite.tld\/index.php?type=emkp_new_order&amp;order_cancelled= Plugin Dependencies Required [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-999955911","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/pages\/999955911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/comments?post=999955911"}],"version-history":[{"count":39,"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/pages\/999955911\/revisions"}],"predecessor-version":[{"id":999960161,"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/pages\/999955911\/revisions\/999960161"}],"wp:attachment":[{"href":"https:\/\/shop.nod.ro\/blog\/wp-json\/wp\/v2\/media?parent=999955911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}