YITH Essential Kit for WooCommerce #1 - Version 1.6.0

Version Description

  • Update: YITH Plugin Framework
  • Update: All YITH modules at latest available versions
  • New: Support to WordPress 4.9.4
  • New: Support to WooCommerce 3.3.4
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH Essential Kit for WooCommerce #1
Version 1.6.0
Comparing to
See all releases

Code changes from version 1.4.9 to 1.6.0

Files changed (1057) hide show
  1. README.txt +430 -411
  2. assets/css/list-layout.css +0 -0
  3. assets/images/badge-new.png +0 -0
  4. assets/images/badge-recommended.png +0 -0
  5. assets/images/cart.png +0 -0
  6. assets/images/crown.png +0 -0
  7. assets/images/placeholder_plugin.png +0 -0
  8. assets/images/plugins/yith-woocommerce-colors-labels-variations.jpg +0 -0
  9. assets/images/yithemes-icon.png +0 -0
  10. init.php +57 -57
  11. languages/yith-essential-kit-for-woocommerce-1.pot +0 -0
  12. modules.php +2 -2
  13. modules/yith-infinite-scrolling/assets/css/admin.css +0 -0
  14. modules/yith-infinite-scrolling/assets/css/frontend.css +0 -0
  15. modules/yith-infinite-scrolling/assets/images/01-bg.png +0 -0
  16. modules/yith-infinite-scrolling/assets/images/01-icon.png +0 -0
  17. modules/yith-infinite-scrolling/assets/images/01.png +0 -0
  18. modules/yith-infinite-scrolling/assets/images/02-bg.png +0 -0
  19. modules/yith-infinite-scrolling/assets/images/02-icon.png +0 -0
  20. modules/yith-infinite-scrolling/assets/images/02.png +0 -0
  21. modules/yith-infinite-scrolling/assets/images/03-bg.png +0 -0
  22. modules/yith-infinite-scrolling/assets/images/03-icon.png +0 -0
  23. modules/yith-infinite-scrolling/assets/images/03.png +0 -0
  24. modules/yith-infinite-scrolling/assets/images/04-bg.png +0 -0
  25. modules/yith-infinite-scrolling/assets/images/04-icon.png +0 -0
  26. modules/yith-infinite-scrolling/assets/images/04.png +0 -0
  27. modules/yith-infinite-scrolling/assets/images/loader.gif +0 -0
  28. modules/yith-infinite-scrolling/assets/images/upgrade.png +0 -0
  29. modules/yith-infinite-scrolling/assets/images/video-yith-infinite-scrolling.jpg +0 -0
  30. modules/yith-infinite-scrolling/assets/js/yith-infs.js +0 -0
  31. modules/yith-infinite-scrolling/assets/js/yith-infs.min.js +0 -0
  32. modules/yith-infinite-scrolling/assets/js/yith.infinitescroll.js +0 -0
  33. modules/yith-infinite-scrolling/assets/js/yith.infinitescroll.min.js +0 -0
  34. modules/yith-infinite-scrolling/includes/class.yith-infs-admin.php +0 -0
  35. modules/yith-infinite-scrolling/includes/class.yith-infs-frontend.php +0 -0
  36. modules/yith-infinite-scrolling/includes/class.yith-infs.php +0 -0
  37. modules/yith-infinite-scrolling/init.php +3 -3
  38. modules/yith-infinite-scrolling/languages/yith-infinite-scrolling.pot +0 -0
  39. modules/yith-infinite-scrolling/plugin-options/general-options.php +0 -0
  40. modules/yith-infinite-scrolling/plugin-options/premium-options.php +0 -0
  41. modules/yith-infinite-scrolling/plugin-options/video-box.php +0 -0
  42. modules/yith-infinite-scrolling/templates/admin/premium.php +0 -0
  43. modules/yith-infinite-scrolling/uninstall.php +0 -0
  44. modules/yith-live-chat/assets/css/font-awesome.css +0 -0
  45. modules/yith-live-chat/assets/css/font-awesome.min.css +0 -0
  46. modules/yith-live-chat/assets/css/ylc-console.css +0 -0
  47. modules/yith-live-chat/assets/css/ylc-console.min.css +0 -0
  48. modules/yith-live-chat/assets/css/ylc-frontend.css +0 -0
  49. modules/yith-live-chat/assets/css/ylc-frontend.min.css +0 -0
  50. modules/yith-live-chat/assets/css/ylc-styles.css +2 -2
  51. modules/yith-live-chat/assets/css/ylc-styles.min.css +0 -0
  52. modules/yith-live-chat/assets/fonts/FontAwesome.otf +0 -0
  53. modules/yith-live-chat/assets/fonts/fontawesome-webfont.eot +0 -0
  54. modules/yith-live-chat/assets/fonts/fontawesome-webfont.svg +0 -0
  55. modules/yith-live-chat/assets/fonts/fontawesome-webfont.ttf +0 -0
  56. modules/yith-live-chat/assets/fonts/fontawesome-webfont.woff +0 -0
  57. modules/yith-live-chat/assets/fonts/fontawesome-webfont.woff2 +0 -0
  58. modules/yith-live-chat/assets/images/01-bg.png +0 -0
  59. modules/yith-live-chat/assets/images/01-icon.png +0 -0
  60. modules/yith-live-chat/assets/images/01.png +0 -0
  61. modules/yith-live-chat/assets/images/02-bg.png +0 -0
  62. modules/yith-live-chat/assets/images/02-icon.png +0 -0
  63. modules/yith-live-chat/assets/images/02.png +0 -0
  64. modules/yith-live-chat/assets/images/03-bg.png +0 -0
  65. modules/yith-live-chat/assets/images/03-icon.png +0 -0
  66. modules/yith-live-chat/assets/images/03.png +0 -0
  67. modules/yith-live-chat/assets/images/04-bg.png +0 -0
  68. modules/yith-live-chat/assets/images/04-icon.png +0 -0
  69. modules/yith-live-chat/assets/images/04.png +0 -0
  70. modules/yith-live-chat/assets/images/05-bg.png +0 -0
  71. modules/yith-live-chat/assets/images/05-icon.png +0 -0
  72. modules/yith-live-chat/assets/images/05.png +0 -0
  73. modules/yith-live-chat/assets/images/06-bg.png +0 -0
  74. modules/yith-live-chat/assets/images/06-icon.png +0 -0
  75. modules/yith-live-chat/assets/images/06.png +0 -0
  76. modules/yith-live-chat/assets/images/07-bg.png +0 -0
  77. modules/yith-live-chat/assets/images/07-icon.png +0 -0
  78. modules/yith-live-chat/assets/images/07.png +0 -0
  79. modules/yith-live-chat/assets/images/08-bg.png +0 -0
  80. modules/yith-live-chat/assets/images/08-icon.png +0 -0
  81. modules/yith-live-chat/assets/images/08.png +0 -0
  82. modules/yith-live-chat/assets/images/09-bg.png +0 -0
  83. modules/yith-live-chat/assets/images/09-icon.png +0 -0
  84. modules/yith-live-chat/assets/images/09.jpg +0 -0
  85. modules/yith-live-chat/assets/images/10-bg.png +0 -0
  86. modules/yith-live-chat/assets/images/10-icon.png +0 -0
  87. modules/yith-live-chat/assets/images/10.png +0 -0
  88. modules/yith-live-chat/assets/images/11-bg.png +0 -0
  89. modules/yith-live-chat/assets/images/11-icon.png +0 -0
  90. modules/yith-live-chat/assets/images/11.png +0 -0
  91. modules/yith-live-chat/assets/images/12-bg.png +0 -0
  92. modules/yith-live-chat/assets/images/12-icon.png +0 -0
  93. modules/yith-live-chat/assets/images/12.png +0 -0
  94. modules/yith-live-chat/assets/images/13-bg.png +0 -0
  95. modules/yith-live-chat/assets/images/13-icon.png +0 -0
  96. modules/yith-live-chat/assets/images/13.png +0 -0
  97. modules/yith-live-chat/assets/images/14-bg.png +0 -0
  98. modules/yith-live-chat/assets/images/14-icon.png +0 -0
  99. modules/yith-live-chat/assets/images/14.png +0 -0
  100. modules/yith-live-chat/assets/images/console_bg.png +0 -0
  101. modules/yith-live-chat/assets/images/default-avatar-admin.png +0 -0
  102. modules/yith-live-chat/assets/images/default-avatar-user.png +0 -0
  103. modules/yith-live-chat/assets/images/favicon.png +0 -0
  104. modules/yith-live-chat/assets/images/loading.gif +0 -0
  105. modules/yith-live-chat/assets/images/upgrade.png +0 -0
  106. modules/yith-live-chat/assets/images/yith-live-chat.jpg +0 -0
  107. modules/yith-live-chat/assets/images/yith-logo.png +0 -0
  108. modules/yith-live-chat/assets/images/ylc-ico.png +0 -0
  109. modules/yith-live-chat/assets/js/firebase.js +0 -0
  110. modules/yith-live-chat/assets/js/jquery.autosize.js +0 -0
  111. modules/yith-live-chat/assets/js/jquery.autosize.min.js +0 -0
  112. modules/yith-live-chat/assets/js/ylc-engine-console.js +20 -1
  113. modules/yith-live-chat/assets/js/ylc-engine-console.min.js +1 -1
  114. modules/yith-live-chat/assets/js/ylc-engine-frontend.js +5 -2
  115. modules/yith-live-chat/assets/js/ylc-engine-frontend.min.js +1 -1
  116. modules/yith-live-chat/assets/ylc-rules.json +0 -0
  117. modules/yith-live-chat/class.yith-livechat.php +0 -0
  118. modules/yith-live-chat/includes/class-ylc-session.php +0 -0
  119. modules/yith-live-chat/includes/class-ylc-user.php +0 -0
  120. modules/yith-live-chat/includes/firebase/firebase-token-generator.php +0 -0
  121. modules/yith-live-chat/includes/firebase/firebaseInterface.php +0 -0
  122. modules/yith-live-chat/includes/firebase/firebaseLib.php +0 -0
  123. modules/yith-live-chat/includes/firebase/json-web-token.php +0 -0
  124. modules/yith-live-chat/includes/functions-ylc-ajax.php +0 -0
  125. modules/yith-live-chat/includes/functions-ylc-commons.php +0 -0
  126. modules/yith-live-chat/includes/functions-ylc-server.php +0 -0
  127. modules/yith-live-chat/init.php +2 -2
  128. modules/yith-live-chat/languages/yith-live-chat.pot +0 -0
  129. modules/yith-live-chat/plugin-options/general-options.php +0 -0
  130. modules/yith-live-chat/plugin-options/premium-landing-options.php +0 -0
  131. modules/yith-live-chat/plugin-options/texts-options.php +0 -0
  132. modules/yith-live-chat/plugin-options/video-box.php +0 -0
  133. modules/yith-live-chat/templates/admin/custom-text.php +0 -0
  134. modules/yith-live-chat/templates/admin/premium.php +0 -0
  135. modules/yith-live-chat/templates/chat-backend/chat-console.php +0 -0
  136. modules/yith-live-chat/templates/chat-frontend/chat-container.php +0 -0
  137. modules/yith-woocommerce-advanced-reviews/assets/css/yit-advanced-reviews.css +0 -0
  138. modules/yith-woocommerce-advanced-reviews/assets/images/001.png +0 -0
  139. modules/yith-woocommerce-advanced-reviews/assets/images/002.png +0 -0
  140. modules/yith-woocommerce-advanced-reviews/assets/images/003.png +0 -0
  141. modules/yith-woocommerce-advanced-reviews/assets/images/004.png +0 -0
  142. modules/yith-woocommerce-advanced-reviews/assets/images/01.png +0 -0
  143. modules/yith-woocommerce-advanced-reviews/assets/images/02.png +0 -0
  144. modules/yith-woocommerce-advanced-reviews/assets/images/03.png +0 -0
  145. modules/yith-woocommerce-advanced-reviews/assets/images/04.png +0 -0
  146. modules/yith-woocommerce-advanced-reviews/assets/images/05.png +0 -0
  147. modules/yith-woocommerce-advanced-reviews/assets/images/06.png +0 -0
  148. modules/yith-woocommerce-advanced-reviews/assets/images/07-bg.png +0 -0
  149. modules/yith-woocommerce-advanced-reviews/assets/images/07-icon.png +0 -0
  150. modules/yith-woocommerce-advanced-reviews/assets/images/07.png +0 -0
  151. modules/yith-woocommerce-advanced-reviews/assets/images/08-bg.png +0 -0
  152. modules/yith-woocommerce-advanced-reviews/assets/images/08-icon.png +0 -0
  153. modules/yith-woocommerce-advanced-reviews/assets/images/08.png +0 -0
  154. modules/yith-woocommerce-advanced-reviews/assets/images/09-bg.png +0 -0
  155. modules/yith-woocommerce-advanced-reviews/assets/images/09-icon.png +0 -0
  156. modules/yith-woocommerce-advanced-reviews/assets/images/09.png +0 -0
  157. modules/yith-woocommerce-advanced-reviews/assets/images/10-bg.png +0 -0
  158. modules/yith-woocommerce-advanced-reviews/assets/images/10-icon.png +0 -0
  159. modules/yith-woocommerce-advanced-reviews/assets/images/10.png +0 -0
  160. modules/yith-woocommerce-advanced-reviews/assets/images/11-bg.png +0 -0
  161. modules/yith-woocommerce-advanced-reviews/assets/images/11-g.png +0 -0
  162. modules/yith-woocommerce-advanced-reviews/assets/images/11-icon.png +0 -0
  163. modules/yith-woocommerce-advanced-reviews/assets/images/11.png +0 -0
  164. modules/yith-woocommerce-advanced-reviews/assets/images/12-bg.png +0 -0
  165. modules/yith-woocommerce-advanced-reviews/assets/images/12-icon.png +0 -0
  166. modules/yith-woocommerce-advanced-reviews/assets/images/12.png +0 -0
  167. modules/yith-woocommerce-advanced-reviews/assets/images/13-bg.png +0 -0
  168. modules/yith-woocommerce-advanced-reviews/assets/images/13-icon.png +0 -0
  169. modules/yith-woocommerce-advanced-reviews/assets/images/13.png +0 -0
  170. modules/yith-woocommerce-advanced-reviews/assets/images/14-bg.png +0 -0
  171. modules/yith-woocommerce-advanced-reviews/assets/images/14-icon.png +0 -0
  172. modules/yith-woocommerce-advanced-reviews/assets/images/14.png +0 -0
  173. modules/yith-woocommerce-advanced-reviews/assets/images/15-bg.png +0 -0
  174. modules/yith-woocommerce-advanced-reviews/assets/images/15-icon.png +0 -0
  175. modules/yith-woocommerce-advanced-reviews/assets/images/15.png +0 -0
  176. modules/yith-woocommerce-advanced-reviews/assets/images/16-bg.png +0 -0
  177. modules/yith-woocommerce-advanced-reviews/assets/images/16-icon.png +0 -0
  178. modules/yith-woocommerce-advanced-reviews/assets/images/16.png +0 -0
  179. modules/yith-woocommerce-advanced-reviews/assets/images/background1.png +0 -0
  180. modules/yith-woocommerce-advanced-reviews/assets/images/background2.png +0 -0
  181. modules/yith-woocommerce-advanced-reviews/assets/images/background3.png +0 -0
  182. modules/yith-woocommerce-advanced-reviews/assets/images/background4.png +0 -0
  183. modules/yith-woocommerce-advanced-reviews/assets/images/background5.png +0 -0
  184. modules/yith-woocommerce-advanced-reviews/assets/images/background6.png +0 -0
  185. modules/yith-woocommerce-advanced-reviews/assets/images/caution-disabled.png +0 -0
  186. modules/yith-woocommerce-advanced-reviews/assets/images/caution.png +0 -0
  187. modules/yith-woocommerce-advanced-reviews/assets/images/denied-disabled.png +0 -0
  188. modules/yith-woocommerce-advanced-reviews/assets/images/denied.png +0 -0
  189. modules/yith-woocommerce-advanced-reviews/assets/images/dislike.png +0 -0
  190. modules/yith-woocommerce-advanced-reviews/assets/images/downvote_sel.png +0 -0
  191. modules/yith-woocommerce-advanced-reviews/assets/images/featured-review.png +0 -0
  192. modules/yith-woocommerce-advanced-reviews/assets/images/icon1.png +0 -0
  193. modules/yith-woocommerce-advanced-reviews/assets/images/icon2.png +0 -0
  194. modules/yith-woocommerce-advanced-reviews/assets/images/icon3.png +0 -0
  195. modules/yith-woocommerce-advanced-reviews/assets/images/icon4.png +0 -0
  196. modules/yith-woocommerce-advanced-reviews/assets/images/icon5.png +0 -0
  197. modules/yith-woocommerce-advanced-reviews/assets/images/icon6.png +0 -0
  198. modules/yith-woocommerce-advanced-reviews/assets/images/like.png +0 -0
  199. modules/yith-woocommerce-advanced-reviews/assets/images/loading.gif +0 -0
  200. modules/yith-woocommerce-advanced-reviews/assets/images/premium-settings.jpg +0 -0
  201. modules/yith-woocommerce-advanced-reviews/assets/images/premium-settings2.jpg +0 -0
  202. modules/yith-woocommerce-advanced-reviews/assets/images/sprites.png +0 -0
  203. modules/yith-woocommerce-advanced-reviews/assets/images/star-disabled.png +0 -0
  204. modules/yith-woocommerce-advanced-reviews/assets/images/star.png +0 -0
  205. modules/yith-woocommerce-advanced-reviews/assets/images/upgrade.png +0 -0
  206. modules/yith-woocommerce-advanced-reviews/assets/images/upvote_sel.png +0 -0
  207. modules/yith-woocommerce-advanced-reviews/assets/images/yith-woocommerce-advanced-reviews.jpg +0 -0
  208. modules/yith-woocommerce-advanced-reviews/assets/js/ywar-attachments.js +0 -0
  209. modules/yith-woocommerce-advanced-reviews/assets/js/ywar-back-end.js +0 -0
  210. modules/yith-woocommerce-advanced-reviews/class.yith-woocommerce-advanced-reviews.php +0 -0
  211. modules/yith-woocommerce-advanced-reviews/functions.php +0 -0
  212. modules/yith-woocommerce-advanced-reviews/init.php +1 -0
  213. modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-es_ES.mo +0 -0
  214. modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-es_ES.po +0 -0
  215. modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-it_IT.mo +0 -0
  216. modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-it_IT.po +0 -0
  217. modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews.pot +0 -0
  218. modules/yith-woocommerce-advanced-reviews/lib/class.yith-advanced-reviews-list-table.php +0 -0
  219. modules/yith-woocommerce-advanced-reviews/plugin-options/general-options.php +0 -0
  220. modules/yith-woocommerce-advanced-reviews/plugin-options/layout-options.php +0 -0
  221. modules/yith-woocommerce-advanced-reviews/plugin-options/premium-landing-options.php +0 -0
  222. modules/yith-woocommerce-advanced-reviews/plugin-options/premium-options.php +0 -0
  223. modules/yith-woocommerce-advanced-reviews/templates/admin/premium.php +0 -0
  224. modules/yith-woocommerce-advanced-reviews/templates/ywar-product-reviews-table.php +0 -0
  225. modules/yith-woocommerce-advanced-reviews/templates/ywar-product-reviews.php +0 -0
  226. modules/yith-woocommerce-advanced-reviews/templates/ywar-rating.php +0 -0
  227. modules/yith-woocommerce-advanced-reviews/templates/ywar-review.php +0 -0
  228. modules/yith-woocommerce-advanced-reviews/templates/ywar-single-product-reviews.php +0 -0
  229. modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/lib/codemirror.css +0 -0
  230. modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/lib/codemirror.js +0 -0
  231. modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/mode/css/css.js +0 -0
  232. modules/yith-woocommerce-ajax-navigation/assets/css/admin.css +0 -0
  233. modules/yith-woocommerce-ajax-navigation/assets/css/frontend.css +18 -10
  234. modules/yith-woocommerce-ajax-navigation/assets/images/01-bg.png +0 -0
  235. modules/yith-woocommerce-ajax-navigation/assets/images/01-icon.png +0 -0
  236. modules/yith-woocommerce-ajax-navigation/assets/images/01.png +0 -0
  237. modules/yith-woocommerce-ajax-navigation/assets/images/02-bg.png +0 -0
  238. modules/yith-woocommerce-ajax-navigation/assets/images/02-icon.png +0 -0
  239. modules/yith-woocommerce-ajax-navigation/assets/images/02.png +0 -0
  240. modules/yith-woocommerce-ajax-navigation/assets/images/03-bg.png +0 -0
  241. modules/yith-woocommerce-ajax-navigation/assets/images/03-icon.png +0 -0
  242. modules/yith-woocommerce-ajax-navigation/assets/images/03.png +0 -0
  243. modules/yith-woocommerce-ajax-navigation/assets/images/04-bg.png +0 -0
  244. modules/yith-woocommerce-ajax-navigation/assets/images/04-icon.png +0 -0
  245. modules/yith-woocommerce-ajax-navigation/assets/images/04.png +0 -0
  246. modules/yith-woocommerce-ajax-navigation/assets/images/05-bg.png +0 -0
  247. modules/yith-woocommerce-ajax-navigation/assets/images/05-icon.png +0 -0
  248. modules/yith-woocommerce-ajax-navigation/assets/images/05.png +0 -0
  249. modules/yith-woocommerce-ajax-navigation/assets/images/06-bg.png +0 -0
  250. modules/yith-woocommerce-ajax-navigation/assets/images/06-icon.png +0 -0
  251. modules/yith-woocommerce-ajax-navigation/assets/images/06.png +0 -0
  252. modules/yith-woocommerce-ajax-navigation/assets/images/07-bg.png +0 -0
  253. modules/yith-woocommerce-ajax-navigation/assets/images/07-icon.png +0 -0
  254. modules/yith-woocommerce-ajax-navigation/assets/images/07.png +0 -0
  255. modules/yith-woocommerce-ajax-navigation/assets/images/08-bg.png +0 -0
  256. modules/yith-woocommerce-ajax-navigation/assets/images/08-icon.png +0 -0
  257. modules/yith-woocommerce-ajax-navigation/assets/images/08.png +0 -0
  258. modules/yith-woocommerce-ajax-navigation/assets/images/09-bg.png +0 -0
  259. modules/yith-woocommerce-ajax-navigation/assets/images/09-icon.png +0 -0
  260. modules/yith-woocommerce-ajax-navigation/assets/images/09.png +0 -0
  261. modules/yith-woocommerce-ajax-navigation/assets/images/10-bg.png +0 -0
  262. modules/yith-woocommerce-ajax-navigation/assets/images/10-icon.png +0 -0
  263. modules/yith-woocommerce-ajax-navigation/assets/images/10.png +0 -0
  264. modules/yith-woocommerce-ajax-navigation/assets/images/11-bg.png +0 -0
  265. modules/yith-woocommerce-ajax-navigation/assets/images/11-icon.png +0 -0
  266. modules/yith-woocommerce-ajax-navigation/assets/images/11.png +0 -0
  267. modules/yith-woocommerce-ajax-navigation/assets/images/12-bg.png +0 -0
  268. modules/yith-woocommerce-ajax-navigation/assets/images/12-icon.png +0 -0
  269. modules/yith-woocommerce-ajax-navigation/assets/images/12.png +0 -0
  270. modules/yith-woocommerce-ajax-navigation/assets/images/13-bg.png +0 -0
  271. modules/yith-woocommerce-ajax-navigation/assets/images/13-icon.png +0 -0
  272. modules/yith-woocommerce-ajax-navigation/assets/images/13.png +0 -0
  273. modules/yith-woocommerce-ajax-navigation/assets/images/14-bg.png +0 -0
  274. modules/yith-woocommerce-ajax-navigation/assets/images/14-icon.png +0 -0
  275. modules/yith-woocommerce-ajax-navigation/assets/images/14.png +0 -0
  276. modules/yith-woocommerce-ajax-navigation/assets/images/ajax-loader.gif +0 -0
  277. modules/yith-woocommerce-ajax-navigation/assets/images/cross.png +0 -0
  278. modules/yith-woocommerce-ajax-navigation/assets/images/select-arrow.png +0 -0
  279. modules/yith-woocommerce-ajax-navigation/assets/images/upgrade.png +0 -0
  280. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-admin.js +0 -0
  281. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-editor.js +0 -0
  282. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.js +17 -8
  283. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.min.js +17 -16
  284. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-admin.php +0 -0
  285. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-frontend.php +2 -0
  286. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-helper.php +0 -0
  287. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan.php +1 -2
  288. modules/yith-woocommerce-ajax-navigation/includes/functions.yith-wcan.php +44 -28
  289. modules/yith-woocommerce-ajax-navigation/init.php +4 -3
  290. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-de_DE.mo +0 -0
  291. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-de_DE.po +806 -0
  292. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-es_ES.mo +0 -0
  293. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-es_ES.po +901 -0
  294. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-it_IT.mo +0 -0
  295. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-it_IT.po +23 -26
  296. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-nl_NL.mo +0 -0
  297. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-nl_NL.po +792 -0
  298. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-tr_TR.mo +0 -0
  299. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-tr_TR.po +22 -22
  300. modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation.pot +21 -21
  301. modules/yith-woocommerce-ajax-navigation/settings/custom-style-options.php +0 -0
  302. modules/yith-woocommerce-ajax-navigation/settings/frontend-options.php +1 -1
  303. modules/yith-woocommerce-ajax-navigation/settings/premium-options.php +0 -0
  304. modules/yith-woocommerce-ajax-navigation/templates/admin/premium.php +0 -0
  305. modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-navigation-widget.php +22 -7
  306. modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-reset-navigation-widget.php +1 -11
  307. modules/yith-woocommerce-ajax-search/assets/css/admin.css +0 -0
  308. modules/yith-woocommerce-ajax-search/assets/css/yith_wcas_ajax_search.css +0 -0
  309. modules/yith-woocommerce-ajax-search/assets/images/01.jpg +0 -0
  310. modules/yith-woocommerce-ajax-search/assets/images/02.png +0 -0
  311. modules/yith-woocommerce-ajax-search/assets/images/03.jpg +0 -0
  312. modules/yith-woocommerce-ajax-search/assets/images/ajax-loader.gif +0 -0
  313. modules/yith-woocommerce-ajax-search/assets/images/ajax-search-premium.jpg +0 -0
  314. modules/yith-woocommerce-ajax-search/assets/images/number-eight.png +0 -0
  315. modules/yith-woocommerce-ajax-search/assets/images/number-five.png +0 -0
  316. modules/yith-woocommerce-ajax-search/assets/images/number-fourth.png +0 -0
  317. modules/yith-woocommerce-ajax-search/assets/images/number-one.png +0 -0
  318. modules/yith-woocommerce-ajax-search/assets/images/number-seven.png +0 -0
  319. modules/yith-woocommerce-ajax-search/assets/images/number-six.png +0 -0
  320. modules/yith-woocommerce-ajax-search/assets/images/number-three.png +0 -0
  321. modules/yith-woocommerce-ajax-search/assets/images/number-two.png +0 -0
  322. modules/yith-woocommerce-ajax-search/assets/images/upgrade.png +0 -0
  323. modules/yith-woocommerce-ajax-search/assets/js/devbridge-jquery-autocomplete.js +0 -0
  324. modules/yith-woocommerce-ajax-search/assets/js/devbridge-jquery-autocomplete.min.js +0 -0
  325. modules/yith-woocommerce-ajax-search/assets/js/frontend.js +0 -0
  326. modules/yith-woocommerce-ajax-search/assets/js/frontend.min.js +0 -0
  327. modules/yith-woocommerce-ajax-search/assets/js/yith-autocomplete.js +0 -0
  328. modules/yith-woocommerce-ajax-search/assets/js/yith-autocomplete.min.js +0 -0
  329. modules/yith-woocommerce-ajax-search/class.yith-wcas-admin.php +0 -0
  330. modules/yith-woocommerce-ajax-search/class.yith-wcas-frontend.php +0 -0
  331. modules/yith-woocommerce-ajax-search/class.yith-wcas.php +0 -0
  332. modules/yith-woocommerce-ajax-search/functions.yith-wcas.php +0 -0
  333. modules/yith-woocommerce-ajax-search/init.php +5 -2
  334. modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-it_IT.mo +0 -0
  335. modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-it_IT.po +0 -0
  336. modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-pt_PT.mo +0 -0
  337. modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-pt_PT.po +0 -0
  338. modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search.pot +0 -0
  339. modules/yith-woocommerce-ajax-search/plugin-options/premium-options.php +0 -0
  340. modules/yith-woocommerce-ajax-search/plugin-options/settings-options.php +0 -0
  341. modules/yith-woocommerce-ajax-search/templates/admin/premium.php +0 -0
  342. modules/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php +0 -0
  343. modules/yith-woocommerce-ajax-search/uninstall.php +0 -0
  344. modules/yith-woocommerce-ajax-search/widgets/class.yith-wcas-ajax-search.php +0 -0
  345. modules/yith-woocommerce-ajax-search/wpml-config.xml +0 -0
  346. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01-bg.png +0 -0
  347. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01-icon.png +0 -0
  348. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01.png +0 -0
  349. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02-bg.png +0 -0
  350. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02-icon.png +0 -0
  351. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02.png +0 -0
  352. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03-bg.png +0 -0
  353. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03-icon.png +0 -0
  354. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03.png +0 -0
  355. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04-bg.png +0 -0
  356. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04-icon.png +0 -0
  357. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04.png +0 -0
  358. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05-bg.png +0 -0
  359. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05-icon.png +0 -0
  360. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05.png +0 -0
  361. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/amex.png +0 -0
  362. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/diners.png +0 -0
  363. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/discover.png +0 -0
  364. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/jcb.png +0 -0
  365. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/mastercard.png +0 -0
  366. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/visa.png +0 -0
  367. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/logo.jpg +0 -0
  368. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/upgrade.png +0 -0
  369. modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/yith-woocommerce-authorize-net.jpg +0 -0
  370. modules/yith-woocommerce-authorizenet-payment-gateway/assets/js/authorize-net.min.js +0 -0
  371. modules/yith-woocommerce-authorizenet-payment-gateway/assets/js/unminified/authorize-net.js +0 -0
  372. modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-admin.php +0 -0
  373. modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-credit-card-gateway.php +0 -0
  374. modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet.php +0 -0
  375. modules/yith-woocommerce-authorizenet-payment-gateway/includes/legacy/class.yith-wcauthnet-credit-card-gateway.php +0 -0
  376. modules/yith-woocommerce-authorizenet-payment-gateway/init.php +4 -2
  377. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-es_ES.mo +0 -0
  378. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-es_ES.po +581 -0
  379. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-it_IT.mo +0 -0
  380. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-it_IT.po +0 -0
  381. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-nl_NL.mo +0 -0
  382. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-nl_NL.po +572 -0
  383. modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet.pot +2 -2
  384. modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/credit_card-options.php +0 -0
  385. modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/premium-options.php +0 -0
  386. modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/video-box.php +0 -0
  387. modules/yith-woocommerce-authorizenet-payment-gateway/templates/admin/premium.php +0 -0
  388. modules/yith-woocommerce-authorizenet-payment-gateway/templates/admin/settings-tab.php +0 -0
  389. modules/yith-woocommerce-authorizenet-payment-gateway/templates/authorize-net-payment-form.php +0 -0
  390. modules/yith-woocommerce-authorizenet-payment-gateway/uninstall.php +0 -0
  391. modules/yith-woocommerce-authorizenet-payment-gateway/wpml-config.xml +0 -0
  392. modules/yith-woocommerce-badges-management/assets/css/admin.css +0 -0
  393. modules/yith-woocommerce-badges-management/assets/css/frontend.css +25 -12
  394. modules/yith-woocommerce-badges-management/assets/css/jquery-ui.css +0 -0
  395. modules/yith-woocommerce-badges-management/assets/images/01-bg.png +0 -0
  396. modules/yith-woocommerce-badges-management/assets/images/01-icon.png +0 -0
  397. modules/yith-woocommerce-badges-management/assets/images/01.png +0 -0
  398. modules/yith-woocommerce-badges-management/assets/images/02-bg.png +0 -0
  399. modules/yith-woocommerce-badges-management/assets/images/02-icon.png +0 -0
  400. modules/yith-woocommerce-badges-management/assets/images/02.png +0 -0
  401. modules/yith-woocommerce-badges-management/assets/images/03-bg.png +0 -0
  402. modules/yith-woocommerce-badges-management/assets/images/03-icon.png +0 -0
  403. modules/yith-woocommerce-badges-management/assets/images/03.png +0 -0
  404. modules/yith-woocommerce-badges-management/assets/images/04-bg.png +0 -0
  405. modules/yith-woocommerce-badges-management/assets/images/04-icon.png +0 -0
  406. modules/yith-woocommerce-badges-management/assets/images/04.png +0 -0
  407. modules/yith-woocommerce-badges-management/assets/images/05-bg.png +0 -0
  408. modules/yith-woocommerce-badges-management/assets/images/05-icon.png +0 -0
  409. modules/yith-woocommerce-badges-management/assets/images/05.png +0 -0
  410. modules/yith-woocommerce-badges-management/assets/images/06-bg.png +0 -0
  411. modules/yith-woocommerce-badges-management/assets/images/06-icon.png +0 -0
  412. modules/yith-woocommerce-badges-management/assets/images/06.png +0 -0
  413. modules/yith-woocommerce-badges-management/assets/images/07-bg.png +0 -0
  414. modules/yith-woocommerce-badges-management/assets/images/07-icon.png +0 -0
  415. modules/yith-woocommerce-badges-management/assets/images/07.png +0 -0
  416. modules/yith-woocommerce-badges-management/assets/images/08-bg.png +0 -0
  417. modules/yith-woocommerce-badges-management/assets/images/08-icon.png +0 -0
  418. modules/yith-woocommerce-badges-management/assets/images/08.png +0 -0
  419. modules/yith-woocommerce-badges-management/assets/images/09-bg.png +0 -0
  420. modules/yith-woocommerce-badges-management/assets/images/09-icon.png +0 -0
  421. modules/yith-woocommerce-badges-management/assets/images/09.png +0 -0
  422. modules/yith-woocommerce-badges-management/assets/images/1.png +0 -0
  423. modules/yith-woocommerce-badges-management/assets/images/10-bg.png +0 -0
  424. modules/yith-woocommerce-badges-management/assets/images/10-icon.png +0 -0
  425. modules/yith-woocommerce-badges-management/assets/images/10.png +0 -0
  426. modules/yith-woocommerce-badges-management/assets/images/11-bg.png +0 -0
  427. modules/yith-woocommerce-badges-management/assets/images/11-icon.png +0 -0
  428. modules/yith-woocommerce-badges-management/assets/images/11.png +0 -0
  429. modules/yith-woocommerce-badges-management/assets/images/12-bg.png +0 -0
  430. modules/yith-woocommerce-badges-management/assets/images/12-icon.png +0 -0
  431. modules/yith-woocommerce-badges-management/assets/images/12.png +0 -0
  432. modules/yith-woocommerce-badges-management/assets/images/13-bg.png +0 -0
  433. modules/yith-woocommerce-badges-management/assets/images/13-icon.png +0 -0
  434. modules/yith-woocommerce-badges-management/assets/images/13.png +0 -0
  435. modules/yith-woocommerce-badges-management/assets/images/14-bg.png +0 -0
  436. modules/yith-woocommerce-badges-management/assets/images/14-icon.png +0 -0
  437. modules/yith-woocommerce-badges-management/assets/images/14.png +0 -0
  438. modules/yith-woocommerce-badges-management/assets/images/2.png +0 -0
  439. modules/yith-woocommerce-badges-management/assets/images/3.png +0 -0
  440. modules/yith-woocommerce-badges-management/assets/images/4.png +0 -0
  441. modules/yith-woocommerce-badges-management/assets/images/upgrade.png +0 -0
  442. modules/yith-woocommerce-badges-management/assets/js/metabox_options.js +0 -0
  443. modules/yith-woocommerce-badges-management/class.yith-wcbm-admin.php +24 -12
  444. modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php +90 -20
  445. modules/yith-woocommerce-badges-management/class.yith-wcbm-post-types.php +0 -0
  446. modules/yith-woocommerce-badges-management/class.yith-wcbm.php +0 -0
  447. modules/yith-woocommerce-badges-management/functions.yith-wcbm.php +6 -0
  448. modules/yith-woocommerce-badges-management/init.php +5 -5
  449. modules/yith-woocommerce-badges-management/languages/yith-badge-management-it_IT.po +0 -0
  450. modules/yith-woocommerce-badges-management/languages/yith-badges-management-it_IT.pot +0 -0
  451. modules/yith-woocommerce-badges-management/languages/yith-woocommerce-badges-management.pot +0 -0
  452. modules/yith-woocommerce-badges-management/plugin-options/premium-options.php +0 -0
  453. modules/yith-woocommerce-badges-management/plugin-options/settings-options.php +0 -0
  454. modules/yith-woocommerce-badges-management/templates/badge_content.php +0 -0
  455. modules/yith-woocommerce-badges-management/templates/badge_styles.php +0 -0
  456. modules/yith-woocommerce-badges-management/templates/premium.php +0 -0
  457. modules/yith-woocommerce-cart-messages/assets/css/admin.css +0 -0
  458. modules/yith-woocommerce-cart-messages/assets/images/01-bg.png +0 -0
  459. modules/yith-woocommerce-cart-messages/assets/images/01-icon.png +0 -0
  460. modules/yith-woocommerce-cart-messages/assets/images/01.png +0 -0
  461. modules/yith-woocommerce-cart-messages/assets/images/02-bg.png +0 -0
  462. modules/yith-woocommerce-cart-messages/assets/images/02-icon.png +0 -0
  463. modules/yith-woocommerce-cart-messages/assets/images/02.png +0 -0
  464. modules/yith-woocommerce-cart-messages/assets/images/03-bg.png +0 -0
  465. modules/yith-woocommerce-cart-messages/assets/images/03-icon.png +0 -0
  466. modules/yith-woocommerce-cart-messages/assets/images/03.png +0 -0
  467. modules/yith-woocommerce-cart-messages/assets/images/04-bg.png +0 -0
  468. modules/yith-woocommerce-cart-messages/assets/images/04-icon.png +0 -0
  469. modules/yith-woocommerce-cart-messages/assets/images/04.png +0 -0
  470. modules/yith-woocommerce-cart-messages/assets/images/05-bg.png +0 -0
  471. modules/yith-woocommerce-cart-messages/assets/images/05-icon.png +0 -0
  472. modules/yith-woocommerce-cart-messages/assets/images/05.png +0 -0
  473. modules/yith-woocommerce-cart-messages/assets/images/06-bg.png +0 -0
  474. modules/yith-woocommerce-cart-messages/assets/images/06-icon.png +0 -0
  475. modules/yith-woocommerce-cart-messages/assets/images/06.png +0 -0
  476. modules/yith-woocommerce-cart-messages/assets/images/3.png +0 -0
  477. modules/yith-woocommerce-cart-messages/assets/images/upgrade.png +0 -0
  478. modules/yith-woocommerce-cart-messages/assets/images/yith-woocommerce-cart-messages.jpg +0 -0
  479. modules/yith-woocommerce-cart-messages/class.yith-woocommerce-cart-message.php +0 -0
  480. modules/yith-woocommerce-cart-messages/class.yith-woocommerce-cart-messages.php +7 -1
  481. modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages-it_IT.mo +0 -0
  482. modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages-it_IT.po +0 -0
  483. modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages.pot +0 -0
  484. modules/yith-woocommerce-cart-messages/plugin-options/metabox/ywcm_metabox.php +2 -1
  485. modules/yith-woocommerce-cart-messages/plugin-options/premium-options.php +0 -0
  486. modules/yith-woocommerce-cart-messages/plugin-options/settings-options.php +0 -0
  487. modules/yith-woocommerce-cart-messages/templates/admin/premium.php +0 -0
  488. modules/yith-woocommerce-cart-messages/templates/layouts/layout.php +0 -0
  489. modules/yith-woocommerce-cart-messages/wpml-config.xml +0 -0
  490. modules/yith-woocommerce-cart-messages/yith-cart-messages-functions.php +0 -0
  491. modules/yith-woocommerce-cart-messages/yith-cart-messages.php +4 -2
  492. modules/yith-woocommerce-catalog-mode/assets/images/01-bg.png +0 -0
  493. modules/yith-woocommerce-catalog-mode/assets/images/01-icon.png +0 -0
  494. modules/yith-woocommerce-catalog-mode/assets/images/01.png +0 -0
  495. modules/yith-woocommerce-catalog-mode/assets/images/02-bg.png +0 -0
  496. modules/yith-woocommerce-catalog-mode/assets/images/02-icon.png +0 -0
  497. modules/yith-woocommerce-catalog-mode/assets/images/02.png +0 -0
  498. modules/yith-woocommerce-catalog-mode/assets/images/03-bg.png +0 -0
  499. modules/yith-woocommerce-catalog-mode/assets/images/03-icon.png +0 -0
  500. modules/yith-woocommerce-catalog-mode/assets/images/03.png +0 -0
  501. modules/yith-woocommerce-catalog-mode/assets/images/04-bg.png +0 -0
  502. modules/yith-woocommerce-catalog-mode/assets/images/04-icon.png +0 -0
  503. modules/yith-woocommerce-catalog-mode/assets/images/04.png +0 -0
  504. modules/yith-woocommerce-catalog-mode/assets/images/05-bg.png +0 -0
  505. modules/yith-woocommerce-catalog-mode/assets/images/05-icon.png +0 -0
  506. modules/yith-woocommerce-catalog-mode/assets/images/05.png +0 -0
  507. modules/yith-woocommerce-catalog-mode/assets/images/06-bg.png +0 -0
  508. modules/yith-woocommerce-catalog-mode/assets/images/06-icon.png +0 -0
  509. modules/yith-woocommerce-catalog-mode/assets/images/06.png +0 -0
  510. modules/yith-woocommerce-catalog-mode/assets/images/07-bg.png +0 -0
  511. modules/yith-woocommerce-catalog-mode/assets/images/07-icon.png +0 -0
  512. modules/yith-woocommerce-catalog-mode/assets/images/07.png +0 -0
  513. modules/yith-woocommerce-catalog-mode/assets/images/08-bg.png +0 -0
  514. modules/yith-woocommerce-catalog-mode/assets/images/08-icon.png +0 -0
  515. modules/yith-woocommerce-catalog-mode/assets/images/08.png +0 -0
  516. modules/yith-woocommerce-catalog-mode/assets/images/09-bg.png +0 -0
  517. modules/yith-woocommerce-catalog-mode/assets/images/09-icon.png +0 -0
  518. modules/yith-woocommerce-catalog-mode/assets/images/09.png +0 -0
  519. modules/yith-woocommerce-catalog-mode/assets/images/10-bg.png +0 -0
  520. modules/yith-woocommerce-catalog-mode/assets/images/10-icon.png +0 -0
  521. modules/yith-woocommerce-catalog-mode/assets/images/10.png +0 -0
  522. modules/yith-woocommerce-catalog-mode/assets/images/upgrade.png +0 -0
  523. modules/yith-woocommerce-catalog-mode/assets/images/yith-woocommerce-catalog-mode.jpg +0 -0
  524. modules/yith-woocommerce-catalog-mode/class.yith-woocommerce-catalog-mode.php +0 -0
  525. modules/yith-woocommerce-catalog-mode/init.php +4 -4
  526. modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.mo +0 -0
  527. modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.po +0 -0
  528. modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode.pot +0 -0
  529. modules/yith-woocommerce-catalog-mode/plugin-options/premium-landing-options.php +0 -0
  530. modules/yith-woocommerce-catalog-mode/plugin-options/settings-options.php +0 -0
  531. modules/yith-woocommerce-catalog-mode/templates/admin/premium.php +0 -0
  532. modules/yith-woocommerce-catalog-mode/wpml-config.xml +0 -0
  533. modules/yith-woocommerce-colors-labels-variations/assets/css/admin.css +0 -0
  534. modules/yith-woocommerce-colors-labels-variations/assets/css/frontend.css +0 -0
  535. modules/yith-woocommerce-colors-labels-variations/assets/images/01-bg.png +0 -0
  536. modules/yith-woocommerce-colors-labels-variations/assets/images/01-icon.png +0 -0
  537. modules/yith-woocommerce-colors-labels-variations/assets/images/01.png +0 -0
  538. modules/yith-woocommerce-colors-labels-variations/assets/images/02-bg.png +0 -0
  539. modules/yith-woocommerce-colors-labels-variations/assets/images/02-icon.png +0 -0
  540. modules/yith-woocommerce-colors-labels-variations/assets/images/02.png +0 -0
  541. modules/yith-woocommerce-colors-labels-variations/assets/images/03-bg.png +0 -0
  542. modules/yith-woocommerce-colors-labels-variations/assets/images/03-icon.png +0 -0
  543. modules/yith-woocommerce-colors-labels-variations/assets/images/03.png +0 -0
  544. modules/yith-woocommerce-colors-labels-variations/assets/images/04-bg.png +0 -0
  545. modules/yith-woocommerce-colors-labels-variations/assets/images/04-icon.png +0 -0
  546. modules/yith-woocommerce-colors-labels-variations/assets/images/04.png +0 -0
  547. modules/yith-woocommerce-colors-labels-variations/assets/images/05-bg.png +0 -0
  548. modules/yith-woocommerce-colors-labels-variations/assets/images/05-icon.png +0 -0
  549. modules/yith-woocommerce-colors-labels-variations/assets/images/05.png +0 -0
  550. modules/yith-woocommerce-colors-labels-variations/assets/images/06-bg.png +0 -0
  551. modules/yith-woocommerce-colors-labels-variations/assets/images/06-icon.png +0 -0
  552. modules/yith-woocommerce-colors-labels-variations/assets/images/06.png +0 -0
  553. modules/yith-woocommerce-colors-labels-variations/assets/images/upgrade.png +0 -0
  554. modules/yith-woocommerce-colors-labels-variations/assets/js/admin.js +0 -0
  555. modules/yith-woocommerce-colors-labels-variations/assets/js/frontend.js +0 -0
  556. modules/yith-woocommerce-colors-labels-variations/assets/js/frontend.min.js +0 -0
  557. modules/yith-woocommerce-colors-labels-variations/changelog.txt +78 -0
  558. modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-admin.php +0 -0
  559. modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-frontend.php +0 -0
  560. modules/yith-woocommerce-colors-labels-variations/class.yith-wccl.php +0 -0
  561. modules/yith-woocommerce-colors-labels-variations/functions.yith-wccl.php +0 -0
  562. modules/yith-woocommerce-colors-labels-variations/init.php +0 -0
  563. modules/yith-woocommerce-colors-labels-variations/languages/ yith-woocommerce-color-label-variations.pot +196 -0
  564. modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations-it_IT.mo +0 -0
  565. modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations-it_IT.po +0 -0
  566. modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations.pot +0 -0
  567. modules/yith-woocommerce-colors-labels-variations/plugin-options/premium-options.php +0 -0
  568. modules/yith-woocommerce-colors-labels-variations/templates/admin/premium.php +0 -0
  569. modules/yith-woocommerce-colors-labels-variations/templates/single-product/add-to-cart/variable-wccl.php +0 -0
  570. modules/yith-woocommerce-compare/assets/css/admin.css +0 -0
  571. modules/yith-woocommerce-compare/assets/css/colorbox.css +0 -0
  572. modules/yith-woocommerce-compare/assets/css/jquery.dataTables.css +0 -0
  573. modules/yith-woocommerce-compare/assets/css/style.css +0 -0
  574. modules/yith-woocommerce-compare/assets/css/widget.css +0 -0
  575. modules/yith-woocommerce-compare/assets/images/01-bg.png +0 -0
  576. modules/yith-woocommerce-compare/assets/images/01-icon.png +0 -0
  577. modules/yith-woocommerce-compare/assets/images/01.png +0 -0
  578. modules/yith-woocommerce-compare/assets/images/02-bg.png +0 -0
  579. modules/yith-woocommerce-compare/assets/images/02-icon.png +0 -0
  580. modules/yith-woocommerce-compare/assets/images/02.png +0 -0
  581. modules/yith-woocommerce-compare/assets/images/03-bg.png +0 -0
  582. modules/yith-woocommerce-compare/assets/images/03-icon.png +0 -0
  583. modules/yith-woocommerce-compare/assets/images/03.png +0 -0
  584. modules/yith-woocommerce-compare/assets/images/04-bg.png +0 -0
  585. modules/yith-woocommerce-compare/assets/images/04-icon.png +0 -0
  586. modules/yith-woocommerce-compare/assets/images/04.png +0 -0
  587. modules/yith-woocommerce-compare/assets/images/05-bg.png +0 -0
  588. modules/yith-woocommerce-compare/assets/images/05-icon.png +0 -0
  589. modules/yith-woocommerce-compare/assets/images/05.png +0 -0
  590. modules/yith-woocommerce-compare/assets/images/06-bg.png +0 -0
  591. modules/yith-woocommerce-compare/assets/images/06-icon.png +0 -0
  592. modules/yith-woocommerce-compare/assets/images/06.png +0 -0
  593. modules/yith-woocommerce-compare/assets/images/07-bg.png +0 -0
  594. modules/yith-woocommerce-compare/assets/images/07-icon.png +0 -0
  595. modules/yith-woocommerce-compare/assets/images/07.png +0 -0
  596. modules/yith-woocommerce-compare/assets/images/08-bg.png +0 -0
  597. modules/yith-woocommerce-compare/assets/images/08-icon.png +0 -0
  598. modules/yith-woocommerce-compare/assets/images/08.png +0 -0
  599. modules/yith-woocommerce-compare/assets/images/09-bg.png +0 -0
  600. modules/yith-woocommerce-compare/assets/images/09-icon.png +0 -0
  601. modules/yith-woocommerce-compare/assets/images/09.png +0 -0
  602. modules/yith-woocommerce-compare/assets/images/10-bg.png +0 -0
  603. modules/yith-woocommerce-compare/assets/images/10-icon.png +0 -0
  604. modules/yith-woocommerce-compare/assets/images/10.png +0 -0
  605. modules/yith-woocommerce-compare/assets/images/11-bg.png +0 -0
  606. modules/yith-woocommerce-compare/assets/images/11-icon.png +0 -0
  607. modules/yith-woocommerce-compare/assets/images/11.png +0 -0
  608. modules/yith-woocommerce-compare/assets/images/bg-pattern.png +0 -0
  609. modules/yith-woocommerce-compare/assets/images/box-bottom.png +0 -0
  610. modules/yith-woocommerce-compare/assets/images/colorbox/border.png +0 -0
  611. modules/yith-woocommerce-compare/assets/images/colorbox/controls.png +0 -0
  612. modules/yith-woocommerce-compare/assets/images/colorbox/loading.gif +0 -0
  613. modules/yith-woocommerce-compare/assets/images/colorbox/loading_background.png +0 -0
  614. modules/yith-woocommerce-compare/assets/images/loader.gif +0 -0
  615. modules/yith-woocommerce-compare/assets/images/logo.png +0 -0
  616. modules/yith-woocommerce-compare/assets/images/mascotte.png +0 -0
  617. modules/yith-woocommerce-compare/assets/images/socials/behance.png +0 -0
  618. modules/yith-woocommerce-compare/assets/images/socials/dribble.png +0 -0
  619. modules/yith-woocommerce-compare/assets/images/socials/email.png +0 -0
  620. modules/yith-woocommerce-compare/assets/images/socials/facebook.png +0 -0
  621. modules/yith-woocommerce-compare/assets/images/socials/flickr.png +0 -0
  622. modules/yith-woocommerce-compare/assets/images/socials/gplus.png +0 -0
  623. modules/yith-woocommerce-compare/assets/images/socials/instagram.png +0 -0
  624. modules/yith-woocommerce-compare/assets/images/socials/linkedin.png +0 -0
  625. modules/yith-woocommerce-compare/assets/images/socials/pinterest.png +0 -0
  626. modules/yith-woocommerce-compare/assets/images/socials/rss.png +0 -0
  627. modules/yith-woocommerce-compare/assets/images/socials/skype.png +0 -0
  628. modules/yith-woocommerce-compare/assets/images/socials/tumblr.png +0 -0
  629. modules/yith-woocommerce-compare/assets/images/socials/twitter.png +0 -0
  630. modules/yith-woocommerce-compare/assets/images/socials/youtube.png +0 -0
  631. modules/yith-woocommerce-compare/assets/images/upgrade.png +0 -0
  632. modules/yith-woocommerce-compare/assets/js/FixedColumns.min.js +0 -0
  633. modules/yith-woocommerce-compare/assets/js/jquery.colorbox-min.js +0 -0
  634. modules/yith-woocommerce-compare/assets/js/jquery.dataTables.min.js +0 -0
  635. modules/yith-woocommerce-compare/assets/js/woocompare-admin.js +0 -0
  636. modules/yith-woocommerce-compare/assets/js/woocompare.js +0 -0
  637. modules/yith-woocommerce-compare/assets/js/woocompare.min.js +0 -0
  638. modules/yith-woocommerce-compare/includes/class.yith-woocompare-admin.php +0 -0
  639. modules/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php +10 -0
  640. modules/yith-woocommerce-compare/includes/class.yith-woocompare-helper.php +3 -1
  641. modules/yith-woocommerce-compare/includes/class.yith-woocompare.php +0 -0
  642. modules/yith-woocommerce-compare/init.php +5 -5
  643. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-bg_BG.mo +0 -0
  644. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-bg_BG.po +0 -0
  645. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-es_ES.mo +0 -0
  646. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-es_ES.po +0 -0
  647. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fa_IR.mo +0 -0
  648. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fa_IR.po +0 -0
  649. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fr_FR.mo +0 -0
  650. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fr_FR.po +0 -0
  651. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-it_IT.mo +0 -0
  652. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-it_IT.po +0 -0
  653. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-nl_NL.mo +0 -0
  654. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-nl_NL.po +0 -0
  655. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-pt_BR.mo +0 -0
  656. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-pt_BR.po +0 -0
  657. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-ru_RU.mo +0 -0
  658. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-ru_RU.po +0 -0
  659. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sk_SK.mo +0 -0
  660. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sk_SK.po +0 -0
  661. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sl_SI.mo +0 -0
  662. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sl_SI.po +0 -0
  663. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-tr_TR.mo +0 -0
  664. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-tr_TR.po +0 -0
  665. modules/yith-woocommerce-compare/languages/yith-woocommerce-compare.pot +0 -0
  666. modules/yith-woocommerce-compare/plugin-options/general-options.php +0 -0
  667. modules/yith-woocommerce-compare/plugin-options/premium-options.php +0 -0
  668. modules/yith-woocommerce-compare/templates/admin/premium.php +0 -0
  669. modules/yith-woocommerce-compare/templates/compare.php +0 -0
  670. modules/yith-woocommerce-compare/widgets/class.yith-woocompare-widget.php +0 -0
  671. modules/yith-woocommerce-compare/wpml-config.xml +0 -0
  672. modules/yith-woocommerce-eu-vat/assets/css/ywev_admin.css +0 -0
  673. modules/yith-woocommerce-eu-vat/assets/images/01-bg.png +0 -0
  674. modules/yith-woocommerce-eu-vat/assets/images/01-icon.png +0 -0
  675. modules/yith-woocommerce-eu-vat/assets/images/01.png +0 -0
  676. modules/yith-woocommerce-eu-vat/assets/images/02-bg.png +0 -0
  677. modules/yith-woocommerce-eu-vat/assets/images/02-icon.png +0 -0
  678. modules/yith-woocommerce-eu-vat/assets/images/02.png +0 -0
  679. modules/yith-woocommerce-eu-vat/assets/images/03-bg.png +0 -0
  680. modules/yith-woocommerce-eu-vat/assets/images/03-icon.png +0 -0
  681. modules/yith-woocommerce-eu-vat/assets/images/03.png +0 -0
  682. modules/yith-woocommerce-eu-vat/assets/images/04-bg.png +0 -0
  683. modules/yith-woocommerce-eu-vat/assets/images/04-icon.png +0 -0
  684. modules/yith-woocommerce-eu-vat/assets/images/04.png +0 -0
  685. modules/yith-woocommerce-eu-vat/assets/images/upgrade.png +0 -0
  686. modules/yith-woocommerce-eu-vat/assets/images/yith-woocommerce-eu-vat.jpg +0 -0
  687. modules/yith-woocommerce-eu-vat/functions.php +0 -0
  688. modules/yith-woocommerce-eu-vat/init.php +0 -0
  689. modules/yith-woocommerce-eu-vat/languages/yith-woocommerce-eu-vat.pot +0 -0
  690. modules/yith-woocommerce-eu-vat/lib/class.yith-tax-rates.php +0 -0
  691. modules/yith-woocommerce-eu-vat/lib/class.yith-woocommerce-eu-vat.php +0 -0
  692. modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-custom-types.php +0 -0
  693. modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-plugin-fw-loader.php +0 -0
  694. modules/yith-woocommerce-eu-vat/plugin-options/general-options.php +0 -0
  695. modules/yith-woocommerce-eu-vat/plugin-options/premium-landing-options.php +0 -0
  696. modules/yith-woocommerce-eu-vat/plugin-options/tax-options.php +0 -0
  697. modules/yith-woocommerce-eu-vat/templates/admin/eu-vat-tax-list.php +0 -0
  698. modules/yith-woocommerce-eu-vat/templates/admin/eu-vat-tax-report.php +0 -0
  699. modules/yith-woocommerce-eu-vat/templates/admin/premium.php +0 -0
  700. modules/yith-woocommerce-eu-vat/templates/report/class.yith-ywev-report-eu-vat-taxes.php +0 -0
  701. modules/yith-woocommerce-eu-vat/templates/report/yith-html-report-eu-vat.php +0 -0
  702. modules/yith-woocommerce-mailchimp/assets/css/admin/yith-wcmc.css +0 -0
  703. modules/yith-woocommerce-mailchimp/assets/images/01-bg.png +0 -0
  704. modules/yith-woocommerce-mailchimp/assets/images/01-icon.png +0 -0
  705. modules/yith-woocommerce-mailchimp/assets/images/01.png +0 -0
  706. modules/yith-woocommerce-mailchimp/assets/images/02-bg.png +0 -0
  707. modules/yith-woocommerce-mailchimp/assets/images/02-icon.png +0 -0
  708. modules/yith-woocommerce-mailchimp/assets/images/02.png +0 -0
  709. modules/yith-woocommerce-mailchimp/assets/images/03-bg.png +0 -0
  710. modules/yith-woocommerce-mailchimp/assets/images/03-icon.png +0 -0
  711. modules/yith-woocommerce-mailchimp/assets/images/03.png +0 -0
  712. modules/yith-woocommerce-mailchimp/assets/images/04-bg.png +0 -0
  713. modules/yith-woocommerce-mailchimp/assets/images/04-icon.png +0 -0
  714. modules/yith-woocommerce-mailchimp/assets/images/04.png +0 -0
  715. modules/yith-woocommerce-mailchimp/assets/images/05-bg.png +0 -0
  716. modules/yith-woocommerce-mailchimp/assets/images/05-icon.png +0 -0
  717. modules/yith-woocommerce-mailchimp/assets/images/05.png +0 -0
  718. modules/yith-woocommerce-mailchimp/assets/images/06-bg.png +0 -0
  719. modules/yith-woocommerce-mailchimp/assets/images/06-icon.png +0 -0
  720. modules/yith-woocommerce-mailchimp/assets/images/06.png +0 -0
  721. modules/yith-woocommerce-mailchimp/assets/images/07-bg.png +0 -0
  722. modules/yith-woocommerce-mailchimp/assets/images/07-icon.png +0 -0
  723. modules/yith-woocommerce-mailchimp/assets/images/07.png +0 -0
  724. modules/yith-woocommerce-mailchimp/assets/images/08-bg.png +0 -0
  725. modules/yith-woocommerce-mailchimp/assets/images/08-icon.png +0 -0
  726. modules/yith-woocommerce-mailchimp/assets/images/08.png +0 -0
  727. modules/yith-woocommerce-mailchimp/assets/images/upgrade.png +0 -0
  728. modules/yith-woocommerce-mailchimp/assets/images/video-thumb.jpg +0 -0
  729. modules/yith-woocommerce-mailchimp/assets/js/admin/unminified/yith-wcmc.js +0 -0
  730. modules/yith-woocommerce-mailchimp/assets/js/admin/yith-wcmc.min.js +0 -0
  731. modules/yith-woocommerce-mailchimp/includes/class.yith-wcmc-admin.php +0 -0
  732. modules/yith-woocommerce-mailchimp/includes/class.yith-wcmc.php +8 -3
  733. modules/yith-woocommerce-mailchimp/includes/functions.yith-wcmc.php +0 -0
  734. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp.php +0 -0
  735. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Campaigns.php +0 -0
  736. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Conversations.php +0 -0
  737. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Ecomm.php +0 -0
  738. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Exceptions.php +0 -0
  739. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Folders.php +0 -0
  740. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Gallery.php +0 -0
  741. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Goal.php +0 -0
  742. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Helper.php +0 -0
  743. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Lists.php +0 -0
  744. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Mobile.php +0 -0
  745. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Neapolitan.php +0 -0
  746. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Reports.php +0 -0
  747. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Templates.php +0 -0
  748. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Users.php +0 -0
  749. modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Vip.php +0 -0
  750. modules/yith-woocommerce-mailchimp/init.php +3 -3
  751. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-es_ES.mo +0 -0
  752. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-es_ES.po +5 -5
  753. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-it_IT.mo +0 -0
  754. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-it_IT.po +5 -5
  755. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-nl_NL.mo +0 -0
  756. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-nl_NL.po +997 -0
  757. modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp.pot +4 -4
  758. modules/yith-woocommerce-mailchimp/plugin-options/checkout-options.php +0 -0
  759. modules/yith-woocommerce-mailchimp/plugin-options/integration-options.php +0 -0
  760. modules/yith-woocommerce-mailchimp/plugin-options/premium-options.php +0 -0
  761. modules/yith-woocommerce-mailchimp/templates/admin/mailchimp-panel-premium.php +0 -0
  762. modules/yith-woocommerce-mailchimp/templates/admin/types/integration-status.php +0 -0
  763. modules/yith-woocommerce-mailchimp/templates/mailchimp-subscription-checkbox.php +0 -0
  764. modules/yith-woocommerce-mailchimp/uninstall.php +0 -0
  765. modules/yith-woocommerce-mailchimp/wpml-config.xml +0 -0
  766. modules/yith-woocommerce-order-tracking/assets/css/tooltipster.css +0 -0
  767. modules/yith-woocommerce-order-tracking/assets/css/ywot_style.css +6 -0
  768. modules/yith-woocommerce-order-tracking/assets/images/01-bg.png +0 -0
  769. modules/yith-woocommerce-order-tracking/assets/images/01-icon.png +0 -0
  770. modules/yith-woocommerce-order-tracking/assets/images/01.png +0 -0
  771. modules/yith-woocommerce-order-tracking/assets/images/02-bg.png +0 -0
  772. modules/yith-woocommerce-order-tracking/assets/images/02-icon.png +0 -0
  773. modules/yith-woocommerce-order-tracking/assets/images/02.png +0 -0
  774. modules/yith-woocommerce-order-tracking/assets/images/03-bg.png +0 -0
  775. modules/yith-woocommerce-order-tracking/assets/images/03-icon.png +0 -0
  776. modules/yith-woocommerce-order-tracking/assets/images/03.png +0 -0
  777. modules/yith-woocommerce-order-tracking/assets/images/04-bg.png +0 -0
  778. modules/yith-woocommerce-order-tracking/assets/images/04-icon.png +0 -0
  779. modules/yith-woocommerce-order-tracking/assets/images/04.png +0 -0
  780. modules/yith-woocommerce-order-tracking/assets/images/05-bg.png +0 -0
  781. modules/yith-woocommerce-order-tracking/assets/images/05-icon.png +0 -0
  782. modules/yith-woocommerce-order-tracking/assets/images/05.png +0 -0
  783. modules/yith-woocommerce-order-tracking/assets/images/06-bg.png +0 -0
  784. modules/yith-woocommerce-order-tracking/assets/images/06-icon.png +0 -0
  785. modules/yith-woocommerce-order-tracking/assets/images/06.png +0 -0
  786. modules/yith-woocommerce-order-tracking/assets/images/order-picked-up.png +0 -0
  787. modules/yith-woocommerce-order-tracking/assets/images/shipping-icon.jpg +0 -0
  788. modules/yith-woocommerce-order-tracking/assets/images/upgrade.png +0 -0
  789. modules/yith-woocommerce-order-tracking/assets/images/yith-woocommerce-order-tracking-video.jpg +0 -0
  790. modules/yith-woocommerce-order-tracking/assets/js/jquery.tooltipster.min.js +0 -0
  791. modules/yith-woocommerce-order-tracking/assets/js/ywot.js +0 -0
  792. modules/yith-woocommerce-order-tracking/class.yith-woocommerce-order-tracking.php +11 -6
  793. modules/yith-woocommerce-order-tracking/init.php +6 -4
  794. modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking-it_IT.mo +0 -0
  795. modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking-it_IT.po +0 -0
  796. modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking.pot +0 -0
  797. modules/yith-woocommerce-order-tracking/plugin-options/general-options.php +0 -0
  798. modules/yith-woocommerce-order-tracking/plugin-options/premium-landing-options.php +0 -0
  799. modules/yith-woocommerce-order-tracking/templates/admin/premium.php +0 -0
  800. modules/yith-woocommerce-order-tracking/wpml-config.xml +0 -0
  801. modules/yith-woocommerce-product-add-ons/assets/css/color-picker.css +0 -0
  802. modules/yith-woocommerce-product-add-ons/assets/css/color-picker.min.css +0 -0
  803. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-anim_basic_16x16.gif +0 -0
  804. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  805. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  806. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  807. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  808. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  809. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  810. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  811. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  812. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  813. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_222222_256x240.png +0 -0
  814. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_228ef1_256x240.png +0 -0
  815. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_444444_256x240.png +0 -0
  816. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_555555_256x240.png +0 -0
  817. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_777620_256x240.png +0 -0
  818. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_777777_256x240.png +0 -0
  819. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_cc0000_256x240.png +0 -0
  820. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ef8c08_256x240.png +0 -0
  821. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffd27a_256x240.png +0 -0
  822. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffffff_256x240 (1).png +0 -0
  823. modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffffff_256x240.png +0 -0
  824. modules/yith-woocommerce-product-add-ons/assets/css/jquery-ui.min.css +0 -0
  825. modules/yith-woocommerce-product-add-ons/assets/css/yith-wapo-admin.css +0 -0
  826. modules/yith-woocommerce-product-add-ons/assets/css/yith-wapo.css +0 -0
  827. modules/yith-woocommerce-product-add-ons/assets/css/yith-wccl-admin.css +0 -0
  828. modules/yith-woocommerce-product-add-ons/assets/css/yith-wccl.css +0 -0
  829. modules/yith-woocommerce-product-add-ons/assets/img/blank.gif +0 -0
  830. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_background.png +0 -0
  831. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hex.png +0 -0
  832. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_b.png +0 -0
  833. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_h.png +0 -0
  834. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_s.png +0 -0
  835. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_indic.gif +0 -0
  836. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_overlay.png +0 -0
  837. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_b.png +0 -0
  838. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_g.png +0 -0
  839. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_r.png +0 -0
  840. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_select.gif +0 -0
  841. modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_submit.png +0 -0
  842. modules/yith-woocommerce-product-add-ons/assets/img/custom_background.png +0 -0
  843. modules/yith-woocommerce-product-add-ons/assets/img/custom_hex.png +0 -0
  844. modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_b.png +0 -0
  845. modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_h.png +0 -0
  846. modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_s.png +0 -0
  847. modules/yith-woocommerce-product-add-ons/assets/img/custom_indic.gif +0 -0
  848. modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_b.png +0 -0
  849. modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_g.png +0 -0
  850. modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_r.png +0 -0
  851. modules/yith-woocommerce-product-add-ons/assets/img/custom_submit.png +0 -0
  852. modules/yith-woocommerce-product-add-ons/assets/img/description-icon.png +0 -0
  853. modules/yith-woocommerce-product-add-ons/assets/img/placeholder.png +0 -0
  854. modules/yith-woocommerce-product-add-ons/assets/img/select.png +0 -0
  855. modules/yith-woocommerce-product-add-ons/assets/img/select2.png +0 -0
  856. modules/yith-woocommerce-product-add-ons/assets/img/slider.png +0 -0
  857. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01-bg.png +0 -0
  858. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01-icon.png +0 -0
  859. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01.png +0 -0
  860. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02-bg.png +0 -0
  861. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02-icon.png +0 -0
  862. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02.png +0 -0
  863. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03-bg.png +0 -0
  864. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03-icon.png +0 -0
  865. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03.png +0 -0
  866. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04-bg.png +0 -0
  867. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04-icon.png +0 -0
  868. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04.png +0 -0
  869. modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/upgrade.png +0 -0
  870. modules/yith-woocommerce-product-add-ons/assets/js/accounting.js +0 -0
  871. modules/yith-woocommerce-product-add-ons/assets/js/accounting.min.js +0 -0
  872. modules/yith-woocommerce-product-add-ons/assets/js/color-picker.js +0 -0
  873. modules/yith-woocommerce-product-add-ons/assets/js/color-picker.min.js +0 -0
  874. modules/yith-woocommerce-product-add-ons/assets/js/colorpicker.min.js +0 -0
  875. modules/yith-woocommerce-product-add-ons/assets/js/iris.min.js +0 -0
  876. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/external/jquery/jquery.js +0 -0
  877. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_444444_256x240.png +0 -0
  878. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_555555_256x240.png +0 -0
  879. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_777620_256x240.png +0 -0
  880. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_777777_256x240.png +0 -0
  881. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_cc0000_256x240.png +0 -0
  882. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
  883. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.css +0 -0
  884. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.js +0 -0
  885. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.min.css +0 -0
  886. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.min.js +0 -0
  887. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.structure.css +0 -0
  888. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.structure.min.css +0 -0
  889. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.theme.css +0 -0
  890. modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.theme.min.css +0 -0
  891. modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.js +2 -0
  892. modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.min.js +17 -1
  893. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-admin.php +21 -8
  894. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-frontend.php +2 -2
  895. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-group.php +0 -0
  896. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-option.php +0 -0
  897. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-settings.php +0 -0
  898. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-type.php +0 -0
  899. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-wpml.php +0 -0
  900. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo.php +0 -0
  901. modules/yith-woocommerce-product-add-ons/includes/function.yith-wapo-update.php +0 -0
  902. modules/yith-woocommerce-product-add-ons/init.php +5 -3
  903. modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons-it_IT.mo +0 -0
  904. modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons-it_IT.po +0 -0
  905. modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons.pot +0 -0
  906. modules/yith-woocommerce-product-add-ons/plugin-options/general-options.php +0 -0
  907. modules/yith-woocommerce-product-add-ons/plugin-options/premium-options.php +0 -0
  908. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/premium.php +0 -0
  909. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-form-option-type.php +0 -0
  910. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-group.php +0 -0
  911. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-groups.php +0 -0
  912. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-group-container.php +0 -0
  913. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-group-type.php +0 -0
  914. modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-input-base.php +0 -0
  915. modules/yith-woocommerce-product-add-ons/wpml-config.xml +0 -0
  916. modules/yith-woocommerce-product-vendors/assets/css/admin.css +39 -10
  917. modules/yith-woocommerce-product-vendors/assets/images/01-bg.png +0 -0
  918. modules/yith-woocommerce-product-vendors/assets/images/01-icon.png +0 -0
  919. modules/yith-woocommerce-product-vendors/assets/images/01.png +0 -0
  920. modules/yith-woocommerce-product-vendors/assets/images/02-bg.png +0 -0
  921. modules/yith-woocommerce-product-vendors/assets/images/02-icon.png +0 -0
  922. modules/yith-woocommerce-product-vendors/assets/images/02.png +0 -0
  923. modules/yith-woocommerce-product-vendors/assets/images/03-bg.png +0 -0
  924. modules/yith-woocommerce-product-vendors/assets/images/03-icon.png +0 -0
  925. modules/yith-woocommerce-product-vendors/assets/images/03.png +0 -0
  926. modules/yith-woocommerce-product-vendors/assets/images/04-bg.png +0 -0
  927. modules/yith-woocommerce-product-vendors/assets/images/04-icon.png +0 -0
  928. modules/yith-woocommerce-product-vendors/assets/images/04.png +0 -0
  929. modules/yith-woocommerce-product-vendors/assets/images/05-bg.png +0 -0
  930. modules/yith-woocommerce-product-vendors/assets/images/05-icon.png +0 -0
  931. modules/yith-woocommerce-product-vendors/assets/images/05.png +0 -0
  932. modules/yith-woocommerce-product-vendors/assets/images/06-bg.png +0 -0
  933. modules/yith-woocommerce-product-vendors/assets/images/06-icon.png +0 -0
  934. modules/yith-woocommerce-product-vendors/assets/images/06.png +0 -0
  935. modules/yith-woocommerce-product-vendors/assets/images/07-bg.png +0 -0
  936. modules/yith-woocommerce-product-vendors/assets/images/07-icon.png +0 -0
  937. modules/yith-woocommerce-product-vendors/assets/images/07.png +0 -0
  938. modules/yith-woocommerce-product-vendors/assets/images/08-bg.png +0 -0
  939. modules/yith-woocommerce-product-vendors/assets/images/08-icon.png +0 -0
  940. modules/yith-woocommerce-product-vendors/assets/images/08.png +0 -0
  941. modules/yith-woocommerce-product-vendors/assets/images/09-bg.png +0 -0
  942. modules/yith-woocommerce-product-vendors/assets/images/09-icon.png +0 -0
  943. modules/yith-woocommerce-product-vendors/assets/images/09.png +0 -0
  944. modules/yith-woocommerce-product-vendors/assets/images/10-bg.png +0 -0
  945. modules/yith-woocommerce-product-vendors/assets/images/10-icon.png +0 -0
  946. modules/yith-woocommerce-product-vendors/assets/images/10.png +0 -0
  947. modules/yith-woocommerce-product-vendors/assets/images/11-bg.png +0 -0
  948. modules/yith-woocommerce-product-vendors/assets/images/11-icon.png +0 -0
  949. modules/yith-woocommerce-product-vendors/assets/images/11.png +0 -0
  950. modules/yith-woocommerce-product-vendors/assets/images/12-bg.png +0 -0
  951. modules/yith-woocommerce-product-vendors/assets/images/12-icon.png +0 -0
  952. modules/yith-woocommerce-product-vendors/assets/images/12.png +0 -0
  953. modules/yith-woocommerce-product-vendors/assets/images/13-bg.png +0 -0
  954. modules/yith-woocommerce-product-vendors/assets/images/13-icon.png +0 -0
  955. modules/yith-woocommerce-product-vendors/assets/images/13.png +0 -0
  956. modules/yith-woocommerce-product-vendors/assets/images/14-bg.png +0 -0
  957. modules/yith-woocommerce-product-vendors/assets/images/14-icon.png +0 -0
  958. modules/yith-woocommerce-product-vendors/assets/images/14.png +0 -0
  959. modules/yith-woocommerce-product-vendors/assets/images/15-bg.png +0 -0
  960. modules/yith-woocommerce-product-vendors/assets/images/15-icon.png +0 -0
  961. modules/yith-woocommerce-product-vendors/assets/images/15.png +0 -0
  962. modules/yith-woocommerce-product-vendors/assets/images/16-bg.png +0 -0
  963. modules/yith-woocommerce-product-vendors/assets/images/16-icon.png +0 -0
  964. modules/yith-woocommerce-product-vendors/assets/images/16.png +0 -0
  965. modules/yith-woocommerce-product-vendors/assets/images/17-bg.png +0 -0
  966. modules/yith-woocommerce-product-vendors/assets/images/17-icon.png +0 -0
  967. modules/yith-woocommerce-product-vendors/assets/images/17.png +0 -0
  968. modules/yith-woocommerce-product-vendors/assets/images/18-bg.png +0 -0
  969. modules/yith-woocommerce-product-vendors/assets/images/18-icon.png +0 -0
  970. modules/yith-woocommerce-product-vendors/assets/images/18.png +0 -0
  971. modules/yith-woocommerce-product-vendors/assets/images/19-bg.png +0 -0
  972. modules/yith-woocommerce-product-vendors/assets/images/19-icon.png +0 -0
  973. modules/yith-woocommerce-product-vendors/assets/images/19.png +0 -0
  974. modules/yith-woocommerce-product-vendors/assets/images/20-bg.png +0 -0
  975. modules/yith-woocommerce-product-vendors/assets/images/20-icon.png +0 -0
  976. modules/yith-woocommerce-product-vendors/assets/images/20.png +0 -0
  977. modules/yith-woocommerce-product-vendors/assets/images/21-bg.png +0 -0
  978. modules/yith-woocommerce-product-vendors/assets/images/21-icon.png +0 -0
  979. modules/yith-woocommerce-product-vendors/assets/images/21.png +0 -0
  980. modules/yith-woocommerce-product-vendors/assets/images/22-bg.png +0 -0
  981. modules/yith-woocommerce-product-vendors/assets/images/22-icon.png +0 -0
  982. modules/yith-woocommerce-product-vendors/assets/images/22.png +0 -0
  983. modules/yith-woocommerce-product-vendors/assets/images/23-bg.png +0 -0
  984. modules/yith-woocommerce-product-vendors/assets/images/23-icon.png +0 -0
  985. modules/yith-woocommerce-product-vendors/assets/images/23.png +0 -0
  986. modules/yith-woocommerce-product-vendors/assets/images/24-bg.png +0 -0
  987. modules/yith-woocommerce-product-vendors/assets/images/24-icon.png +0 -0
  988. modules/yith-woocommerce-product-vendors/assets/images/24.png +0 -0
  989. modules/yith-woocommerce-product-vendors/assets/images/25-bg.png +0 -0
  990. modules/yith-woocommerce-product-vendors/assets/images/25-icon.png +0 -0
  991. modules/yith-woocommerce-product-vendors/assets/images/25.png +0 -0
  992. modules/yith-woocommerce-product-vendors/assets/images/26-bg.png +0 -0
  993. modules/yith-woocommerce-product-vendors/assets/images/26-icon.png +0 -0
  994. modules/yith-woocommerce-product-vendors/assets/images/26.png +0 -0
  995. modules/yith-woocommerce-product-vendors/assets/images/27.jpg +0 -0
  996. modules/yith-woocommerce-product-vendors/assets/images/28.jpg +0 -0
  997. modules/yith-woocommerce-product-vendors/assets/images/29-bg.png +0 -0
  998. modules/yith-woocommerce-product-vendors/assets/images/29-icon.png +0 -0
  999. modules/yith-woocommerce-product-vendors/assets/images/29.png +0 -0
  1000. modules/yith-woocommerce-product-vendors/assets/images/30-bg.png +0 -0
  1001. modules/yith-woocommerce-product-vendors/assets/images/30-icon.png +0 -0
  1002. modules/yith-woocommerce-product-vendors/assets/images/30.png +0 -0
  1003. modules/yith-woocommerce-product-vendors/assets/images/31-bg.png +0 -0
  1004. modules/yith-woocommerce-product-vendors/assets/images/31-icon.png +0 -0
  1005. modules/yith-woocommerce-product-vendors/assets/images/31.png +0 -0
  1006. modules/yith-woocommerce-product-vendors/assets/images/32-bg.png +0 -0
  1007. modules/yith-woocommerce-product-vendors/assets/images/32-icon.png +0 -0
  1008. modules/yith-woocommerce-product-vendors/assets/images/32.png +0 -0
  1009. modules/yith-woocommerce-product-vendors/assets/images/33-bg.png +0 -0
  1010. modules/yith-woocommerce-product-vendors/assets/images/33-icon.png +0 -0
  1011. modules/yith-woocommerce-product-vendors/assets/images/33.png +0 -0
  1012. modules/yith-woocommerce-product-vendors/assets/images/34-bg.png +0 -0
  1013. modules/yith-woocommerce-product-vendors/assets/images/34-icon.png +0 -0
  1014. modules/yith-woocommerce-product-vendors/assets/images/34.png +0 -0
  1015. modules/yith-woocommerce-product-vendors/assets/images/35-bg.png +0 -0
  1016. modules/yith-woocommerce-product-vendors/assets/images/35-icon.png +0 -0
  1017. modules/yith-woocommerce-product-vendors/assets/images/35.png +0 -0
  1018. modules/yith-woocommerce-product-vendors/assets/images/36-bg.png +0 -0
  1019. modules/yith-woocommerce-product-vendors/assets/images/36-icon.png +0 -0
  1020. modules/yith-woocommerce-product-vendors/assets/images/36.png +0 -0
  1021. modules/yith-woocommerce-product-vendors/assets/images/37-bg.png +0 -0
  1022. modules/yith-woocommerce-product-vendors/assets/images/37-icon.png +0 -0
  1023. modules/yith-woocommerce-product-vendors/assets/images/37.png +0 -0
  1024. modules/yith-woocommerce-product-vendors/assets/images/38-bg.png +0 -0
  1025. modules/yith-woocommerce-product-vendors/assets/images/38-icon.png +0 -0
  1026. modules/yith-woocommerce-product-vendors/assets/images/38.png +0 -0
  1027. modules/yith-woocommerce-product-vendors/assets/images/39-bg.png +0 -0
  1028. modules/yith-woocommerce-product-vendors/assets/images/39-icon.png +0 -0
  1029. modules/yith-woocommerce-product-vendors/assets/images/39.png +0 -0
  1030. modules/yith-woocommerce-product-vendors/assets/images/44-bg.png +0 -0
  1031. modules/yith-woocommerce-product-vendors/assets/images/44-icon.png +0 -0
  1032. modules/yith-woocommerce-product-vendors/assets/images/44.png +0 -0
  1033. modules/yith-woocommerce-product-vendors/assets/images/45-bg.png +0 -0
  1034. modules/yith-woocommerce-product-vendors/assets/images/45-icon.png +0 -0
  1035. modules/yith-woocommerce-product-vendors/assets/images/45.png +0 -0
  1036. modules/yith-woocommerce-product-vendors/assets/images/upgrade.png +0 -0
  1037. modules/yith-woocommerce-product-vendors/assets/images/yith-bg.png +0 -0
  1038. modules/yith-woocommerce-product-vendors/assets/images/yith-icon.png +0 -0
  1039. modules/yith-woocommerce-product-vendors/assets/js/admin.js +10 -7
  1040. modules/yith-woocommerce-product-vendors/assets/js/tax-admin-menu.js +0 -0
  1041. modules/yith-woocommerce-product-vendors/includes/class.yith-commission.php +0 -0
  1042. modules/yith-woocommerce-product-vendors/includes/class.yith-commissions.php +60 -44
  1043. modules/yith-woocommerce-product-vendors/includes/class.yith-orders.php +2362 -2266
  1044. modules/yith-woocommerce-product-vendors/includes/class.yith-vendor.php +42 -21
  1045. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-admin.php +188 -135
  1046. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-frontend.php +3 -1
  1047. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php +19 -1
  1048. modules/yith-woocommerce-product-vendors/includes/functions.yith-update.php +294 -146
  1049. modules/yith-woocommerce-product-vendors/includes/functions.yith-vendors.php +0 -0
  1050. modules/yith-woocommerce-product-vendors/includes/lib/class.yith-commissions-list-table.php +22 -10
  1051. modules/yith-woocommerce-product-vendors/includes/lib/class.yith-walker-category-dropdown.php +1 -1
  1052. modules/yith-woocommerce-product-vendors/includes/widgets/class.yith-woocommerce-vendors-widget.php +0 -0
  1053. modules/yith-woocommerce-product-vendors/init.php +4 -5
  1054. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-es_ES.mo +0 -0
  1055. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-es_ES.po +4360 -0
  1056. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.mo +0 -0
  1057. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.po +585 -215
README.txt CHANGED
@@ -1,411 +1,430 @@
1
- === YITH Essential Kit for WooCommerce #1 ===
2
-
3
- Contributors: yithemes
4
- Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
- Requires at least: 3.5.1
6
- Tested up to: 4.8.3
7
- Stable tag: 1.4.9
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- The YITH Essential Kit for WooCommerce #1 plugin enhance your WordPress site with this group of impressive features for WooCommerce.
12
-
13
- == Description ==
14
-
15
- With YITH Essential Kit for **WooCommerce** #1 you will be free to add new and powerful features to make your e-commerce site unique.<br />
16
-
17
- Activate the plugin you want and start using your site to a new and improved level.<br />
18
-
19
- When you look for a plugin on wordpress.org and you do not know which one best meets your needs, it is difficult to choose the right one.<br />
20
-
21
- And it often happens that when looking for a plugin you find another one that interests you and that might help you solve another problem and so on endlessly until you get lost among a heap of plugins and end up closing your browser page and put your search off to the next day.<br />
22
-
23
- Especially because it is difficult to make them all work well together and not conflict with each other.<br />
24
-
25
- Isn't that true? So, no problem, this is why we have packed a group of our plugins all together: all the main extensions for your site, from wishlist and image zoom to quote requests, multi vendor store and credit card payments.<br />
26
-
27
- You won't need to look for each of them on wordpress.org, you can just download and install **YITH Essential Kit for WooCommerce #1** and choose later to activate the plugins that you really need and deactivate them when you do not need them: and they will always be there, easy to find, certain to work.
28
-
29
- **Plugins Included:**
30
-
31
- Search and product display<br />
32
-
33
- * [YITH WooCommerce Ajax Search](https://wordpress.org/plugins/yith-woocommerce-ajax-search)
34
- <br />Allows your users to search products in real time on WooCommerce shop.
35
-
36
- * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation)
37
- <br />Offers the perfect way to filter all the products of your WooCommerce shop.
38
-
39
- * YITH WooCommerce Color and Label Variations
40
- <br />The best way to offer a complete overview on all options available for your WooComerce products: with one plugin only you can add unlimited
41
-
42
- * [YITH WooCommerce Compare](https://wordpress.org/plugins/yith-woocommerce-compare)
43
- <br />Allows you to compare more products of your WooCommerce shop in one complete table.
44
-
45
- * [YITH WooCommerce Zoom Magnifier](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier)
46
- <br />Add zoom effect to WooCommerce product images and a customizable image slider.
47
-
48
- * [YITH WooCommerce Quick View](https://wordpress.org/plugins/yith-woocommerce-quick-view)
49
- <br />This plugin adds the possibility to have a quick preview of the WooCommerce products right from product list.
50
-
51
- * [YITH Infinite Scrolling](https://wordpress.org/plugins/yith-infinite-scrolling)
52
- <br />Add infinite scrolling to archive post or shop page. Working with WooCommerce too.
53
-
54
- Products<br />
55
-
56
- * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist)
57
- <br />Add all Wishlist features to your website with WooCommerce plugin.
58
-
59
- * [YITH WooCommerce Request A Quote](https://wordpress.org/plugins/yith-woocommerce-request-a-quote)
60
- <br />A Quote plugin lets your customers ask for an estimate of a list of WooCommerce products they are interested into.
61
-
62
- * [YITH WooCommerce Waiting List](https://wordpress.org/plugins/yith-woocommerce-waiting-list)
63
- <br />This plugin enables registered users to request an email notification when an out-of-stock product comes back into stock. It requires WooCommerce to work.
64
-
65
- * [YITH WooCommerce Catalog Mode](https://wordpress.org/plugins/yith-woocommerce-catalog-mode)
66
- <br />A plugin for WooCommerce that disabling sales in your e-commerce and turn it into an e-commerce into an online catalogue.
67
-
68
- * [YITH WooCommerce Badge Management](https://wordpress.org/plugins/yith-woocommerce-badges-management)
69
- <br />Allows you to create and manage custom badges for WooCommerce products.
70
-
71
- * [YITH WooCommerce Advanced Reviews](https://wordpress.org/plugins/yith-woocommerce-advanced-reviews)
72
- <br />Extends the basic functionality of WooCommerce reviews and add a histogram table to the reviews of your products.
73
-
74
- * [YITH WooCommerce Review Reminder](https://wordpress.org/plugins/yith-woocommerce-review-reminder)
75
- <br />Allows you to send a reminder to customers with an invitation to do a review of the items purchased on WooCommerce shop.
76
-
77
- * [YITH WooCommerce Mailchimp](https://wordpress.org/plugins/yith-woocommerce-mailchimp)
78
- <br />Integrate MailChimp into your WooCommerce shop to manage users' subscription directly from your store.
79
-
80
- * [YITH WooCommerce Authorize.net Payment Gateway](https://wordpress.org/plugins/yith-woocommerce-authorizenet-payment-gateway)
81
- <br />Allows your users to pay using the Authorize.net network services. It requires WooCommerce to work.
82
-
83
- * [YITH WooCommerce Stripe](https://wordpress.org/plugins/yith-woocommerce-stripe)
84
- <br />A plugin let you add a new payment gateway based on Stripe.com. It requires WooCommerce to work.
85
-
86
- * [YITH WooCommerce Order Tracking](https://wordpress.org/plugins/yith-woocommerce-order-tracking)
87
- <br />Add an easy tool to manage order shipping information of your WooCommerce shop and to notified your customers about the shipping.
88
-
89
- * [YITH WooCommerce EU VAT](https://wordpress.org/plugins/yith-woocommerce-eu-vat)
90
- <br />Manage correctly your European customers with their own tax laws about digital goods. It requires WooCommerce to work.
91
-
92
- Multi store and live chat<br />
93
-
94
- * [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors)
95
- <br />Is a plugin developed to switch your website into a platform hosting more than one WooCommerce shop, like a multivendor marketplace.
96
-
97
- * [YITH Live Chat](https://wordpress.org/plugins/yith-live-chat)
98
- <br />An exceptional plugin to make your clients feel comfortable as in a physical shop. Ask for information and get immediate feedback. WooCommerce compatible.
99
-
100
- * [YITH WooCommerce Tab Manager](https://wordpress.org/plugins/yith-woocommerce-tab-manager)
101
- <br />Manager plugin let you add custom tabs in WooCommerce single product page
102
-
103
- * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages)
104
- <br />A plugin for WooCommerce let you add custom messages in the cart page and/or in the checkout page.
105
-
106
- * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons)
107
- <br />Increase average order value by letting your customers purchase additional options on your products.
108
-
109
-
110
- == Screenshots ==
111
- 1. Admin: plugins list
112
- 2. YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 2.3.x compatible.
113
- 3. YITH WooCommerce Zoom Magnifier add zoom effect to product images and a customizable image slider.
114
- 4. YITH WooCommerce Compare allows you to compare more products of your shop in one complete table. WooCommerce Compatible up to 2.4.x
115
- 5. YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
116
- 6. YITH WooCommerce Ajax Search allows your users to search products in real time.
117
- 7. YITH WooCommerce Advanced Reviews extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-
118
- 8. YITH WooCommerce Order Tracking add an easy tool to manage order shipping information of your shop and to notified your customers about the shipping.
119
- 9. YITH WooCommerce Catalog Mode, a plugin for disabling sales in your e-commerce and turn it into an e-commerce into an online catalogue.
120
- 10. YITH Authorize.net allows your users to pay using the Authorize.net network services. It requires WooCommerce to work. WooCommerce 2.3.x compatible.
121
- 11. YITH Woocommerce Cart Messages plugin let you add custom messages in the cart page and/or in the checkout page.
122
- 12. YITH WooCommerce Stripe plugin let you add a new payment gateway based on Stripe.com
123
- 13. YITH Woocommerce Request A Quote plugin lets your customers ask for an estimate of a list of products they are interested into.
124
- 14. YITH WooCommerce Review Reminder allows you to send a reminder to customers with an invitation to do a review of the items purchased.
125
- 15. YITH WooCommerce Quick View adds the possibility to have a quick preview of the products right from product list
126
- 16. YITH WooCommerce Multi Vendor is a plugin developed to switch your website into a platform hosting more than one shop, like a multivendor marketplace.
127
- 17. YITH Live Chat, an exceptional plugin to make your clients feel comfortable as in a physical shop. Ask for information and get immediate feedback
128
- 18. YITH Infinite Scrolling add infinite scrolling to archive post or shop page.
129
- 19. YITH WooCommerce Badge Management allows you to create and manage custom badges for products.
130
- 20. YITH WooCommerce Tab Manager plugin let you add custom tabs in single product page
131
- 21. YITH WooCommerce Mailchimp integrate MailChimp into your e-commerce shop to manage users' subscription directly from your store. WooCommerce 2.3.x compatible.
132
- 22. YITH WooCommerce Waiting List enables registered users to request an email notification when an out-of-stock product comes back into stock.
133
- 23. YITH WooCommerce EU VAT manage correctly your European customers with their own tax laws about digital goods.
134
- 24. YITH WooCommerce Product Add-Ons in "Single Prodcut" page
135
-
136
- == Frequently Asked Questions ==
137
-
138
- = Will all installed plugins make my WordPress site slower ? =
139
-
140
- Of course not, what makes your site heavier is the activation of many plugins at the same time, especially those which you do not use regularly. So, activate only the plugins you use regularly. On the contrary, installing YITH Essential Kit #1 makes your WordPress dashboard less confusing and your back end work easier.
141
-
142
- = How can I get additional features for each of the plugins installed with YITH Essential Kit #1 ? =
143
-
144
- You can get additional features of the plugins installed with the premium version of each of them, that you can get by clicking the button "Buy Premium Version" and that takes you to yithemes.com where you can purchase them and discover other products and offers from YITH.
145
-
146
- == Installation ==
147
-
148
- 1. Unzip the downloaded zip file.
149
- 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
150
- 3. Activate `YITH Essential Kit for WooCommerce #1` from Plugins page
151
-
152
- = Configuration =
153
-
154
- YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essential Kit for WooCommerce #1" under "YIT Plugins" menu. Here you are able to activate/deactivate all the plugins within.
155
-
156
- == Changelog ==
157
-
158
- = 1.4.9 =
159
- * Update: YITH Plugin Framework
160
- * Update: All Modules are now updated to the latest version available
161
- * Add: support to WooCommerce 3.2.x
162
-
163
- = 1.4.8 =
164
- * Update: YITH Plugin Framework
165
- * Update: YITH WooCommerce Ajax Product Filter module
166
- * Update: YITH WooCommerce Advanced Reviews module
167
- * Update: YITH WooCommerce Ajax Search module
168
- * Update: YITH WooCommerce Cart Message module
169
- * Update: YITH WooCommerce Multi Vendor module
170
- * Update: YITH WooCommerce Review Reminder module
171
-
172
- = 1.4.7 =
173
- * Update: YITH WooCommerce Multi Vendor module
174
- * Update: YITH WooCommerce Mailchimp module
175
- * Update: YITH WooCommerce Ajax Product Filter module
176
- * Update: all other YITH plugins to latest available versions
177
-
178
- = 1.4.6 =
179
- * Fix: Notice on YITH WooCommerce Ajax Search module
180
-
181
- = 1.4.5 =
182
- * New: Modules update to latest versions
183
-
184
- = 1.4.4 =
185
-
186
- * New: Modules update
187
-
188
- = 1.4.3 =
189
-
190
- * Fix: YITH WooCommerce Ajax Search warnings
191
-
192
- = 1.4.2 =
193
-
194
- * Fix: Added missing files
195
-
196
- = 1.4.1 =
197
-
198
- * Fix: Added missing files
199
-
200
- = 1.4.0 =
201
-
202
- * Added: WooCommerce 3.0 support
203
- * Updated: All YITH plugins to latest version
204
-
205
- = 1.3.8 =
206
-
207
- * Tweak: Update plugin core framework
208
-
209
- = 1.3.7 =
210
-
211
- * Fixed: Prevent plugin framework not loaded
212
-
213
- = 1.3.6 =
214
-
215
- * Fixed: fatal error after update 1.3.5 with some configuration
216
-
217
- = 1.3.5 =
218
-
219
- * Added: WordPress 4.7 support
220
- * Updated: All YITH plugins to latest version
221
-
222
- = 1.3.4 =
223
-
224
- * Updated: All YITH plugins to latest version
225
-
226
- = 1.3.3 =
227
-
228
- * Updated: YITH WooCommerce Ajax Navigation to 3.0.8 version
229
-
230
- = 1.3.2 =
231
-
232
- * Updated: YITH WooCommerce Ajax Navigation to 3.0.6 version
233
-
234
- = 1.3.1 =
235
-
236
- * Updated: All YITH plugins to latest version
237
-
238
- = 1.3.0 =
239
-
240
- * Updated: All YITH plugins to latest version for WooCommerce 2.6 compatibility
241
-
242
- = 1.2.7 =
243
-
244
- * Added: YITH WooCommerce Product Add-Ons
245
- * Updated: All YITH plugins to latest version
246
-
247
- = 1.2.6 =
248
-
249
- * Added: WordPress 4.5.2 support
250
-
251
- = 1.2.5 =
252
-
253
- * Fixed: YITH WooCommerce Waiting List issue
254
-
255
- = 1.2.4 =
256
-
257
- * Fixed: YITH WooCommerce Order Tracking issue
258
-
259
- = 1.2.3 =
260
-
261
- * Updated: All YITH plugins to latest version
262
-
263
- = 1.2.2 =
264
-
265
- * Fixed: Xml error on panel sidebar
266
-
267
- = 1.2.1 =
268
-
269
- * Updated: All YITH plugins to latest version
270
-
271
- = 1.2.0 =
272
-
273
- * Updated: All YITH plugins to latest version
274
-
275
- = 1.1.20 =
276
-
277
- * Fixed: YITH WooCommerce Review Reminder error
278
-
279
- = 1.1.19 =
280
-
281
- * Updated: YITH WooCommerce Ajax Product Filter
282
- * Updated: YITH WooCommerce Review Reminder
283
- * Updated: YITH WooCommerce Multi Vendor
284
-
285
- = 1.1.18 =
286
-
287
- * Updated: All YITH plugins to latest version
288
-
289
- = 1.1.17 =
290
-
291
- * Fixed: YITH WooCommerce Zoom Magnifier error
292
-
293
- = 1.1.16 =
294
-
295
- * Updated: All YITH plugins to latest version
296
-
297
- = 1.1.15 =
298
-
299
- * Updated: YITH WooCommerce Multi Vendor
300
-
301
- = 1.1.14 =
302
-
303
- * Fixed: Minor Bugs
304
-
305
- = 1.1.13 =
306
-
307
- * Updated: YITH WooCommerce Multi Vendor
308
-
309
- = 1.1.12 =
310
-
311
- * Fixed: YITH WooCommerce Authorized Net issue
312
-
313
- = 1.1.11 =
314
-
315
- * Fixed: YIT panel script not enqueue in admin
316
-
317
- = 1.1.10 =
318
-
319
- * Fixed: Prevent framework error
320
-
321
- = 1.1.9 =
322
-
323
- * Added: WordPress 4.4 support
324
-
325
- = 1.1.8 =
326
-
327
- * Updated: All YITH plugins to latest version
328
-
329
- = 1.1.7 =
330
-
331
- * Fixed: Prevent warning
332
-
333
- = 1.1.6 =
334
-
335
- * Updated: All YITH plugins to latest version
336
-
337
- = 1.1.5 =
338
-
339
- * Fixed: YITH WooCommerce Ajax Navigation issue
340
-
341
- = 1.1.4 =
342
-
343
- * Updated: All YITH plugins to latest version
344
- * Fixed: Theme compatibility
345
-
346
- = 1.1.3 =
347
-
348
- * Updated: YITH WooCommerce Ajax Product Filter
349
- * Updated: YITH WooCommerce Catalog Mode
350
- * Updated: YITH WooCommerce Zoom Magnifier
351
- * Fixed: Text Domain changed from 'yith-jetpack' to 'yith-essential-kit-for-woocommerce-1' for .po files
352
-
353
- = 1.1.2 =
354
-
355
- * Updated: YITH WooCommerce Zoom Magnifier
356
-
357
- = 1.1.1 =
358
-
359
- * Fixed: Permission issue on plugins list
360
-
361
- = 1.1.0 =
362
-
363
- * Added: Filter to allow themes to set plugins a "Recommended", the filter is called 'yith_jetpack_recommended_list'
364
- * Updated: All YITH plugins to latest version
365
-
366
- = 1.0.9 =
367
-
368
- * Fixed: target attribute on premium link
369
-
370
- = 1.0.8 =
371
-
372
- * Updated: All YITH plugins to latest version
373
-
374
- = 1.0.7 =
375
-
376
- * Updated: YITH WooCommerce Badge Mangement
377
- * Updated: YITH WooCommerce Color and Label Variations
378
- * Updated: YITH WooCommerce Compare
379
- * Updated: YITH WooCommerce Quick View
380
-
381
- = 1.0.6 =
382
-
383
- * Updated: YITH WooCommerce Color and Label Variations
384
-
385
- = 1.0.5 =
386
-
387
- * Fixed: theme compatibility
388
-
389
- = 1.0.4 =
390
-
391
- * Fixed: Prevent warning
392
-
393
- = 1.0.3 =
394
-
395
- * Added: Wordpress 4.3 compatibility
396
-
397
- = 1.0.2 =
398
-
399
- * Fixed: mixed bugs
400
-
401
- = 1.0.1 =
402
-
403
- * Added: YITH WooCommerce Badge Management
404
-
405
- = 1.0.0 =
406
-
407
- * Initial release
408
-
409
- == Upgrade Notice ==
410
-
411
- Last Stable Tag 1.3.7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === YITH Essential Kit for WooCommerce #1 ===
2
+
3
+ Contributors: yithemes
4
+ Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
+ Requires at least: 3.5.1
6
+ Tested up to: 4.9.4
7
+ Stable tag: 1.6.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ The YITH Essential Kit for WooCommerce #1 plugin enhance your WordPress site with this group of impressive features for WooCommerce.
12
+
13
+ == Description ==
14
+
15
+ With YITH Essential Kit for **WooCommerce** #1 you will be free to add new and powerful features to make your e-commerce site unique.<br />
16
+
17
+ Activate the plugin you want and start using your site to a new and improved level.<br />
18
+
19
+ When you look for a plugin on wordpress.org and you do not know which one best meets your needs, it is difficult to choose the right one.<br />
20
+
21
+ And it often happens that when looking for a plugin you find another one that interests you and that might help you solve another problem and so on endlessly until you get lost among a heap of plugins and end up closing your browser page and put your search off to the next day.<br />
22
+
23
+ Especially because it is difficult to make them all work well together and not conflict with each other.<br />
24
+
25
+ Isn't that true? So, no problem, this is why we have packed a group of our plugins all together: all the main extensions for your site, from wishlist and image zoom to quote requests, multi vendor store and credit card payments.<br />
26
+
27
+ You won't need to look for each of them on wordpress.org, you can just download and install **YITH Essential Kit for WooCommerce #1** and choose later to activate the plugins that you really need and deactivate them when you do not need them: and they will always be there, easy to find, certain to work.
28
+
29
+ **Plugins Included:**
30
+
31
+ Search and product display<br />
32
+
33
+ * [YITH WooCommerce Ajax Search](https://wordpress.org/plugins/yith-woocommerce-ajax-search)
34
+ <br />Allows your users to search products in real time on WooCommerce shop.
35
+
36
+ * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation)
37
+ <br />Offers the perfect way to filter all the products of your WooCommerce shop.
38
+
39
+ * YITH WooCommerce Color and Label Variations
40
+ <br />The best way to offer a complete overview on all options available for your WooComerce products: with one plugin only you can add unlimited
41
+
42
+ * [YITH WooCommerce Compare](https://wordpress.org/plugins/yith-woocommerce-compare)
43
+ <br />Allows you to compare more products of your WooCommerce shop in one complete table.
44
+
45
+ * [YITH WooCommerce Zoom Magnifier](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier)
46
+ <br />Add zoom effect to WooCommerce product images and a customizable image slider.
47
+
48
+ * [YITH WooCommerce Quick View](https://wordpress.org/plugins/yith-woocommerce-quick-view)
49
+ <br />This plugin adds the possibility to have a quick preview of the WooCommerce products right from product list.
50
+
51
+ * [YITH Infinite Scrolling](https://wordpress.org/plugins/yith-infinite-scrolling)
52
+ <br />Add infinite scrolling to archive post or shop page. Working with WooCommerce too.
53
+
54
+ Products<br />
55
+
56
+ * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist)
57
+ <br />Add all Wishlist features to your website with WooCommerce plugin.
58
+
59
+ * [YITH WooCommerce Request A Quote](https://wordpress.org/plugins/yith-woocommerce-request-a-quote)
60
+ <br />A Quote plugin lets your customers ask for an estimate of a list of WooCommerce products they are interested into.
61
+
62
+ * [YITH WooCommerce Waiting List](https://wordpress.org/plugins/yith-woocommerce-waiting-list)
63
+ <br />This plugin enables registered users to request an email notification when an out-of-stock product comes back into stock. It requires WooCommerce to work.
64
+
65
+ * [YITH WooCommerce Catalog Mode](https://wordpress.org/plugins/yith-woocommerce-catalog-mode)
66
+ <br />A plugin for WooCommerce that disabling sales in your e-commerce and turn it into an e-commerce into an online catalogue.
67
+
68
+ * [YITH WooCommerce Badge Management](https://wordpress.org/plugins/yith-woocommerce-badges-management)
69
+ <br />Allows you to create and manage custom badges for WooCommerce products.
70
+
71
+ * [YITH WooCommerce Advanced Reviews](https://wordpress.org/plugins/yith-woocommerce-advanced-reviews)
72
+ <br />Extends the basic functionality of WooCommerce reviews and add a histogram table to the reviews of your products.
73
+
74
+ * [YITH WooCommerce Review Reminder](https://wordpress.org/plugins/yith-woocommerce-review-reminder)
75
+ <br />Allows you to send a reminder to customers with an invitation to do a review of the items purchased on WooCommerce shop.
76
+
77
+ * [YITH WooCommerce Mailchimp](https://wordpress.org/plugins/yith-woocommerce-mailchimp)
78
+ <br />Integrate MailChimp into your WooCommerce shop to manage users' subscription directly from your store.
79
+
80
+ * [YITH WooCommerce Authorize.net Payment Gateway](https://wordpress.org/plugins/yith-woocommerce-authorizenet-payment-gateway)
81
+ <br />Allows your users to pay using the Authorize.net network services. It requires WooCommerce to work.
82
+
83
+ * [YITH WooCommerce Stripe](https://wordpress.org/plugins/yith-woocommerce-stripe)
84
+ <br />A plugin let you add a new payment gateway based on Stripe.com. It requires WooCommerce to work.
85
+
86
+ * [YITH WooCommerce Order Tracking](https://wordpress.org/plugins/yith-woocommerce-order-tracking)
87
+ <br />Add an easy tool to manage order shipping information of your WooCommerce shop and to notified your customers about the shipping.
88
+
89
+ * [YITH WooCommerce EU VAT](https://wordpress.org/plugins/yith-woocommerce-eu-vat)
90
+ <br />Manage correctly your European customers with their own tax laws about digital goods. It requires WooCommerce to work.
91
+
92
+ Multi store and live chat<br />
93
+
94
+ * [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors)
95
+ <br />Is a plugin developed to switch your website into a platform hosting more than one WooCommerce shop, like a multivendor marketplace.
96
+
97
+ * [YITH Live Chat](https://wordpress.org/plugins/yith-live-chat)
98
+ <br />An exceptional plugin to make your clients feel comfortable as in a physical shop. Ask for information and get immediate feedback. WooCommerce compatible.
99
+
100
+ * [YITH WooCommerce Tab Manager](https://wordpress.org/plugins/yith-woocommerce-tab-manager)
101
+ <br />Manager plugin let you add custom tabs in WooCommerce single product page
102
+
103
+ * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages)
104
+ <br />A plugin for WooCommerce let you add custom messages in the cart page and/or in the checkout page.
105
+
106
+ * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons)
107
+ <br />Increase average order value by letting your customers purchase additional options on your products.
108
+
109
+
110
+ == Screenshots ==
111
+ 1. Admin: plugins list
112
+ 2. YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 2.3.x compatible.
113
+ 3. YITH WooCommerce Zoom Magnifier add zoom effect to product images and a customizable image slider.
114
+ 4. YITH WooCommerce Compare allows you to compare more products of your shop in one complete table. WooCommerce Compatible up to 2.4.x
115
+ 5. YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
116
+ 6. YITH WooCommerce Ajax Search allows your users to search products in real time.
117
+ 7. YITH WooCommerce Advanced Reviews extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-
118
+ 8. YITH WooCommerce Order Tracking add an easy tool to manage order shipping information of your shop and to notified your customers about the shipping.
119
+ 9. YITH WooCommerce Catalog Mode, a plugin for disabling sales in your e-commerce and turn it into an e-commerce into an online catalogue.
120
+ 10. YITH Authorize.net allows your users to pay using the Authorize.net network services. It requires WooCommerce to work. WooCommerce 2.3.x compatible.
121
+ 11. YITH Woocommerce Cart Messages plugin let you add custom messages in the cart page and/or in the checkout page.
122
+ 12. YITH WooCommerce Stripe plugin let you add a new payment gateway based on Stripe.com
123
+ 13. YITH Woocommerce Request A Quote plugin lets your customers ask for an estimate of a list of products they are interested into.
124
+ 14. YITH WooCommerce Review Reminder allows you to send a reminder to customers with an invitation to do a review of the items purchased.
125
+ 15. YITH WooCommerce Quick View adds the possibility to have a quick preview of the products right from product list
126
+ 16. YITH WooCommerce Multi Vendor is a plugin developed to switch your website into a platform hosting more than one shop, like a multivendor marketplace.
127
+ 17. YITH Live Chat, an exceptional plugin to make your clients feel comfortable as in a physical shop. Ask for information and get immediate feedback
128
+ 18. YITH Infinite Scrolling add infinite scrolling to archive post or shop page.
129
+ 19. YITH WooCommerce Badge Management allows you to create and manage custom badges for products.
130
+ 20. YITH WooCommerce Tab Manager plugin let you add custom tabs in single product page
131
+ 21. YITH WooCommerce Mailchimp integrate MailChimp into your e-commerce shop to manage users' subscription directly from your store. WooCommerce 2.3.x compatible.
132
+ 22. YITH WooCommerce Waiting List enables registered users to request an email notification when an out-of-stock product comes back into stock.
133
+ 23. YITH WooCommerce EU VAT manage correctly your European customers with their own tax laws about digital goods.
134
+ 24. YITH WooCommerce Product Add-Ons in "Single Prodcut" page
135
+
136
+ == Frequently Asked Questions ==
137
+
138
+ = Will all installed plugins make my WordPress site slower ? =
139
+
140
+ Of course not, what makes your site heavier is the activation of many plugins at the same time, especially those which you do not use regularly. So, activate only the plugins you use regularly. On the contrary, installing YITH Essential Kit #1 makes your WordPress dashboard less confusing and your back end work easier.
141
+
142
+ = How can I get additional features for each of the plugins installed with YITH Essential Kit #1 ? =
143
+
144
+ You can get additional features of the plugins installed with the premium version of each of them, that you can get by clicking the button "Buy Premium Version" and that takes you to yithemes.com where you can purchase them and discover other products and offers from YITH.
145
+
146
+ == Installation ==
147
+
148
+ 1. Unzip the downloaded zip file.
149
+ 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
150
+ 3. Activate `YITH Essential Kit for WooCommerce #1` from Plugins page
151
+
152
+ = Configuration =
153
+
154
+ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essential Kit for WooCommerce #1" under "YIT Plugins" menu. Here you are able to activate/deactivate all the plugins within.
155
+
156
+ == Changelog ==
157
+
158
+ = 1.6.0 =
159
+ * Update: YITH Plugin Framework
160
+ * Update: All YITH modules at latest available versions
161
+ * New: Support to WordPress 4.9.4
162
+ * New: Support to WooCommerce 3.3.4
163
+
164
+ = 1.5.1 =
165
+ * Update: YITH Plugin Framework
166
+ * Update: YITH WooCommerce Wishlist module
167
+ * Update: YITH WooCommerce Order Tracking module
168
+ * Update: YITH WooCommerce Stripe module
169
+ * New: Support to WordPress 4.9.1
170
+
171
+ = 1.5.0 =
172
+ * Update: YITH Plugin Framework
173
+ * Update: All Modules are now updated to the latest version available
174
+ * Tweak: Performance improvements thanks to new Plugin Framework
175
+ * Tweak: Optimized options style
176
+
177
+ = 1.4.9 =
178
+ * Update: YITH Plugin Framework
179
+ * Update: All Modules are now updated to the latest version available
180
+ * Add: support to WooCommerce 3.1.x
181
+
182
+ = 1.4.8 =
183
+ * Update: YITH Plugin Framework
184
+ * Update: YITH WooCommerce Ajax Product Filter module
185
+ * Update: YITH WooCommerce Advanced Reviews module
186
+ * Update: YITH WooCommerce Ajax Search module
187
+ * Update: YITH WooCommerce Cart Message module
188
+ * Update: YITH WooCommerce Multi Vendor module
189
+ * Update: YITH WooCommerce Review Reminder module
190
+
191
+ = 1.4.7 =
192
+ * Update: YITH WooCommerce Multi Vendor module
193
+ * Update: YITH WooCommerce Mailchimp module
194
+ * Update: YITH WooCommerce Ajax Product Filter module
195
+ * Update: all other YITH plugins to latest available versions
196
+
197
+ = 1.4.6 =
198
+ * Fix: Notice on YITH WooCommerce Ajax Search module
199
+
200
+ = 1.4.5 =
201
+ * New: Modules update to latest versions
202
+
203
+ = 1.4.4 =
204
+
205
+ * New: Modules update
206
+
207
+ = 1.4.3 =
208
+
209
+ * Fix: YITH WooCommerce Ajax Search warnings
210
+
211
+ = 1.4.2 =
212
+
213
+ * Fix: Added missing files
214
+
215
+ = 1.4.1 =
216
+
217
+ * Fix: Added missing files
218
+
219
+ = 1.4.0 =
220
+
221
+ * Added: WooCommerce 3.0 support
222
+ * Updated: All YITH plugins to latest version
223
+
224
+ = 1.3.8 =
225
+
226
+ * Tweak: Update plugin core framework
227
+
228
+ = 1.3.7 =
229
+
230
+ * Fixed: Prevent plugin framework not loaded
231
+
232
+ = 1.3.6 =
233
+
234
+ * Fixed: fatal error after update 1.3.5 with some configuration
235
+
236
+ = 1.3.5 =
237
+
238
+ * Added: WordPress 4.7 support
239
+ * Updated: All YITH plugins to latest version
240
+
241
+ = 1.3.4 =
242
+
243
+ * Updated: All YITH plugins to latest version
244
+
245
+ = 1.3.3 =
246
+
247
+ * Updated: YITH WooCommerce Ajax Navigation to 3.0.8 version
248
+
249
+ = 1.3.2 =
250
+
251
+ * Updated: YITH WooCommerce Ajax Navigation to 3.0.6 version
252
+
253
+ = 1.3.1 =
254
+
255
+ * Updated: All YITH plugins to latest version
256
+
257
+ = 1.3.0 =
258
+
259
+ * Updated: All YITH plugins to latest version for WooCommerce 2.6 compatibility
260
+
261
+ = 1.2.7 =
262
+
263
+ * Added: YITH WooCommerce Product Add-Ons
264
+ * Updated: All YITH plugins to latest version
265
+
266
+ = 1.2.6 =
267
+
268
+ * Added: WordPress 4.5.2 support
269
+
270
+ = 1.2.5 =
271
+
272
+ * Fixed: YITH WooCommerce Waiting List issue
273
+
274
+ = 1.2.4 =
275
+
276
+ * Fixed: YITH WooCommerce Order Tracking issue
277
+
278
+ = 1.2.3 =
279
+
280
+ * Updated: All YITH plugins to latest version
281
+
282
+ = 1.2.2 =
283
+
284
+ * Fixed: Xml error on panel sidebar
285
+
286
+ = 1.2.1 =
287
+
288
+ * Updated: All YITH plugins to latest version
289
+
290
+ = 1.2.0 =
291
+
292
+ * Updated: All YITH plugins to latest version
293
+
294
+ = 1.1.20 =
295
+
296
+ * Fixed: YITH WooCommerce Review Reminder error
297
+
298
+ = 1.1.19 =
299
+
300
+ * Updated: YITH WooCommerce Ajax Product Filter
301
+ * Updated: YITH WooCommerce Review Reminder
302
+ * Updated: YITH WooCommerce Multi Vendor
303
+
304
+ = 1.1.18 =
305
+
306
+ * Updated: All YITH plugins to latest version
307
+
308
+ = 1.1.17 =
309
+
310
+ * Fixed: YITH WooCommerce Zoom Magnifier error
311
+
312
+ = 1.1.16 =
313
+
314
+ * Updated: All YITH plugins to latest version
315
+
316
+ = 1.1.15 =
317
+
318
+ * Updated: YITH WooCommerce Multi Vendor
319
+
320
+ = 1.1.14 =
321
+
322
+ * Fixed: Minor Bugs
323
+
324
+ = 1.1.13 =
325
+
326
+ * Updated: YITH WooCommerce Multi Vendor
327
+
328
+ = 1.1.12 =
329
+
330
+ * Fixed: YITH WooCommerce Authorized Net issue
331
+
332
+ = 1.1.11 =
333
+
334
+ * Fixed: YIT panel script not enqueue in admin
335
+
336
+ = 1.1.10 =
337
+
338
+ * Fixed: Prevent framework error
339
+
340
+ = 1.1.9 =
341
+
342
+ * Added: WordPress 4.4 support
343
+
344
+ = 1.1.8 =
345
+
346
+ * Updated: All YITH plugins to latest version
347
+
348
+ = 1.1.7 =
349
+
350
+ * Fixed: Prevent warning
351
+
352
+ = 1.1.6 =
353
+
354
+ * Updated: All YITH plugins to latest version
355
+
356
+ = 1.1.5 =
357
+
358
+ * Fixed: YITH WooCommerce Ajax Navigation issue
359
+
360
+ = 1.1.4 =
361
+
362
+ * Updated: All YITH plugins to latest version
363
+ * Fixed: Theme compatibility
364
+
365
+ = 1.1.3 =
366
+
367
+ * Updated: YITH WooCommerce Ajax Product Filter
368
+ * Updated: YITH WooCommerce Catalog Mode
369
+ * Updated: YITH WooCommerce Zoom Magnifier
370
+ * Fixed: Text Domain changed from 'yith-jetpack' to 'yith-essential-kit-for-woocommerce-1' for .po files
371
+
372
+ = 1.1.2 =
373
+
374
+ * Updated: YITH WooCommerce Zoom Magnifier
375
+
376
+ = 1.1.1 =
377
+
378
+ * Fixed: Permission issue on plugins list
379
+
380
+ = 1.1.0 =
381
+
382
+ * Added: Filter to allow themes to set plugins a "Recommended", the filter is called 'yith_jetpack_recommended_list'
383
+ * Updated: All YITH plugins to latest version
384
+
385
+ = 1.0.9 =
386
+
387
+ * Fixed: target attribute on premium link
388
+
389
+ = 1.0.8 =
390
+
391
+ * Updated: All YITH plugins to latest version
392
+
393
+ = 1.0.7 =
394
+
395
+ * Updated: YITH WooCommerce Badge Mangement
396
+ * Updated: YITH WooCommerce Color and Label Variations
397
+ * Updated: YITH WooCommerce Compare
398
+ * Updated: YITH WooCommerce Quick View
399
+
400
+ = 1.0.6 =
401
+
402
+ * Updated: YITH WooCommerce Color and Label Variations
403
+
404
+ = 1.0.5 =
405
+
406
+ * Fixed: theme compatibility
407
+
408
+ = 1.0.4 =
409
+
410
+ * Fixed: Prevent warning
411
+
412
+ = 1.0.3 =
413
+
414
+ * Added: Wordpress 4.3 compatibility
415
+
416
+ = 1.0.2 =
417
+
418
+ * Fixed: mixed bugs
419
+
420
+ = 1.0.1 =
421
+
422
+ * Added: YITH WooCommerce Badge Management
423
+
424
+ = 1.0.0 =
425
+
426
+ * Initial release
427
+
428
+ == Upgrade Notice ==
429
+
430
+ Last Stable Tag 1.3.7
assets/css/list-layout.css CHANGED
File without changes
assets/images/badge-new.png CHANGED
File without changes
assets/images/badge-recommended.png CHANGED
File without changes
assets/images/cart.png CHANGED
File without changes
assets/images/crown.png CHANGED
File without changes
assets/images/placeholder_plugin.png CHANGED
File without changes
assets/images/plugins/yith-woocommerce-colors-labels-variations.jpg CHANGED
File without changes
assets/images/yithemes-icon.png CHANGED
File without changes
init.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /*
3
- Plugin Name: YITH Essential Kit for WooCommerce #1
4
- Plugin URI: https://wordpress.org/plugins/yith-essential-kit-for-woocommerce-1/
5
- Description: With YITH Essential Kit for WooCommerce #1 you will be free to add new and powerful features to make your e-commerce site unique. Activate the plugin you want and start using your site to a new and improved level.
6
- Text Domain: yith-essential-kit-for-woocommerce-1
7
- Domain Path: /languages/
8
- Author: YIThemes
9
- Author URI: http://yithemes.com/
10
- Version: 1.4.9
11
- */
12
-
13
- if ( ! defined( 'ABSPATH' ) ) {
14
- exit;
15
- } // Exit if accessed directly
16
-
17
- if ( ! function_exists( 'is_plugin_active' ) ) {
18
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
19
- }
20
-
21
- if ( ! defined( 'YJP_DIR' ) ) {
22
- define( 'YJP_DIR', plugin_dir_path( __FILE__ ) );
23
- }
24
-
25
- if ( ! defined( 'YJP_URL' ) ) {
26
- define( 'YJP_URL', plugins_url( '/', __FILE__ ) );
27
- }
28
-
29
- if ( ! defined( 'YJP_ASSETS_URL' ) ) {
30
- define( 'YJP_ASSETS_URL', YJP_URL . 'assets' );
31
- }
32
-
33
- if ( ! defined( 'YJP_TEMPLATE_PATH' ) ) {
34
- define( 'YJP_TEMPLATE_PATH', YJP_DIR . 'templates' );
35
- }
36
-
37
- if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
38
- require_once 'plugin-fw/yit-plugin-registration-hook.php';
39
- }
40
- register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
41
-
42
- /* Plugin Framework Version Check */
43
- ! function_exists( 'yit_maybe_plugin_fw_loader' ) && require_once( 'plugin-fw/init.php' );
44
- yit_maybe_plugin_fw_loader( dirname( __FILE__ ) );
45
-
46
- /**
47
- * Check if a jetpack module is currently active and try disabling before activating this one
48
- */
49
- if ( ! function_exists( 'yith_deactive_jetpack_module' ) ) {
50
- require_once 'yith-deactive-module.php';
51
- }
52
-
53
- load_plugin_textdomain( 'yith-essential-kit-for-woocommerce-1', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
54
-
55
- require_once( YJP_DIR. 'yith-jetpack.php' );
56
-
57
- global $yith_jetpack_1;
58
  $yith_jetpack_1 = new YITH_JetPack( __FILE__ , 'YITH Essential Kit for WooCommerce #1' , 1 ) ;
1
+ <?php
2
+ /*
3
+ Plugin Name: YITH Essential Kit for WooCommerce #1
4
+ Plugin URI: https://wordpress.org/plugins/yith-essential-kit-for-woocommerce-1/
5
+ Description: With YITH Essential Kit for WooCommerce #1 you will be free to add new and powerful features to make your e-commerce site unique. Activate the plugin you want and start using your site to a new and improved level.
6
+ Text Domain: yith-essential-kit-for-woocommerce-1
7
+ Domain Path: /languages/
8
+ Author: YIThemes
9
+ Author URI: http://yithemes.com/
10
+ Version: 1.6.0
11
+ */
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ } // Exit if accessed directly
16
+
17
+ if ( ! function_exists( 'is_plugin_active' ) ) {
18
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
19
+ }
20
+
21
+ if ( ! defined( 'YJP_DIR' ) ) {
22
+ define( 'YJP_DIR', plugin_dir_path( __FILE__ ) );
23
+ }
24
+
25
+ if ( ! defined( 'YJP_URL' ) ) {
26
+ define( 'YJP_URL', plugins_url( '/', __FILE__ ) );
27
+ }
28
+
29
+ if ( ! defined( 'YJP_ASSETS_URL' ) ) {
30
+ define( 'YJP_ASSETS_URL', YJP_URL . 'assets' );
31
+ }
32
+
33
+ if ( ! defined( 'YJP_TEMPLATE_PATH' ) ) {
34
+ define( 'YJP_TEMPLATE_PATH', YJP_DIR . 'templates' );
35
+ }
36
+
37
+ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
38
+ require_once 'plugin-fw/yit-plugin-registration-hook.php';
39
+ }
40
+ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
41
+
42
+ /* Plugin Framework Version Check */
43
+ ! function_exists( 'yit_maybe_plugin_fw_loader' ) && require_once( 'plugin-fw/init.php' );
44
+ yit_maybe_plugin_fw_loader( dirname( __FILE__ ) );
45
+
46
+ /**
47
+ * Check if a jetpack module is currently active and try disabling before activating this one
48
+ */
49
+ if ( ! function_exists( 'yith_deactive_jetpack_module' ) ) {
50
+ require_once 'yith-deactive-module.php';
51
+ }
52
+
53
+ load_plugin_textdomain( 'yith-essential-kit-for-woocommerce-1', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
54
+
55
+ require_once( YJP_DIR. 'yith-jetpack.php' );
56
+
57
+ global $yith_jetpack_1;
58
  $yith_jetpack_1 = new YITH_JetPack( __FILE__ , 'YITH Essential Kit for WooCommerce #1' , 1 ) ;
languages/yith-essential-kit-for-woocommerce-1.pot CHANGED
File without changes
modules.php CHANGED
@@ -147,8 +147,8 @@ return array(
147
  'premium-url' => 'yith-woocommerce-color-and-label-variations',
148
  'premium-dir' => 'yith-woocommerce-color-label-variations',
149
  'short_description' => 'The best way to offer a complete overview on all options available for your products: with one plugin only you can add unlimited variations.',
150
- 'version' => '1.2.6',
151
- 'last_updated' => '2017-04-01',
152
  'repository' => 'yith'
153
  ),
154
 
147
  'premium-url' => 'yith-woocommerce-color-and-label-variations',
148
  'premium-dir' => 'yith-woocommerce-color-label-variations',
149
  'short_description' => 'The best way to offer a complete overview on all options available for your products: with one plugin only you can add unlimited variations.',
150
+ 'version' => '1.3.0',
151
+ 'last_updated' => '2017-10-10',
152
  'repository' => 'yith'
153
  ),
154
 
modules/yith-infinite-scrolling/assets/css/admin.css CHANGED
File without changes
modules/yith-infinite-scrolling/assets/css/frontend.css CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/01-bg.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/01-icon.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/01.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/02-bg.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/02-icon.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/02.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/03-bg.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/03-icon.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/03.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/04-bg.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/04-icon.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/04.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/loader.gif CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/upgrade.png CHANGED
File without changes
modules/yith-infinite-scrolling/assets/images/video-yith-infinite-scrolling.jpg CHANGED
File without changes
modules/yith-infinite-scrolling/assets/js/yith-infs.js CHANGED
File without changes
modules/yith-infinite-scrolling/assets/js/yith-infs.min.js CHANGED
File without changes
modules/yith-infinite-scrolling/assets/js/yith.infinitescroll.js CHANGED
File without changes
modules/yith-infinite-scrolling/assets/js/yith.infinitescroll.min.js CHANGED
File without changes
modules/yith-infinite-scrolling/includes/class.yith-infs-admin.php CHANGED
File without changes
modules/yith-infinite-scrolling/includes/class.yith-infs-frontend.php CHANGED
File without changes
modules/yith-infinite-scrolling/includes/class.yith-infs.php CHANGED
File without changes
modules/yith-infinite-scrolling/init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH Infinite Scrolling
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-infinite-scrolling/
5
  * Description: YITH Infinite Scrolling add infinite scroll to your page.
6
- * Version: 1.0.8
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-infinite-scrolling
@@ -11,7 +11,7 @@
11
  *
12
  * @author Yithemes
13
  * @package YITH Infinite Scrolling
14
- * @version 1.0.8
15
  */
16
  /* Copyright 2015 Your Inspiration Themes ( email: plugins@yithemes.com )
17
 
@@ -50,7 +50,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
50
 
51
 
52
  if ( ! defined( 'YITH_INFS_VERSION' ) ){
53
- define( 'YITH_INFS_VERSION', '1.0.8' );
54
  }
55
 
56
  if ( ! defined( 'YITH_INFS_FREE_INIT' ) ) {
3
  * Plugin Name: YITH Infinite Scrolling
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-infinite-scrolling/
5
  * Description: YITH Infinite Scrolling add infinite scroll to your page.
6
+ * Version: 1.0.9
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-infinite-scrolling
11
  *
12
  * @author Yithemes
13
  * @package YITH Infinite Scrolling
14
+ * @version 1.0.9
15
  */
16
  /* Copyright 2015 Your Inspiration Themes ( email: plugins@yithemes.com )
17
 
50
 
51
 
52
  if ( ! defined( 'YITH_INFS_VERSION' ) ){
53
+ define( 'YITH_INFS_VERSION', '1.0.9' );
54
  }
55
 
56
  if ( ! defined( 'YITH_INFS_FREE_INIT' ) ) {
modules/yith-infinite-scrolling/languages/yith-infinite-scrolling.pot CHANGED
File without changes
modules/yith-infinite-scrolling/plugin-options/general-options.php CHANGED
File without changes
modules/yith-infinite-scrolling/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-infinite-scrolling/plugin-options/video-box.php CHANGED
File without changes
modules/yith-infinite-scrolling/templates/admin/premium.php CHANGED
File without changes
modules/yith-infinite-scrolling/uninstall.php CHANGED
File without changes
modules/yith-live-chat/assets/css/font-awesome.css CHANGED
File without changes
modules/yith-live-chat/assets/css/font-awesome.min.css CHANGED
File without changes
modules/yith-live-chat/assets/css/ylc-console.css CHANGED
File without changes
modules/yith-live-chat/assets/css/ylc-console.min.css CHANGED
File without changes
modules/yith-live-chat/assets/css/ylc-frontend.css CHANGED
File without changes
modules/yith-live-chat/assets/css/ylc-frontend.min.css CHANGED
File without changes
modules/yith-live-chat/assets/css/ylc-styles.css CHANGED
@@ -165,7 +165,7 @@
165
  }
166
 
167
  /* OPTIONS PANEL */
168
- .rm_number .number {
169
  width: 70px;
170
  text-align: right;
171
  -webkit-border-top-right-radius: 0;
@@ -223,7 +223,7 @@
223
 
224
  .spinner-wrapper .spinner-button.button-minus:active {
225
  background-position: center -20px;
226
- }
227
 
228
  /** USER'S PROFILE **/
229
  .ylc-op-avatar .avatar .preview {
165
  }
166
 
167
  /* OPTIONS PANEL */
168
+ /*.rm_number .number {
169
  width: 70px;
170
  text-align: right;
171
  -webkit-border-top-right-radius: 0;
223
 
224
  .spinner-wrapper .spinner-button.button-minus:active {
225
  background-position: center -20px;
226
+ }*/
227
 
228
  /** USER'S PROFILE **/
229
  .ylc-op-avatar .avatar .preview {
modules/yith-live-chat/assets/css/ylc-styles.min.css CHANGED
File without changes
modules/yith-live-chat/assets/fonts/FontAwesome.otf CHANGED
File without changes
modules/yith-live-chat/assets/fonts/fontawesome-webfont.eot CHANGED
File without changes
modules/yith-live-chat/assets/fonts/fontawesome-webfont.svg CHANGED
File without changes
modules/yith-live-chat/assets/fonts/fontawesome-webfont.ttf CHANGED
File without changes
modules/yith-live-chat/assets/fonts/fontawesome-webfont.woff CHANGED
File without changes
modules/yith-live-chat/assets/fonts/fontawesome-webfont.woff2 CHANGED
File without changes
modules/yith-live-chat/assets/images/01-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/01-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/01.png CHANGED
File without changes
modules/yith-live-chat/assets/images/02-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/02-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/02.png CHANGED
File without changes
modules/yith-live-chat/assets/images/03-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/03-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/03.png CHANGED
File without changes
modules/yith-live-chat/assets/images/04-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/04-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/04.png CHANGED
File without changes
modules/yith-live-chat/assets/images/05-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/05-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/05.png CHANGED
File without changes
modules/yith-live-chat/assets/images/06-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/06-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/06.png CHANGED
File without changes
modules/yith-live-chat/assets/images/07-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/07-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/07.png CHANGED
File without changes
modules/yith-live-chat/assets/images/08-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/08-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/08.png CHANGED
File without changes
modules/yith-live-chat/assets/images/09-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/09-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/09.jpg CHANGED
File without changes
modules/yith-live-chat/assets/images/10-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/10-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/10.png CHANGED
File without changes
modules/yith-live-chat/assets/images/11-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/11-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/11.png CHANGED
File without changes
modules/yith-live-chat/assets/images/12-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/12-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/12.png CHANGED
File without changes
modules/yith-live-chat/assets/images/13-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/13-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/13.png CHANGED
File without changes
modules/yith-live-chat/assets/images/14-bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/14-icon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/14.png CHANGED
File without changes
modules/yith-live-chat/assets/images/console_bg.png CHANGED
File without changes
modules/yith-live-chat/assets/images/default-avatar-admin.png CHANGED
File without changes
modules/yith-live-chat/assets/images/default-avatar-user.png CHANGED
File without changes
modules/yith-live-chat/assets/images/favicon.png CHANGED
File without changes
modules/yith-live-chat/assets/images/loading.gif CHANGED
File without changes
modules/yith-live-chat/assets/images/upgrade.png CHANGED
File without changes
modules/yith-live-chat/assets/images/yith-live-chat.jpg CHANGED
File without changes
modules/yith-live-chat/assets/images/yith-logo.png CHANGED
File without changes
modules/yith-live-chat/assets/images/ylc-ico.png CHANGED
File without changes
modules/yith-live-chat/assets/js/firebase.js CHANGED
File without changes
modules/yith-live-chat/assets/js/jquery.autosize.js CHANGED
File without changes
modules/yith-live-chat/assets/js/jquery.autosize.min.js CHANGED
File without changes
modules/yith-live-chat/assets/js/ylc-engine-console.js CHANGED
@@ -1806,6 +1806,25 @@
1806
 
1807
  }
1808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1809
  }
1810
 
1811
  }
@@ -1915,7 +1934,7 @@
1915
  var win_h = $(window).height(),
1916
  win_w = $(window).width(),
1917
  console_h = win_h - 74,
1918
- console_w = $('#wpbody-content').width();
1919
 
1920
  if (win_w < 766) {
1921
 
1806
 
1807
  }
1808
 
1809
+ } else if (user.status === 'wait') {
1810
+
1811
+ if (user.last_online === undefined) {
1812
+ del_list.push(user_id);
1813
+
1814
+ } else {
1815
+
1816
+ var seconds = ( ( now.getTime() - user.last_online ) * 0.001 ) >> 0;
1817
+
1818
+ if (seconds >= (interval * 2)) {
1819
+
1820
+ del_list.push(user_id);
1821
+
1822
+ }
1823
+
1824
+
1825
+ }
1826
+
1827
+
1828
  }
1829
 
1830
  }
1934
  var win_h = $(window).height(),
1935
  win_w = $(window).width(),
1936
  console_h = win_h - 74,
1937
+ console_w = $('#wpbody-content').width() || $('.yith-wcfm-content').width();
1938
 
1939
  if (win_w < 766) {
1940
 
modules/yith-live-chat/assets/js/ylc-engine-console.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t,a,s){function i(){this.opts=e.extend(o,ylc.defaults),this.premium=e.extend({},_)}var n="ylc_console",r="plugin_"+n,o={app_id:"",user_info:{user_id:null,user_name:null,user_email:null,gravatar:null,user_type:null,avatar_type:null,avatar_image:null,current_page:null,user_ip:null}},_={};i.prototype={init:function(){this.data={auth:null,ref:null,is_mobile:!1,active_user_id:0,mode:"offline",logged:!1,assets_url:ylc.plugin_url,user:{},online_ops:{}},this.strings=ylc.strings,this.sounds={},this.objs={last_cnv_id:null,last_user_id:null,last_msg_id:null,right_sidebar_html:"",list_interval:null,working:!1,checked_user_ids:[],new_msgs_count:{}};var t=this;e("#YLC_connect").click(function(a){a.preventDefault(),e("#YLC_notify").show().html(t.strings.msg.connecting+"..."),e(this).data("logged")?e(this).data("status","online")&&t.be_offline():t.login(!0)}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(this.data.is_mobile=!0),this.post("ylc_ajax_callback","get_token",{},function(e){e.error||(t.data.auth_token=e.token,t.check_ntf(),t.auth())})},auth:function(e){return this.opts.app_id?(null==this.data.ref&&(this.data.ref=new Firebase("https://"+this.opts.app_id+".firebaseIO.com"),this.data.ref_conn=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/.info/connected"),this.data.ref_cnv=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_sessions"),this.data.ref_msgs=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_messages"),this.data.ref_users=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_users")),this.login(!1,e),void this.after_load()):void console.error("App ID not provided")},after_load:function(){var s=this;e(a).on("keydown","#YLC_cnv_reply",function(){e(this).trigger("autosize.resize"),e(t).trigger("resize")}),e(a).on("focus","#YLC_cnv_reply",function(){e(this).autosize({append:""})}),e(a).on("click","#YLC_users li.free, #YLC_users li.busy",function(){var a=e(this);null!=s.objs.list_interval&&clearInterval(s.objs.list_interval),s.get_user_data(e(this).data("id"),function(i){s.data.active_user_id&&e("#YLC_chat_user_"+s.data.active_user_id).removeClass("chat-active"),a.addClass("chat-active").removeClass("new-msg").data("count",0).find(".chat-count").empty(),e("#YLC_popup_cnv").removeClass("chat-welcome"),e("#YLC_cnv_reply").val("").focus().removeAttr("disabled"),e(".chat-cnv-input").removeClass("chat-disabled"),e(".sidebar-info.info-name span").html(i.user_name),e(".sidebar-info.info-ip span").html(i.user_ip),e(".sidebar-info.info-email a").html(i.user_email).attr("href","mailto:"+i.user_email),e(".sidebar-info.info-page a").html(i.current_page?i.current_page:"N/A").attr("href",i.current_page?i.current_page:"#"),e("#YLC_end_chat").attr("data-cnv-id",a.data("cnv-id")),e("#YLC_save").attr("data-cnv-id",a.data("cnv-id")),e("#YLC_active_cnv").val(a.data("cnv-id")),s.objs.cnv=e("#YLC_cnv"),s.objs.cnv.html(""),s.data.user.conversation_id=a.data("cnv-id"),s.data.active_user_id=a.data("id"),s.reload_cnv(a.data("cnv-id")),s.manage_reply_box(s.objs.last_cnv_id),s.objs.last_cnv_id=a.data("cnv-id"),s.objs.cnv.show(),e("#YLC_cnv_bottom .user-avatar img").attr("src",s.set_avatar(s.data.user.user_type,{gravatar:s.data.user.gravatar,avatar_type:s.data.user.avatar_type,avatar_image:s.data.user.avatar_image})),e("#YLC_cnv_bottom").show(),e("#YLC_sidebar_right").show(),"free"==a.data("chat")?s.data.ref_users.child(a.data("id")).child("chat_with").set(s.data.user.user_id):a.data("chat")==s.data.user.user_id?e("#YLC_end_chat").show():e("#YLC_end_chat").hide(),s.trigger_premium("show_chat_timer",a.data("cnv-id")),e(t).trigger("resize")})}),e(a).on("click","#YLC_save, #YLC_end_chat",function(t){var a=e(this),i=e("#YLC_save_ntf"),n="YLC_end_chat"===e(this).attr("id"),r=new Date,o=r.getTime();return i.show(),s.objs.working?void i.html(s.strings.msg.please_wait+"..."):(s.objs.working=!0,e(this).addClass("button-disabled"),i.html(s.strings.msg.saving+"..."),n&&null!=s.objs.list_interval&&clearInterval(s.objs.list_interval),void(ylc.is_premium?s.trigger_premium("end_chat_console",e("#YLC_active_cnv").val(),n,o,a,i):s.clear_user_data(e("#YLC_active_cnv").val(),function(){s.objs.working=!1,a.removeClass("button-disabled"),setTimeout(function(){i.fadeOut(500)},100),setTimeout(function(){s.show_welcome_popup()},1e3)})))}),this.trigger_premium("premium_console"),e("#YLC_popup_cnv").mouseover(function(){e("#YLC_chat_user_"+s.data.active_user_id).removeClass("new-msg").data("count",0).find(".chat-count").empty()}),setInterval(function(){e(".chat-last-online").each(function(t){e(this).html(s.timeago(e(this).data("time")))})},6e4);var i=0;setInterval(function(){var t=0;s.data.ref_users.once("value",function(a){var s=a.val();null!==s&&e.each(s,function(e,a){a&&"wait"===a.status&&(t+=1)})}),i=t,t>0?e("#YLC_queue").html(s.strings.msg.waiting_users.replace(/%d/i,t)).show():e("#YLC_queue").hide()},15e3),t.onbeforeunload=function(e){var a=e||t.event;return a&&(a.returnValue=s.strings.msg.ntf_close_console),s.strings.msg.ntf_close_console}},login:function(t,a){var s=this;this.manage_connections(),this.data._new_user=t,this.data.auth=this.data.ref.authWithCustomToken(this.data.auth_token,function(t){t?(console.error(t.code,t.message),e("#YLC_connect").removeClass("button-disabled"),e("#YLC_notify").hide().html(t.message).fadeIn(200),s.display_ntf(s.strings.msg.conn_err,"error")):(e("#YLC_notify").html(s.strings.msg.you_offline),e("#YLC_connect").html(s.strings.msg.connect).data("logged",0).removeClass("button-disabled"),s.data.logged=!0,s.data.ref_users.once("value",function(t){var i=t.val(),n=0;if(null!==i){var r=Object.keys(i).length;e.each(i,function(e,t){n++,t&&"operator"==t.user_type&&"online"===t.status&&(s.data.online_ops[t.user_id]=t),n===r&&(s.data.mode="offline",s.check_user(s.opts.user_info.user_id))})}else s.data.mode="offline",s.check_user(s.opts.user_info.user_id);a&&a()}))})},logged_in:function(t){var a=this;a.trigger_premium("play_sound","connected"),a.listen_msgs(),e("#YLC_notify").hide().empty(),e("#YLC_connect").html('<i class="fa fa-check-circle" style="color:#acc327;"></i> '+a.strings.msg.online_btn).data("logged",1).data("status","online").removeClass("button-disabled"),a.purge_firebase()},logout:function(a){var s=this;this.data.user.user_id&&(s.data.ref_user.off(),s.data.ref_users.off(),s.data.ref_msgs.off(),s.trigger_premium("play_sound","offline"),e("#YLC_notify").html(s.strings.msg.you_offline),e("#YLC_connect").html(s.strings.msg.connect).data("logged",0).data("status","offline").removeClass("button-disabled"),s.show_welcome_popup()),e(t).trigger("resize"),s.offline()},be_offline:function(){this.data.mode="offline",this.data.ref_user&&(this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("last_online").set(Firebase.ServerValue.TIMESTAMP)),this.offline()},offline:function(){var t=this;t.trigger_premium("play_sound","disconnected"),e("#YLC_notify").html(t.strings.msg.you_offline),e("#YLC_connect").html('<i class="fa fa-check-circle" style="color:#e54045;"></i> '+t.strings.msg.offline_btn).data("logged",0).data("status","offline").removeClass("button-disabled")},check_user:function(e){var t=this;this.data.ref_user=this.data.ref_users.child(e),this.data.ref_user.once("value",function(a){var s=a.val();s||(s={}),t.get_user(e,s)}),this.data.ref_user.child("chat_with").on("value",function(e){var a=e.val();null!=a&&(t.data.user.chat_with=a)}),this.data.ref_users.on("child_removed",function(a){var s=a.val();s&&e===s.user_id&&t.logout()})},get_user:function(e,t,a){var s=this;if(t.user_id)this.data.user=t,this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("user_ip").set(this.opts.user_info.user_ip),this.data.ref_user.child("current_page").set(this.opts.user_info.current_page),this.data.ref_user.child("user_name").set(this.opts.user_info.user_name),this.data.ref_user.child("user_email").set(this.opts.user_info.user_email),this.data.ref_user.child("gravatar").set(this.opts.user_info.gravatar),this.data.ref_user.child("avatar_type").set(this.opts.user_info.avatar_type),this.data.ref_user.child("avatar_image").set(this.opts.user_info.avatar_image),this.data.ref_user.child("vendor_id").set(ylc.active_vendor.vendor_id),this.data.ref_user.child("vendor_name").set(ylc.active_vendor.vendor_name),this.data.mode="offline",this.manage_connections(),this.logged_in(this.data.user),this.listen_users(),a&&a();else if(this.data._new_user===!0){var i=this.data.ref_cnv.push({user_id:e,created_at:Firebase.ServerValue.TIMESTAMP,accepted_at:"",evaluation:"",user_type:"operator",receive_copy:!1}),n={user_id:e,conversation_id:i.key(),last_online:"",is_mobile:this.data.is_mobile,chat_with:"free",status:"online",vendor_id:ylc.active_vendor.vendor_id,vendor_name:ylc.active_vendor.vendor_name};for(var r in this.opts.user_info)n[r]=this.opts.user_info[r];this.data.user=n,this.data.ref_user.set(n,function(e){e||(s.data.mode="online",s.logged_in(s.data.user),s.manage_connections(),s.listen_users()),a&&a()})}else this.listen_users()},listen_users:function(){var t=this;this.data.last_changed_id=null,e("#YLC_users > ul").remove(),e("#YLC_users").append("<ul></ul>"),this.data.user_list=e("#YLC_users > ul"),this.data.ref_users.once("value",function(a){var s=a.val(),i=0;if(null!==s){var n=Object.keys(s).length;t.data.online_ops={},e.each(s,function(a,s){i+=1,s&&t.valid_operator(s.vendor_id)&&("operator"===s.user_type&&("online"===s.status?t.data.online_ops[s.user_id]=s:delete t.data.online_ops[s.user_id]),t.add_user_item(s)),i===n&&t.data.ref_users.on("value",function(a){e("#YLC_users > ul").empty();var s=a.val();e.each(s,function(e,a){t.valid_operator(a.vendor_id)&&t.update_user(a)})})})}})},update_user:function(t,a){(!t||t.user_id)&&(t&&(t.conversation_id?(this.add_user_item(t),"operator"===t.user_type&&("online"===t.status?this.data.online_ops[t.user_id]=t:delete this.data.online_ops[t.user_id]),a||-1==e.inArray(t.user_id,this.objs.checked_user_ids)&&t.user_id!=this.data.user.user_id&&(this.trigger_premium("play_sound","online"),"operator"!=t.user_type&&this.notify(this.strings.msg.new_user_online,t.user_name+" ("+t.user_type+")",null,"user_online"),this.objs.checked_user_ids.push(t.user_id)),this.data.active_user_id===t.user_id&&e("#YLC_active_page").attr("href",t.current_page).find("span").html(t.current_page)):this.clean_user_data(t.user_id)),this.data.last_changed_id=a)},clean_user_data:function(t){var a=this,s=this.data.ref_users.child(t);s.once("value",function(i){var n=i.val();s.remove(),n.conversation_id&&a.ref_cnv.child(n.conversation_id),a.data.ref_msgs.once("value",function(s){var i=s.val();i&&e.each(i,function(e,s){s.user_id===t&&a.data.ref_msgs.child(e).remove()})})})},add_user_item:function(a){if(a.user_id&&this.data.user_list){var s="",i=!1,n="#YLC_chat_user_"+a.user_id;"free"!=a.chat_with&&(null==this.data.online_ops[a.chat_with]?(this.data.ref_users.child(a.user_id).child("chat_with").set("free"),i=!1):(i=a.chat_with!=this.data.user.user_id,s=this.data.online_ops[a.chat_with].user_name));var r=i?" busy":" free",o="offline"===a.status||"wait"===a.status?' - <span class="other-info" data-time="'+a.last_online+'">'+this.timeago(a.last_online)+"</span>":"",_=i?'<br /><span class="other-info">'+this.strings.msg.talking_label.replace(/%s/i,s)+"</span>":"",c="";"operator"==a.user_type&&(r=" op"),ylc.yith_wpv_active&&"0"==ylc.active_vendor.vendor_id&&(c=0==a.vendor_id?"":this.strings.msg.current_shop.replace(/%s/i,a.vendor_name)+" "),e(n).remove();var d=a.user_name||a.user_email||"N/A",u="user-"+a.status+" user-"+a.user_type+r,l=this.set_avatar(a.user_type,{gravatar:a.gravatar,avatar_type:a.avatar_type,avatar_image:a.avatar_image}),h=a.is_mobile?'<i class="fa fa-mobile"></i>':"",v=c+a.user_type+o+_;this.data.user_list.append('<li id="YLC_chat_user_'+a.user_id+'" data-id="'+a.user_id+'" data-cnv-id="'+a.conversation_id+'" data-name="'+d+'" data-count="0" data-chat="'+a.chat_with+'" class="'+u+'"><div class="user-avatar"><img src="'+l+'" /></div><i class="fa fa-check-circle"></i>'+h+'<div class="chat-username">'+d+'<span class="chat-count"></span></div><div class="chat-meta">'+v+"</div></li>");var f=e(n);if(a.user_id==this.data.active_user_id)f.addClass("chat-active").removeClass("new-msg").data("count",0).find(".chat-count").empty(),null!=this.objs.new_msgs_count[a.user_id]&&(this.objs.new_msgs_count[a.user_id]=0);else{var m=null!=this.objs.new_msgs_count[a.user_id]?this.objs.new_msgs_count[a.user_id]:0;m>0&&f.data("count",m).find(".chat-count").html("("+m+")")}e(t).trigger("resize")}},notify:function(e,a,s,i){if(Notification&&"Notification"in t)if("granted"===Notification.permission){var n=new Notification(e,{body:a,icon:ylc.plugin_url+"/images/ylc-ico.png",tag:i});s?n.onclick=function(){s()}:n.close(),setTimeout(function(){n.close()},4e3)}else"denied"!==Notification.permission&&Notification.requestPermission(function(t){if("permission"in Notification||(Notification.permission=t),"granted"===t){var i=new Notification(e,{body:a});s?i.onclick=function(){s()}:i.close(),setTimeout(function(){i.close()},4e3)}})},set_avatar:function(e,t){return e="operator"==e?"admin":"user",ylc.is_premium?this.trigger_premium("set_avatar_premium",e,t):this.data.assets_url+"/images/default-avatar-"+e+".png"},time:function(e,t){return this.strings.time[e]&&this.strings.time[e].replace(/%d/i,Math.abs(Math.round(t)))},timeago:function(e){if(!e)return"";var t=new Date,a=.001*(t.getTime()-e)>>0,s=a/60,i=s/60,n=i/24,r=n/365;return(45>a&&this.time("seconds",a)||90>a&&this.time("minute",1)||45>s&&this.time("minutes",s)||90>s&&this.time("hour",1)||24>i&&this.time("hours",i)||42>i&&this.time("day",1)||30>n&&this.time("days",n)||45>n&&this.time("month",1)||365>n&&this.time("months",n/30)||1.5>r&&this.time("year",1)||this.time("years",r))+" "+this.strings.time.suffix},listen_msgs:function(){var t=this;this.data.ref_msgs.off(),this.data.ref_msgs.once("value",function(a){var s=a.val(),i=s?Object.keys(s).length:0,n=1;s?e.each(s,function(e,a){a.first_load=!0,t.new_msg(a),i==n&&t.listen_new_msgs(e),n+=1}):t.listen_new_msgs()})},new_msg:function(t,a){var s=this;if(s.valid_operator(t.vendor_id)){var i=e("#YLC_chat_user_"+t.user_id),n=i.find(".chat-count"),r=parseInt(i.data("count"));0!=t.read||t.user_id==s.data.user.user_id||a||(r+=1,s.objs.new_msgs_count[t.user_id]=r,i.addClass("new-msg").data("count",r),n.html("("+r+")"),s.trigger_premium("play_sound","new-msg"),s.notify(s.strings.msg.new_msg,t.user_name+": "+t.msg,null,"new_msg")),s.data.user.conversation_id==t.conversation_id&&(e("#YLC_load_msg").remove(),s.add_msg(t,s.objs.last_user_id,s.objs.last_msg_id),s.objs.last_user_id=t.user_id,s.objs.last_user_id==t.user_id&&s.objs.last_msg_id||(s.objs.last_msg_id=t.msg_id)),a&&s.data.ref_msgs.child(a).child("read").set(!0)}},listen_new_msgs:function(e){var t=this,a=e?t.data.ref_msgs.startAt(null,e):t.data.ref_msgs,s=!0;e||(s=!1),a.on("child_added",function(e){var a=e.val();a.id=e.key(),t.new_msg(a),s=!1})},add_msg:function(e,t,a){var s=new Date,i=new Date(e.msg_time),n=i.getHours()+":"+(i.getMinutes()<10?"0":"")+i.getMinutes(),r=this.sanitize_msg(e.msg),o=i.toDateString()==s.toDateString()?n:i.getUTCDate()+" "+this.strings.months_short[i.getUTCMonth()]+", "+n;if(this.objs.cnv){var _=e.user_id==this.data.user.user_id?" chat-you":"",c=i.getUTCDate()+" "+this.strings.months[i.getUTCMonth()]+" "+i.getUTCFullYear()+" "+n,d=this.set_avatar(e.user_type,{gravatar:e.gravatar,avatar_type:e.avatar_type,avatar_image:e.avatar_image});this.objs.cnv.append('<div id="YLC_msg_'+e.id+'" class="chat-cnv-line'+_+'"><div title="'+c+'" class="chat-cnv-time">'+o+'</div><div class="chat-avatar"><img src="'+d+'" /></div> <div class="chat-cnv-msg"><div class="chat-cnv-author">'+e.user_name+"</div>"+r+'</div> </div><div class="chat-clear"></div>').scrollTop(this.objs.cnv.prop("scrollHeight"))}},sanitize_msg:function(e){var t,a,s,i,n,r={"&":"&amp;","<":"&lt;",">":"&gt;"};return t=e.replace(/[&<>]/g,function(e){return r[e]||e}),n=/\n/gim,t=t.replace(n,"<br />"),a=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,t=t.replace(a,'<a href="$1" target="_blank">$1</a>'),s=/(^|[^\/])(www\.[\S]+(\b|$))/gim,t=t.replace(s,'$1<a href="http://$2" target="_blank">$2</a>'),i=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,t=t.replace(i,'<a href="mailto:$1">$1</a>')},manage_reply_box:function(t){var a=this,s=!1,i=e("#YLC_cnv_reply"),n=function(){var e=0;return function(t,a){clearTimeout(e),e=setTimeout(t,a)}}();this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").remove(),i.keydown(function(t){if(13!==t.keyCode||t.shiftKey){if(!s){switch(t.keyCode){case 17:case 18:case 16:case 9:case 8:case 224:case 17:case 91:case 93:return}a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).set(a.data.user.user_name),s=!0}n(function(){a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).remove(),s=!1},1300)}else{t.preventDefault();var i=e(this).val();i&&(e(this).val("").trigger("autosize.resize"),a.push_msg(i),a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).remove())}}),t&&(this.data.ref_cnv.child(t+"/typing").off(),this.data.ref_cnv.child(t).off("child_added")),this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").on("value",function(t){var s=0,i=t.val(),n=i?Object.keys(i).length:0;return i?void e.each(i,function(e,t){return null!=e&&e!=a.data.user.user_id?void a.display_ntf(a.strings.msg.writing.replace(/%s/i,t),"typing"):(n===s&&a.clean_ntf(),void(s+=1))}):void a.clean_ntf()}),this.data.ref_cnv.child(this.data.user.conversation_id).on("child_added",function(t){"closed"==t.val()&&(e("#YLC_cnv_reply").attr("disabled","disabled"),e(".chat-cnv-input").addClass("chat-disabled"))})},reload_cnv:function(t){var a=this;this.data.ref_msgs.once("value",function(s){var i=(new Date,s.val()),n=i?Object.keys(i).length:0,r=0,o=1;i?e.each(i,function(e,s){s.conversation_id==t&&(a.new_msg(s,e),r+=1),n==o&&a.cnv_msgs_loaded(r),o+=1}):a.cnv_msgs_loaded(0)})},cnv_msgs_loaded:function(t){t?e("#YLC_load_msg").empty():e("#YLC_load_msg").html(this.strings.msg.no_msg+".")},push_msg:function(e){this.data.ref_msgs.push({user_id:this.data.user.user_id,user_type:this.data.user.user_type,conversation_id:this.data.user.conversation_id,user_name:this.data.user.user_name||this.data.user.user_email,gravatar:this.data.user.gravatar,avatar_type:this.data.user.avatar_type,avatar_image:this.data.user.avatar_image,msg:e,msg_time:Firebase.ServerValue.TIMESTAMP,vendor_id:ylc.active_vendor.vendor_id,read:!0})},get_user_data:function(e,t){this.data.ref_users.child(e).once("value",function(e){var a=e.val();t(a)})},manage_connections:function(){var t=this;this.data.ref_user&&this.data.ref_conn.on("value",function(a){if(a.val()===!0){e("#YLC_firebase_offline").hide();var s=t.data.ref_user.child("connections").push(!0);s.onDisconnect().remove(),t.data.ref_user.child("status").set("online"),t.data.ref_user.child("status").onDisconnect().set("offline"),t.data.ref_user.child("last_online").onDisconnect().set(Firebase.ServerValue.TIMESTAMP),t.data.ref_cnv.child(t.data.user.conversation_id+"/typing/"+t.data.user.user_id).onDisconnect().remove()}else e("#YLC_firebase_offline").show()})},post:function(t,a,s,i){e.post(ylc.ajax_url+"?action="+t+"&mode="+a,s,i,"json").fail(function(e){return console.log(a,": ",e),!1})},trigger_premium:function(e,t,a,s,i,n,r){return ylc.is_premium?this.premium[e].call(this,t,a,s,i,n,r):void 0},check_ntf:function(){"Notification"in t&&"denied"!==Notification.permission&&Notification.requestPermission(function(e){"permission"in Notification||(Notification.permission=e)})},display_ntf:function(t,a){var s;switch(a){case"success":s='<i class="fa fa-check"></i> ';break;case"error":s='<i class="fa fa-exclamation-triangle"></i> ';break;case"typing":s='<i class="fa fa-pencil-square-o"></i> ';break;default:s=""}e("#YLC_popup_ntf").removeClass().addClass("chat-ntf chat-"+a).html(s+t).fadeIn(300)},clean_ntf:function(){e("#YLC_popup_ntf").html("").hide()},clear_user_data:function(t,a){var s=this;this.data.ref_cnv.child(t).once("value",function(i){var n=i.val();if(n){var r=n.user_id;s.data.ref_msgs.once("value",function(i){var n=i.val(),o=n?Object.keys(n).length:0,_=0;n?e.each(n,function(e,i){_+=1,i.conversation_id===t&&s.data.ref_msgs.child(e).remove(),o===_&&a&&a()}):a&&a(),s.data.ref_users.child(r).remove(),s.data.ref_cnv.child(t).remove()})}})},total_online_ops:function(){return this.data.online_ops?Object.keys(this.data.online_ops).length:0},purge_firebase:function(t){var a=this;this.data.ref_users.once("value",function(s){var i=s.val(),n=0,r=[],o=[],_=[],c=t?0:3600;if(null!==i){var d=Object.keys(i).length,u=new Date;e.each(i,function(t,s){if(n++,s&&"offline"===s.status){var i=.001*(u.getTime()-s.last_online)>>0;i>=c&&("operator"!=s.user_type?null!=s.conversation_id?o.push(s.conversation_id):r.push(t):(r.push(t),_.push(s.conversation_id)))}n===d&&(e.each(r,function(e,t){a.data.ref_users.child(t).remove()}),e.each(_,function(e,t){a.data.ref_cnv.child(t).remove()}),e.each(o,function(e,t){ylc.is_premium?a.trigger_premium("save_user_data",t,!0,u.getTime()):a.clear_user_data(t)}))})}})},show_welcome_popup:function(){e("#YLC_popup_cnv").addClass("chat-welcome"),e("#YLC_cnv").hide(),e("#YLC_cnv_bottom").hide(),e("#YLC_sidebar_right").hide()},valid_operator:function(e){return ylc.yith_wpv_active?ylc.yith_wpv_active&&ylc.active_vendor.vendor_id===e?!0:ylc.yith_wpv_active&&"0"==ylc.active_vendor.vendor_id&&!ylc.vendor_only_chat?!0:!1:!0}},e.fn[n]=function(){var e;this.data(r)instanceof i||this.data(r,new i(this)),e=this.data(r),e.el=this,e.init()},e(a).ready(function(){e("#YLC_console").ylc_console(),e(t).resize(function(){var a=e(t).height(),s=e(t).width(),i=a-74,n=e("#wpbody-content").width();766>s?(e("#YLC_console").css("height",""),e("#YLC_sidebar_left").css("height",""),e("#YLC_popup_cnv").css("height",""),e("#YLC_sidebar_right").css("height",""),e("#YLC_users").css("height",""),e("#YLC_cnv").css("height",250),e(".yith-live-chat-console-container").width(n-12)):(e("#YLC_console").height(i),e("#YLC_sidebar_left").height(i),e("#YLC_popup_cnv").height(i),e("#YLC_sidebar_right").height(i),e("#YLC_users").height(i-110),e("#YLC_cnv").height(i-e("#YLC_cnv_bottom").innerHeight()-30),e(".yith-live-chat-console-container").width(n-20))}).trigger("resize")})}(jQuery,window,document);
1
+ !function(e,t,a,s){function i(){this.opts=e.extend(o,ylc.defaults),this.premium=e.extend({},_)}var n="ylc_console",r="plugin_"+n,o={app_id:"",user_info:{user_id:null,user_name:null,user_email:null,gravatar:null,user_type:null,avatar_type:null,avatar_image:null,current_page:null,user_ip:null}},_={};i.prototype={init:function(){this.data={auth:null,ref:null,is_mobile:!1,active_user_id:0,mode:"offline",logged:!1,assets_url:ylc.plugin_url,user:{},online_ops:{}},this.strings=ylc.strings,this.sounds={},this.objs={last_cnv_id:null,last_user_id:null,last_msg_id:null,right_sidebar_html:"",list_interval:null,working:!1,checked_user_ids:[],new_msgs_count:{}};var t=this;e("#YLC_connect").click(function(a){a.preventDefault(),e("#YLC_notify").show().html(t.strings.msg.connecting+"..."),e(this).data("logged")?e(this).data("status","online")&&t.be_offline():t.login(!0)}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(this.data.is_mobile=!0),this.post("ylc_ajax_callback","get_token",{},function(e){e.error||(t.data.auth_token=e.token,t.check_ntf(),t.auth())})},auth:function(e){return this.opts.app_id?(null==this.data.ref&&(this.data.ref=new Firebase("https://"+this.opts.app_id+".firebaseIO.com"),this.data.ref_conn=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/.info/connected"),this.data.ref_cnv=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_sessions"),this.data.ref_msgs=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_messages"),this.data.ref_users=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_users")),this.login(!1,e),void this.after_load()):void console.error("App ID not provided")},after_load:function(){var s=this;e(a).on("keydown","#YLC_cnv_reply",function(){e(this).trigger("autosize.resize"),e(t).trigger("resize")}),e(a).on("focus","#YLC_cnv_reply",function(){e(this).autosize({append:""})}),e(a).on("click","#YLC_users li.free, #YLC_users li.busy",function(){var a=e(this);null!=s.objs.list_interval&&clearInterval(s.objs.list_interval),s.get_user_data(e(this).data("id"),function(i){s.data.active_user_id&&e("#YLC_chat_user_"+s.data.active_user_id).removeClass("chat-active"),a.addClass("chat-active").removeClass("new-msg").data("count",0).find(".chat-count").empty(),e("#YLC_popup_cnv").removeClass("chat-welcome"),e("#YLC_cnv_reply").val("").focus().removeAttr("disabled"),e(".chat-cnv-input").removeClass("chat-disabled"),e(".sidebar-info.info-name span").html(i.user_name),e(".sidebar-info.info-ip span").html(i.user_ip),e(".sidebar-info.info-email a").html(i.user_email).attr("href","mailto:"+i.user_email),e(".sidebar-info.info-page a").html(i.current_page?i.current_page:"N/A").attr("href",i.current_page?i.current_page:"#"),e("#YLC_end_chat").attr("data-cnv-id",a.data("cnv-id")),e("#YLC_save").attr("data-cnv-id",a.data("cnv-id")),e("#YLC_active_cnv").val(a.data("cnv-id")),s.objs.cnv=e("#YLC_cnv"),s.objs.cnv.html(""),s.data.user.conversation_id=a.data("cnv-id"),s.data.active_user_id=a.data("id"),s.reload_cnv(a.data("cnv-id")),s.manage_reply_box(s.objs.last_cnv_id),s.objs.last_cnv_id=a.data("cnv-id"),s.objs.cnv.show(),e("#YLC_cnv_bottom .user-avatar img").attr("src",s.set_avatar(s.data.user.user_type,{gravatar:s.data.user.gravatar,avatar_type:s.data.user.avatar_type,avatar_image:s.data.user.avatar_image})),e("#YLC_cnv_bottom").show(),e("#YLC_sidebar_right").show(),"free"==a.data("chat")?s.data.ref_users.child(a.data("id")).child("chat_with").set(s.data.user.user_id):a.data("chat")==s.data.user.user_id?e("#YLC_end_chat").show():e("#YLC_end_chat").hide(),s.trigger_premium("show_chat_timer",a.data("cnv-id")),e(t).trigger("resize")})}),e(a).on("click","#YLC_save, #YLC_end_chat",function(t){var a=e(this),i=e("#YLC_save_ntf"),n="YLC_end_chat"===e(this).attr("id"),r=new Date,o=r.getTime();return i.show(),s.objs.working?void i.html(s.strings.msg.please_wait+"..."):(s.objs.working=!0,e(this).addClass("button-disabled"),i.html(s.strings.msg.saving+"..."),n&&null!=s.objs.list_interval&&clearInterval(s.objs.list_interval),void(ylc.is_premium?s.trigger_premium("end_chat_console",e("#YLC_active_cnv").val(),n,o,a,i):s.clear_user_data(e("#YLC_active_cnv").val(),function(){s.objs.working=!1,a.removeClass("button-disabled"),setTimeout(function(){i.fadeOut(500)},100),setTimeout(function(){s.show_welcome_popup()},1e3)})))}),this.trigger_premium("premium_console"),e("#YLC_popup_cnv").mouseover(function(){e("#YLC_chat_user_"+s.data.active_user_id).removeClass("new-msg").data("count",0).find(".chat-count").empty()}),setInterval(function(){e(".chat-last-online").each(function(t){e(this).html(s.timeago(e(this).data("time")))})},6e4);var i=0;setInterval(function(){var t=0;s.data.ref_users.once("value",function(a){var s=a.val();null!==s&&e.each(s,function(e,a){a&&"wait"===a.status&&(t+=1)})}),i=t,t>0?e("#YLC_queue").html(s.strings.msg.waiting_users.replace(/%d/i,t)).show():e("#YLC_queue").hide()},15e3),t.onbeforeunload=function(e){var a=e||t.event;return a&&(a.returnValue=s.strings.msg.ntf_close_console),s.strings.msg.ntf_close_console}},login:function(t,a){var s=this;this.manage_connections(),this.data._new_user=t,this.data.auth=this.data.ref.authWithCustomToken(this.data.auth_token,function(t){t?(console.error(t.code,t.message),e("#YLC_connect").removeClass("button-disabled"),e("#YLC_notify").hide().html(t.message).fadeIn(200),s.display_ntf(s.strings.msg.conn_err,"error")):(e("#YLC_notify").html(s.strings.msg.you_offline),e("#YLC_connect").html(s.strings.msg.connect).data("logged",0).removeClass("button-disabled"),s.data.logged=!0,s.data.ref_users.once("value",function(t){var i=t.val(),n=0;if(null!==i){var r=Object.keys(i).length;e.each(i,function(e,t){n++,t&&"operator"==t.user_type&&"online"===t.status&&(s.data.online_ops[t.user_id]=t),n===r&&(s.data.mode="offline",s.check_user(s.opts.user_info.user_id))})}else s.data.mode="offline",s.check_user(s.opts.user_info.user_id);a&&a()}))})},logged_in:function(t){var a=this;a.trigger_premium("play_sound","connected"),a.listen_msgs(),e("#YLC_notify").hide().empty(),e("#YLC_connect").html('<i class="fa fa-check-circle" style="color:#acc327;"></i> '+a.strings.msg.online_btn).data("logged",1).data("status","online").removeClass("button-disabled"),a.purge_firebase()},logout:function(a){var s=this;this.data.user.user_id&&(s.data.ref_user.off(),s.data.ref_users.off(),s.data.ref_msgs.off(),s.trigger_premium("play_sound","offline"),e("#YLC_notify").html(s.strings.msg.you_offline),e("#YLC_connect").html(s.strings.msg.connect).data("logged",0).data("status","offline").removeClass("button-disabled"),s.show_welcome_popup()),e(t).trigger("resize"),s.offline()},be_offline:function(){this.data.mode="offline",this.data.ref_user&&(this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("last_online").set(Firebase.ServerValue.TIMESTAMP)),this.offline()},offline:function(){var t=this;t.trigger_premium("play_sound","disconnected"),e("#YLC_notify").html(t.strings.msg.you_offline),e("#YLC_connect").html('<i class="fa fa-check-circle" style="color:#e54045;"></i> '+t.strings.msg.offline_btn).data("logged",0).data("status","offline").removeClass("button-disabled")},check_user:function(e){var t=this;this.data.ref_user=this.data.ref_users.child(e),this.data.ref_user.once("value",function(a){var s=a.val();s||(s={}),t.get_user(e,s)}),this.data.ref_user.child("chat_with").on("value",function(e){var a=e.val();null!=a&&(t.data.user.chat_with=a)}),this.data.ref_users.on("child_removed",function(a){var s=a.val();s&&e===s.user_id&&t.logout()})},get_user:function(e,t,a){var s=this;if(t.user_id)this.data.user=t,this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("user_ip").set(this.opts.user_info.user_ip),this.data.ref_user.child("current_page").set(this.opts.user_info.current_page),this.data.ref_user.child("user_name").set(this.opts.user_info.user_name),this.data.ref_user.child("user_email").set(this.opts.user_info.user_email),this.data.ref_user.child("gravatar").set(this.opts.user_info.gravatar),this.data.ref_user.child("avatar_type").set(this.opts.user_info.avatar_type),this.data.ref_user.child("avatar_image").set(this.opts.user_info.avatar_image),this.data.ref_user.child("vendor_id").set(ylc.active_vendor.vendor_id),this.data.ref_user.child("vendor_name").set(ylc.active_vendor.vendor_name),this.data.mode="offline",this.manage_connections(),this.logged_in(this.data.user),this.listen_users(),a&&a();else if(this.data._new_user===!0){var i=this.data.ref_cnv.push({user_id:e,created_at:Firebase.ServerValue.TIMESTAMP,accepted_at:"",evaluation:"",user_type:"operator",receive_copy:!1}),n={user_id:e,conversation_id:i.key(),last_online:"",is_mobile:this.data.is_mobile,chat_with:"free",status:"online",vendor_id:ylc.active_vendor.vendor_id,vendor_name:ylc.active_vendor.vendor_name};for(var r in this.opts.user_info)n[r]=this.opts.user_info[r];this.data.user=n,this.data.ref_user.set(n,function(e){e||(s.data.mode="online",s.logged_in(s.data.user),s.manage_connections(),s.listen_users()),a&&a()})}else this.listen_users()},listen_users:function(){var t=this;this.data.last_changed_id=null,e("#YLC_users > ul").remove(),e("#YLC_users").append("<ul></ul>"),this.data.user_list=e("#YLC_users > ul"),this.data.ref_users.once("value",function(a){var s=a.val(),i=0;if(null!==s){var n=Object.keys(s).length;t.data.online_ops={},e.each(s,function(a,s){i+=1,s&&t.valid_operator(s.vendor_id)&&("operator"===s.user_type&&("online"===s.status?t.data.online_ops[s.user_id]=s:delete t.data.online_ops[s.user_id]),t.add_user_item(s)),i===n&&t.data.ref_users.on("value",function(a){e("#YLC_users > ul").empty();var s=a.val();e.each(s,function(e,a){t.valid_operator(a.vendor_id)&&t.update_user(a)})})})}})},update_user:function(t,a){(!t||t.user_id)&&(t&&(t.conversation_id?(this.add_user_item(t),"operator"===t.user_type&&("online"===t.status?this.data.online_ops[t.user_id]=t:delete this.data.online_ops[t.user_id]),a||-1==e.inArray(t.user_id,this.objs.checked_user_ids)&&t.user_id!=this.data.user.user_id&&(this.trigger_premium("play_sound","online"),"operator"!=t.user_type&&this.notify(this.strings.msg.new_user_online,t.user_name+" ("+t.user_type+")",null,"user_online"),this.objs.checked_user_ids.push(t.user_id)),this.data.active_user_id===t.user_id&&e("#YLC_active_page").attr("href",t.current_page).find("span").html(t.current_page)):this.clean_user_data(t.user_id)),this.data.last_changed_id=a)},clean_user_data:function(t){var a=this,s=this.data.ref_users.child(t);s.once("value",function(i){var n=i.val();s.remove(),n.conversation_id&&a.ref_cnv.child(n.conversation_id),a.data.ref_msgs.once("value",function(s){var i=s.val();i&&e.each(i,function(e,s){s.user_id===t&&a.data.ref_msgs.child(e).remove()})})})},add_user_item:function(a){if(a.user_id&&this.data.user_list){var s="",i=!1,n="#YLC_chat_user_"+a.user_id;"free"!=a.chat_with&&(null==this.data.online_ops[a.chat_with]?(this.data.ref_users.child(a.user_id).child("chat_with").set("free"),i=!1):(i=a.chat_with!=this.data.user.user_id,s=this.data.online_ops[a.chat_with].user_name));var r=i?" busy":" free",o="offline"===a.status||"wait"===a.status?' - <span class="other-info" data-time="'+a.last_online+'">'+this.timeago(a.last_online)+"</span>":"",_=i?'<br /><span class="other-info">'+this.strings.msg.talking_label.replace(/%s/i,s)+"</span>":"",c="";"operator"==a.user_type&&(r=" op"),ylc.yith_wpv_active&&"0"==ylc.active_vendor.vendor_id&&(c=0==a.vendor_id?"":this.strings.msg.current_shop.replace(/%s/i,a.vendor_name)+" "),e(n).remove();var d=a.user_name||a.user_email||"N/A",u="user-"+a.status+" user-"+a.user_type+r,l=this.set_avatar(a.user_type,{gravatar:a.gravatar,avatar_type:a.avatar_type,avatar_image:a.avatar_image}),h=a.is_mobile?'<i class="fa fa-mobile"></i>':"",f=c+a.user_type+o+_;this.data.user_list.append('<li id="YLC_chat_user_'+a.user_id+'" data-id="'+a.user_id+'" data-cnv-id="'+a.conversation_id+'" data-name="'+d+'" data-count="0" data-chat="'+a.chat_with+'" class="'+u+'"><div class="user-avatar"><img src="'+l+'" /></div><i class="fa fa-check-circle"></i>'+h+'<div class="chat-username">'+d+'<span class="chat-count"></span></div><div class="chat-meta">'+f+"</div></li>");var v=e(n);if(a.user_id==this.data.active_user_id)v.addClass("chat-active").removeClass("new-msg").data("count",0).find(".chat-count").empty(),null!=this.objs.new_msgs_count[a.user_id]&&(this.objs.new_msgs_count[a.user_id]=0);else{var m=null!=this.objs.new_msgs_count[a.user_id]?this.objs.new_msgs_count[a.user_id]:0;m>0&&v.data("count",m).find(".chat-count").html("("+m+")")}e(t).trigger("resize")}},notify:function(e,a,s,i){if(Notification&&"Notification"in t)if("granted"===Notification.permission){var n=new Notification(e,{body:a,icon:ylc.plugin_url+"/images/ylc-ico.png",tag:i});s?n.onclick=function(){s()}:n.close(),setTimeout(function(){n.close()},4e3)}else"denied"!==Notification.permission&&Notification.requestPermission(function(t){if("permission"in Notification||(Notification.permission=t),"granted"===t){var i=new Notification(e,{body:a});s?i.onclick=function(){s()}:i.close(),setTimeout(function(){i.close()},4e3)}})},set_avatar:function(e,t){return e="operator"==e?"admin":"user",ylc.is_premium?this.trigger_premium("set_avatar_premium",e,t):this.data.assets_url+"/images/default-avatar-"+e+".png"},time:function(e,t){return this.strings.time[e]&&this.strings.time[e].replace(/%d/i,Math.abs(Math.round(t)))},timeago:function(e){if(!e)return"";var t=new Date,a=.001*(t.getTime()-e)>>0,s=a/60,i=s/60,n=i/24,r=n/365;return(45>a&&this.time("seconds",a)||90>a&&this.time("minute",1)||45>s&&this.time("minutes",s)||90>s&&this.time("hour",1)||24>i&&this.time("hours",i)||42>i&&this.time("day",1)||30>n&&this.time("days",n)||45>n&&this.time("month",1)||365>n&&this.time("months",n/30)||1.5>r&&this.time("year",1)||this.time("years",r))+" "+this.strings.time.suffix},listen_msgs:function(){var t=this;this.data.ref_msgs.off(),this.data.ref_msgs.once("value",function(a){var s=a.val(),i=s?Object.keys(s).length:0,n=1;s?e.each(s,function(e,a){a.first_load=!0,t.new_msg(a),i==n&&t.listen_new_msgs(e),n+=1}):t.listen_new_msgs()})},new_msg:function(t,a){var s=this;if(s.valid_operator(t.vendor_id)){var i=e("#YLC_chat_user_"+t.user_id),n=i.find(".chat-count"),r=parseInt(i.data("count"));0!=t.read||t.user_id==s.data.user.user_id||a||(r+=1,s.objs.new_msgs_count[t.user_id]=r,i.addClass("new-msg").data("count",r),n.html("("+r+")"),s.trigger_premium("play_sound","new-msg"),s.notify(s.strings.msg.new_msg,t.user_name+": "+t.msg,null,"new_msg")),s.data.user.conversation_id==t.conversation_id&&(e("#YLC_load_msg").remove(),s.add_msg(t,s.objs.last_user_id,s.objs.last_msg_id),s.objs.last_user_id=t.user_id,s.objs.last_user_id==t.user_id&&s.objs.last_msg_id||(s.objs.last_msg_id=t.msg_id)),a&&s.data.ref_msgs.child(a).child("read").set(!0)}},listen_new_msgs:function(e){var t=this,a=e?t.data.ref_msgs.startAt(null,e):t.data.ref_msgs,s=!0;e||(s=!1),a.on("child_added",function(e){var a=e.val();a.id=e.key(),t.new_msg(a),s=!1})},add_msg:function(e,t,a){var s=new Date,i=new Date(e.msg_time),n=i.getHours()+":"+(i.getMinutes()<10?"0":"")+i.getMinutes(),r=this.sanitize_msg(e.msg),o=i.toDateString()==s.toDateString()?n:i.getUTCDate()+" "+this.strings.months_short[i.getUTCMonth()]+", "+n;if(this.objs.cnv){var _=e.user_id==this.data.user.user_id?" chat-you":"",c=i.getUTCDate()+" "+this.strings.months[i.getUTCMonth()]+" "+i.getUTCFullYear()+" "+n,d=this.set_avatar(e.user_type,{gravatar:e.gravatar,avatar_type:e.avatar_type,avatar_image:e.avatar_image});this.objs.cnv.append('<div id="YLC_msg_'+e.id+'" class="chat-cnv-line'+_+'"><div title="'+c+'" class="chat-cnv-time">'+o+'</div><div class="chat-avatar"><img src="'+d+'" /></div> <div class="chat-cnv-msg"><div class="chat-cnv-author">'+e.user_name+"</div>"+r+'</div> </div><div class="chat-clear"></div>').scrollTop(this.objs.cnv.prop("scrollHeight"))}},sanitize_msg:function(e){var t,a,s,i,n,r={"&":"&amp;","<":"&lt;",">":"&gt;"};return t=e.replace(/[&<>]/g,function(e){return r[e]||e}),n=/\n/gim,t=t.replace(n,"<br />"),a=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,t=t.replace(a,'<a href="$1" target="_blank">$1</a>'),s=/(^|[^\/])(www\.[\S]+(\b|$))/gim,t=t.replace(s,'$1<a href="http://$2" target="_blank">$2</a>'),i=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,t=t.replace(i,'<a href="mailto:$1">$1</a>')},manage_reply_box:function(t){var a=this,s=!1,i=e("#YLC_cnv_reply"),n=function(){var e=0;return function(t,a){clearTimeout(e),e=setTimeout(t,a)}}();this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").remove(),i.keydown(function(t){if(13!==t.keyCode||t.shiftKey){if(!s){switch(t.keyCode){case 17:case 18:case 16:case 9:case 8:case 224:case 17:case 91:case 93:return}a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).set(a.data.user.user_name),s=!0}n(function(){a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).remove(),s=!1},1300)}else{t.preventDefault();var i=e(this).val();i&&(e(this).val("").trigger("autosize.resize"),a.push_msg(i),a.data.ref_cnv.child(a.data.user.conversation_id+"/typing/"+a.data.user.user_id).remove())}}),t&&(this.data.ref_cnv.child(t+"/typing").off(),this.data.ref_cnv.child(t).off("child_added")),this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").on("value",function(t){var s=0,i=t.val(),n=i?Object.keys(i).length:0;return i?void e.each(i,function(e,t){return null!=e&&e!=a.data.user.user_id?void a.display_ntf(a.strings.msg.writing.replace(/%s/i,t),"typing"):(n===s&&a.clean_ntf(),void(s+=1))}):void a.clean_ntf()}),this.data.ref_cnv.child(this.data.user.conversation_id).on("child_added",function(t){"closed"==t.val()&&(e("#YLC_cnv_reply").attr("disabled","disabled"),e(".chat-cnv-input").addClass("chat-disabled"))})},reload_cnv:function(t){var a=this;this.data.ref_msgs.once("value",function(s){var i=(new Date,s.val()),n=i?Object.keys(i).length:0,r=0,o=1;i?e.each(i,function(e,s){s.conversation_id==t&&(a.new_msg(s,e),r+=1),n==o&&a.cnv_msgs_loaded(r),o+=1}):a.cnv_msgs_loaded(0)})},cnv_msgs_loaded:function(t){t?e("#YLC_load_msg").empty():e("#YLC_load_msg").html(this.strings.msg.no_msg+".")},push_msg:function(e){this.data.ref_msgs.push({user_id:this.data.user.user_id,user_type:this.data.user.user_type,conversation_id:this.data.user.conversation_id,user_name:this.data.user.user_name||this.data.user.user_email,gravatar:this.data.user.gravatar,avatar_type:this.data.user.avatar_type,avatar_image:this.data.user.avatar_image,msg:e,msg_time:Firebase.ServerValue.TIMESTAMP,vendor_id:ylc.active_vendor.vendor_id,read:!0})},get_user_data:function(e,t){this.data.ref_users.child(e).once("value",function(e){var a=e.val();t(a)})},manage_connections:function(){var t=this;this.data.ref_user&&this.data.ref_conn.on("value",function(a){if(a.val()===!0){e("#YLC_firebase_offline").hide();var s=t.data.ref_user.child("connections").push(!0);s.onDisconnect().remove(),t.data.ref_user.child("status").set("online"),t.data.ref_user.child("status").onDisconnect().set("offline"),t.data.ref_user.child("last_online").onDisconnect().set(Firebase.ServerValue.TIMESTAMP),t.data.ref_cnv.child(t.data.user.conversation_id+"/typing/"+t.data.user.user_id).onDisconnect().remove()}else e("#YLC_firebase_offline").show()})},post:function(t,a,s,i){e.post(ylc.ajax_url+"?action="+t+"&mode="+a,s,i,"json").fail(function(e){return console.log(a,": ",e),!1})},trigger_premium:function(e,t,a,s,i,n,r){return ylc.is_premium?this.premium[e].call(this,t,a,s,i,n,r):void 0},check_ntf:function(){"Notification"in t&&"denied"!==Notification.permission&&Notification.requestPermission(function(e){"permission"in Notification||(Notification.permission=e)})},display_ntf:function(t,a){var s;switch(a){case"success":s='<i class="fa fa-check"></i> ';break;case"error":s='<i class="fa fa-exclamation-triangle"></i> ';break;case"typing":s='<i class="fa fa-pencil-square-o"></i> ';break;default:s=""}e("#YLC_popup_ntf").removeClass().addClass("chat-ntf chat-"+a).html(s+t).fadeIn(300)},clean_ntf:function(){e("#YLC_popup_ntf").html("").hide()},clear_user_data:function(t,a){var s=this;this.data.ref_cnv.child(t).once("value",function(i){var n=i.val();if(n){var r=n.user_id;s.data.ref_msgs.once("value",function(i){var n=i.val(),o=n?Object.keys(n).length:0,_=0;n?e.each(n,function(e,i){_+=1,i.conversation_id===t&&s.data.ref_msgs.child(e).remove(),o===_&&a&&a()}):a&&a(),s.data.ref_users.child(r).remove(),s.data.ref_cnv.child(t).remove()})}})},total_online_ops:function(){return this.data.online_ops?Object.keys(this.data.online_ops).length:0},purge_firebase:function(t){var a=this;this.data.ref_users.once("value",function(i){var n=i.val(),r=0,o=[],_=[],c=[],d=t?0:3600;if(null!==n){var u=Object.keys(n).length,l=new Date;e.each(n,function(t,i){if(r++,i)if("offline"===i.status){var n=.001*(l.getTime()-i.last_online)>>0;n>=d&&("operator"!=i.user_type?null!=i.conversation_id?_.push(i.conversation_id):o.push(t):(o.push(t),c.push(i.conversation_id)))}else if("wait"===i.status)if(i.last_online===s)o.push(t);else{var n=.001*(l.getTime()-i.last_online)>>0;n>=2*d&&o.push(t)}r===u&&(e.each(o,function(e,t){a.data.ref_users.child(t).remove()}),e.each(c,function(e,t){a.data.ref_cnv.child(t).remove()}),e.each(_,function(e,t){ylc.is_premium?a.trigger_premium("save_user_data",t,!0,l.getTime()):a.clear_user_data(t)}))})}})},show_welcome_popup:function(){e("#YLC_popup_cnv").addClass("chat-welcome"),e("#YLC_cnv").hide(),e("#YLC_cnv_bottom").hide(),e("#YLC_sidebar_right").hide()},valid_operator:function(e){return ylc.yith_wpv_active?ylc.yith_wpv_active&&ylc.active_vendor.vendor_id===e?!0:ylc.yith_wpv_active&&"0"==ylc.active_vendor.vendor_id&&!ylc.vendor_only_chat?!0:!1:!0}},e.fn[n]=function(){var e;this.data(r)instanceof i||this.data(r,new i(this)),e=this.data(r),e.el=this,e.init()},e(a).ready(function(){e("#YLC_console").ylc_console(),e(t).resize(function(){var a=e(t).height(),s=e(t).width(),i=a-74,n=e("#wpbody-content").width()||e(".yith-wcfm-content").width();766>s?(e("#YLC_console").css("height",""),e("#YLC_sidebar_left").css("height",""),e("#YLC_popup_cnv").css("height",""),e("#YLC_sidebar_right").css("height",""),e("#YLC_users").css("height",""),e("#YLC_cnv").css("height",250),e(".yith-live-chat-console-container").width(n-12)):(e("#YLC_console").height(i),e("#YLC_sidebar_left").height(i),e("#YLC_popup_cnv").height(i),e("#YLC_sidebar_right").height(i),e("#YLC_users").height(i-110),e("#YLC_cnv").height(i-e("#YLC_cnv_bottom").innerHeight()-30),e(".yith-live-chat-console-container").width(n-20))}).trigger("resize")})}(jQuery,window,document);
modules/yith-live-chat/assets/js/ylc-engine-frontend.js CHANGED
@@ -1521,7 +1521,7 @@
1521
  var autoWidth = $(this).css('width', 'auto').width();
1522
 
1523
  $(this).width(self.opts.styles.btn_width).animate({
1524
- width: autoWidth
1525
  }, 250);
1526
 
1527
  }
@@ -2027,6 +2027,9 @@
2027
  * \u4E00-\u9FFF => CJK Unified Ideographs
2028
  * \uF900-\uFAFF => CJK Compatibility Ideographs
2029
  * \uFE30-\uFE4F => CJK Compatibility Forms
 
 
 
2030
  * \u0020 => Basic Latin ( space )
2031
  * \u002D => Basic Latin ( - )
2032
  * \u002E => Basic Latin ( . )
@@ -2034,7 +2037,7 @@
2034
  * \u005F => Basic Latin ( _ )
2035
  */
2036
 
2037
- var re = /^[\u0030-\u0039\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u024F\u0370-\u03FF\u0400-\u04FF\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u1100-\u11FF\u3130-\u318F\uAC00-\uD7AF\u2E80-\u2EFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF\uFE30-\uFE4F\u0020\u002D\u002E\u0040\u005F]+$/gim
2038
  return re.test(username);
2039
 
2040
  },
1521
  var autoWidth = $(this).css('width', 'auto').width();
1522
 
1523
  $(this).width(self.opts.styles.btn_width).animate({
1524
+ width: autoWidth + 10
1525
  }, 250);
1526
 
1527
  }
2027
  * \u4E00-\u9FFF => CJK Unified Ideographs
2028
  * \uF900-\uFAFF => CJK Compatibility Ideographs
2029
  * \uFE30-\uFE4F => CJK Compatibility Forms
2030
+ * \u3040-\u309F => Hiragana
2031
+ * \u30A0-\u30FF => Katakana
2032
+ * \u31F0-\u31FF => Katakana Phonetic Extensions
2033
  * \u0020 => Basic Latin ( space )
2034
  * \u002D => Basic Latin ( - )
2035
  * \u002E => Basic Latin ( . )
2037
  * \u005F => Basic Latin ( _ )
2038
  */
2039
 
2040
+ var re = /^[\u0030-\u0039\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u024F\u0370-\u03FF\u0400-\u04FF\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u1100-\u11FF\u3130-\u318F\uAC00-\uD7AF\u2E80-\u2EFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF\uFE30-\uFE4F\u3040-\u309F\u30A0-\u30FF\u31F0-\u31FF\u0020\u002D\u002E\u0040\u005F]+$/gim
2041
  return re.test(username);
2042
 
2043
  },
modules/yith-live-chat/assets/js/ylc-engine-frontend.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e,s,i){function a(){this.opts=t.extend(r,ylc.defaults),this.premium=t.extend({},_)}var n="ylc",o="plugin_"+n,r={app_id:"",render:!0,display_login:!0,user_info:{user_id:null,user_name:null,user_email:null,gravatar:null,user_type:null,avatar_type:null,avatar_image:null,current_page:null,user_ip:null},styles:{bg_color:"#009EDB",x_pos:"right",y_pos:"bottom",border_radius:"5px 5px 0 0",popup_width:370,btn_width:260,btn_height:0,btn_type:"classic",form_width:260,animation_type:"bounceIn",autoplay:!0,autoplay_delay:1e3}},u=null,_={};a.prototype={init:function(){this.data={auth:null,ref:null,is_mobile:!1,active_user_id:0,mode:"offline",logged:!1,assets_url:ylc.plugin_url,animation_delay:1e3,show_delay:1e3,guest_prefix:"Guest-",primary_fg:null,primary_hover:null,popup_status:"close",user:{},current_form:{},online_ops:{}},this.strings=ylc.strings,this.objs={btn:null,popup:null,popup_header:null,cnv:null};var t=this;this.trigger_premium("logged_users_auth"),this.trigger_premium("premium_frontend"),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(this.data.is_mobile=!0),this.post("ylc_ajax_callback","get_token",{},function(e){e.error||(t.data.auth_token=e.token,t.render_chat(),t.trigger_premium("autoplay"))})},auth:function(t){return this.opts.app_id?(null==this.data.ref&&(this.data.ref=new Firebase("https://"+this.opts.app_id+".firebaseIO.com"),this.data.ref_conn=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/.info/connected"),this.data.ref_cnv=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_sessions"),this.data.ref_msgs=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_messages"),this.data.ref_users=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_users")),void(this.opts.display_login?this.login(!1,t):this.login(!0,t))):void console.error("App ID not provided")},login:function(e,s){var a=this;this.manage_connections(),this.data._new_user=e,this.data.auth=this.data.ref.authWithCustomToken(this.data.auth_token,function(e){e?(console.error(e.code,e.message),a.display_ntf(a.strings.msg.conn_err,"error","#YLC_login_ntf")):(a.data.logged=!0,a.data.ref_users.once("value",function(e){var n=e.val(),o=0,r=!1,_=0,c=!1,l=!1;if(null!==n){var h=Object.keys(n).length;t.each(n,function(t,e){_++,e&&("operator"==e.user_type&&"online"===e.status?a.valid_operator(e.vendor_id)&&(a.data.online_ops[e.user_id]=e):"operator"!=e.user_type&&(e.user_name!==i&&e.user_id!=a.opts.user_info.user_id&&o++,e.user_email!==i&&a.data.current_form.user_email!==i&&(e.user_email!=a.data.current_form.user_email||ylc.frontend_op_access||(e.user_ip==a.opts.user_info.user_ip?"online"===e.status&&e.user_id!=a.opts.user_info.user_id?c=!0:l=e.conversation_id:c=!0)))),c?a.display_ntf(a.strings.msg.already_logged,"error","#YLC_login_ntf"):_===h&&(a.total_online_ops()||l?"operator"==a.opts.user_info.user_type||o<ylc.max_guests||0==ylc.max_guests?(null!=u&&clearInterval(u),a.opts.display_login?a.show_login():a.show_cnv(!0)):(r=!0,a.show_offline(!0)):a.show_offline(),a.check_user(a.opts.user_info.user_id,r,l))})}else a.show_offline(),a.check_user(a.opts.user_info.user_id,!1);s&&s(r)}))})},logout:function(s){var i=this;this.data.user.user_id&&(i.data.ref_user.off(),i.data.ref_users.off(),i.data.ref_msgs.off()),t(".chat-body").hide(),t("#YLC_end_chat").show(),ylc.is_premium?i.trigger_premium("end_chat_frontend",s):(s&&i.clear_user_data(i.data.user.conversation_id),setTimeout(function(){i.be_offline(),i.minimize()},2e3)),i.objs.popup_header.click(function(){i.minimize(),i.objs.popup_header.off("click")}),t(e).trigger("resize")},be_offline:function(){this.data.mode="offline",this.data.ref_user&&(this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("last_online").set(Firebase.ServerValue.TIMESTAMP)),this.check_mode(!0)},check_mode:function(e){var s=this.data.mode;if(e)this.show_connecting(),this.data.mode="offline";else if(this.total_online_ops())"offline"===s&&(t("#YLC_cnv_reply").removeClass("chat-disabled").removeAttr("disabled"),this.clean_ntf()),this.data.mode=this.opts.display_login&&"online"!=s?"login":"online";else{switch(s){case"login":this.show_offline();break;case"online":ylc.is_premium||(this.opts.display_login?(t("#YLC_cnv_reply").addClass("chat-disabled").attr("disabled","disabled"),this.display_ntf(this.strings.msg.no_op+"!","error","#YLC_popup_ntf")):this.show_offline())}this.data.mode="offline"}},show_offline:function(s){var a=this;this.data.mode="offline",this.allow_chatbox()&&(a.objs.popup.parent().removeClass().addClass("chat-offline"),t(".chat-body").hide(),t("#YLC_offline .chat-lead").hide(),t("#YLC_offline").show(),s?(ylc.show_busy_form||t("#YLC_popup_form").hide(),t("#YLC_offline .chat-lead.op-busy").show(),null!=u&&clearInterval(u),u=setInterval(function(){a.data.ref_users.once("value",function(e){var s=e.val(),n=0;null!==s&&t.each(s,function(t,e){e&&e.user_name!==i&&"operator"!=e.user_type&&e.user_id!=a.opts.user_info.user_id&&n++}),n<ylc.max_guests&&(a.opts.display_login?a.login(!1):a.login(!0))})},3e4)):t("#YLC_offline .chat-lead.op-offline").show(),t(e).trigger("resize"))},show_connecting:function(){t(".chat-body").hide(),t("#YLC_connecting").show()},show_login:function(){var s=this;this.allow_chatbox()&&(this.opts.display_login&&this.total_online_ops()&&this.objs.popup?(this.data.mode="login",this.objs.popup.parent().removeClass().addClass("chat-login"),t(".chat-body").hide(),t("#YLC_login").show(),t(e).trigger("resize"),t("#YLC_login_btn").hover(function(){t(this).css("background-color",s.data.primary_hover)},function(){t(this).css("background-color",s.opts.styles.bg_color)}).click(function(){s.send_login_form()}),t("#YLC_login_form").keydown(function(t){13!=t.keyCode||t.shiftKey||(t.preventDefault(),s.send_login_form())})):"online"===s.data.mode?this.show_cnv():this.show_offline())},send_login_form:function(){var e=this;this.display_ntf(this.strings.msg.connecting+"...","sending","#YLC_login_ntf");var s=t("#YLC_login_form").serializeArray(),i=s.length-1;t.each(s,function(t,s){if(e.data.current_form[s.name]=s.value,!s.value)return e.display_ntf(e.strings.msg.field_empty,"error","#YLC_login_ntf"),!1;if("user_email"===s.name){if(!e.validate_email(s.value))return e.display_ntf(e.strings.msg.invalid_email,"error","#YLC_login_ntf"),!1;e.data.current_form.gravatar=e.md5(s.value)}else if(!e.validate_username(s.value))return e.display_ntf(e.strings.msg.invalid_username,"error","#YLC_login_ntf"),!1;t===i&&setTimeout(function(){e.login(!0)},1e4)})},check_user:function(t,e,s){var i=this;this.data.ref_user=this.data.ref_users.child(t),e?this.data.ref_user.child("status").set("wait"):(this.data.ref_user.once("value",function(e){var a=e.val();a||(a={}),i.get_user(t,a,s)}),this.data.ref_user.child("chat_with").on("value",function(t){var e=t.val();null!=e&&(i.data.user.chat_with=e)})),this.data.ref_users.on("child_removed",function(e){var s=e.val();s&&t===s.user_id&&i.logout()})},get_user:function(t,e,s,i){var a=this;if(e.user_id)this.data.user=e,this.data.ref_user.child("status").set("online"),this.data.ref_user.child("user_ip").set(a.opts.user_info.user_ip),this.data.ref_user.child("current_page").set(a.opts.user_info.current_page),this.data.ref_user.child("vendor_id").set(ylc.active_vendor.vendor_id),this.data.ref_user.child("vendor_name").set(ylc.active_vendor.vendor_name),this.data.ref_user.child("chat_with").set("free"),this.total_online_ops()?this.show_cnv():this.show_offline(),this.manage_connections(),a.listen_users(),i&&i();else if(this.data._new_user===!0){var n=this.data.ref_cnv.push({user_id:t,created_at:Firebase.ServerValue.TIMESTAMP,accepted_at:"",evaluation:"",user_type:"visitor",receive_copy:!1}),o={user_id:t,conversation_id:n.key(),last_online:"",is_mobile:this.data.is_mobile,chat_with:"free",status:"online",vendor_id:ylc.active_vendor.vendor_id,vendor_name:ylc.active_vendor.vendor_name};for(var r in this.opts.user_info)o[r]=this.opts.user_info[r];for(var u in this.data.current_form)o[u]=this.data.current_form[u];o.user_name||(o.user_email?o.user_name=o.user_email.substring(0,o.user_email.indexOf("@")):o.user_name=this.data.guest_prefix+this.random_id(1e3,5e3)),this.data.user=o,this.data.ref_user.set(o,function(t){if(!t&&(a.show_cnv(),a.manage_connections(),a.listen_users(),s))if(ylc.is_premium){var e=new Date;a.trigger_premium("save_user_data",s,!0,e.getTime(),!1)}else a.clear_user_data(s);i&&i()})}else a.listen_users()},show_cnv:function(s){var i=this;this.data.mode="online",this.allow_chatbox()&&(this.objs.popup.parent().removeClass().addClass("chat-online"),t(".chat-body").hide(),t("#YLC_chat_body").show(),this.objs.cnv=t("#YLC_cnv"),s?setTimeout(function(){t("#YLC_cnv_reply").focus().autosize({append:""}).trigger("autosize.resize")},this.data.animation_delay):t("#YLC_cnv_reply").focus().autosize({append:""}).trigger("autosize.resize"),t(e).trigger("resize"),this.listen_msgs(),t("#YLC_tool_end_chat").click(function(){i.push_msg("-- "+i.strings.msg.close_msg_user+" --"),i.data.ref_cnv.child(i.data.user.conversation_id).child("status").set("closed"),i.logout(!0)}),this.manage_reply_box())},listen_users:function(){var e=this;this.data.last_changed_id=null,this.data.ref_users.once("value",function(s){var i=s.val(),a=0;if(null!==i){var n=Object.keys(i).length;e.data.online_ops={},t.each(i,function(t,s){a+=1,s&&e.valid_operator(s.vendor_id)&&"operator"===s.user_type&&("online"===s.status?e.data.online_ops[s.user_id]=s:delete e.data.online_ops[s.user_id]),a===n&&(e.check_mode(),e.listen_new_users())})}})},listen_new_users:function(e){var s=this;this.data.ref_users.on("value",function(e){var i=e.val();t.each(i,function(t,e){s.update_user(e)})})},update_user:function(t,e){(!t||t.user_id)&&(t&&(t.conversation_id?("operator"===t.user_type&&("online"===t.status?this.data.online_ops[t.user_id]=t:delete this.data.online_ops[t.user_id]),this.check_mode()):this.clean_user_data(t.user_id)),this.data.last_changed_id=e)},clean_user_data:function(e){var s=this,i=this.data.ref_users.child(e);i.once("value",function(a){var n=a.val();i.remove(),n.conversation_id&&s.ref_cnv.child(n.conversation_id),s.data.ref_msgs.once("value",function(i){var a=i.val();a&&t.each(a,function(t,i){i.user_id===e&&s.data.ref_msgs.child(t).remove()})})})},set_avatar:function(t,e){return t="operator"==t?"admin":"user",ylc.is_premium?this.trigger_premium("set_avatar_premium",t,e):this.data.assets_url+"/images/default-avatar-"+t+".png"},time:function(t,e){return this.strings.time[t]&&this.strings.time[t].replace(/%d/i,Math.abs(Math.round(e)))},timeago:function(t){if(!t)return"";var e=new Date,s=.001*(e.getTime()-t)>>0,i=s/60,a=i/60,n=a/24,o=n/365;return(45>s&&this.time("seconds",s)||90>s&&this.time("minute",1)||45>i&&this.time("minutes",i)||90>i&&this.time("hour",1)||24>a&&this.time("hours",a)||42>a&&this.time("day",1)||30>n&&this.time("days",n)||45>n&&this.time("month",1)||365>n&&this.time("months",n/30)||1.5>o&&this.time("year",1)||this.time("years",o))+" "+this.strings.time.suffix},listen_msgs:function(){var e=this;this.data.ref_msgs.off(),this.data.ref_msgs.once("value",function(s){var i=s.val(),a=i?Object.keys(i).length:0,n=1;i?t.each(i,function(t,s){e.data.user.conversation_id==s.conversation_id&&(s.id=t,e.add_msg(s)),s.first_load=!0,a==n&&e.listen_new_msgs(t),n+=1}):e.listen_new_msgs()})},listen_new_msgs:function(t){var e=this,s=t?e.data.ref_msgs.startAt(null,t):e.data.ref_msgs,i=!0;t||(i=!1),s.on("child_added",function(t){var s=t.val();s.id=t.key(),e.data.user.conversation_id==s.conversation_id&&(i||e.add_msg(s)),i||e.show_popup(),i=!1})},add_msg:function(t){var e=new Date,s=new Date(t.msg_time),i=s.getHours()+":"+(s.getMinutes()<10?"0":"")+s.getMinutes(),a=this.sanitize_msg(t.msg),n=s.toDateString()==e.toDateString()?i:s.getUTCDate()+" "+this.strings.months_short[s.getUTCMonth()]+", "+i;if(this.objs.cnv.find(".chat-welc").hide(),this.objs.cnv){var o=t.user_id==this.data.user.user_id?" chat-you":"",r=s.getUTCDate()+" "+this.strings.months[s.getUTCMonth()]+" "+s.getUTCFullYear()+" "+i,u=this.set_avatar(t.user_type,{gravatar:t.gravatar,avatar_type:t.avatar_type,avatar_image:t.avatar_image});this.objs.cnv.append('<div id="YLC_msg_'+t.id+'" class="chat-cnv-line'+o+'"><div title="'+r+'" class="chat-cnv-time">'+n+'</div><div class="chat-avatar"><img src="'+u+'" /></div><div class="chat-cnv-msg"><div class="chat-cnv-author">'+t.user_name+"</div>"+a+'</div></div><div class="chat-clear"></div>').scrollTop(this.objs.cnv.prop("scrollHeight"))}},sanitize_msg:function(t){var e,s,i,a,n,o={"&":"&amp;","<":"&lt;",">":"&gt;"};return e=t.replace(/[&<>]/g,function(t){return o[t]||t}),n=/\n/gim,e=e.replace(n,"<br />"),s=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,e=e.replace(s,'<a href="$1" target="_blank">$1</a>'),i=/(^|[^\/])(www\.[\S]+(\b|$))/gim,e=e.replace(i,'$1<a href="http://$2" target="_blank">$2</a>'),a=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,e=e.replace(a,'<a href="mailto:$1">$1</a>')},manage_reply_box:function(e){var s=this,i=!1,a=t("#YLC_cnv_reply"),n=function(){var t=0;return function(e,s){clearTimeout(t),t=setTimeout(e,s)}}();this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").remove(),a.keydown(function(e){if(13!==e.keyCode||e.shiftKey){if(!i){switch(e.keyCode){case 17:case 18:case 16:case 9:case 8:case 224:case 17:case 91:case 93:return}s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).set(s.data.user.user_name),i=!0}n(function(){s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).remove(),i=!1},1300)}else{e.preventDefault();var a=t(this).val();a&&(t(this).val("").trigger("autosize.resize"),s.push_msg(a),s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).remove())}}),e&&this.data.ref_cnv.child(e+"/typing").off(),this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").on("value",function(e){var i=0,a=e.val(),n=a?Object.keys(a).length:0;return a?void t.each(a,function(t,e){return null!=t&&t!=s.data.user.user_id?void s.display_ntf(s.strings.msg.writing.replace(/%s/i,e),"typing","#YLC_popup_ntf"):(n===i&&s.clean_ntf(),void(i+=1))}):void s.clean_ntf()}),this.objs.popup.find(".chat-cnv-reply").click(function(){a.focus()})},reload_cnv:function(e){this.data.ref_msgs.once("value",function(s){var i=(new Date,s.val()),a=(i?Object.keys(i).length:0,0);i&&t.each(i,function(t,s){s.conversation_id==e&&(s.old_msg=!0,a+=1)})})},push_msg:function(t){this.data.ref_msgs.push({user_id:this.data.user.user_id,user_type:this.data.user.user_type,conversation_id:this.data.user.conversation_id,user_name:this.data.user.user_name||this.data.user.user_email,gravatar:this.data.user.gravatar,avatar_type:this.data.user.avatar_type,avatar_image:this.data.user.avatar_image,msg:t,msg_time:Firebase.ServerValue.TIMESTAMP,vendor_id:ylc.active_vendor.vendor_id,read:!1})},get_user_data:function(t,e){this.data.ref_users.child(t).once("value",function(t){var s=t.val();e(s)})},render_chat:function(){var i=this;this.data.primary_fg=this.use_white(this.opts.styles.bg_color)?"#ffffff":"#444444",this.data.primary_hover=this.shade_color(this.opts.styles.bg_color,7),this.objs.btn=t("#YLC_chat_btn"),this.objs.btn.hover(function(){if(t(this).css("background-color",i.data.primary_hover),"round"==i.opts.styles.btn_type&&ylc.button_animation){var e=t(this).css("width","auto").width();t(this).width(i.opts.styles.btn_width).animate({width:e},250)}},function(){t(this).css("background-color",i.opts.styles.bg_color),"round"==i.opts.styles.btn_type&&ylc.button_animation&&t(this).animate({width:i.opts.styles.btn_width},250)}),this.objs.btn.click(function(){t(this).hide(),i.show_popup(),i.auth()}),setTimeout(function(){i.show_btn()},this.data.show_delay),this.show_connecting(),this.objs.popup=t("#YLC_chat"),this.objs.popup_header=t("#YLC_chat_header"),t(s).on("hover","#YLC_send_btn",function(){t(this).css("background-color",i.data.primary_hover)},function(){t(this).css("background-color",i.opts.styles.bg_color)}),t(e).resize(function(){var a=e,n=s,o=n.documentElement,r=n.getElementsByTagName("body")[0],u=(a.innerWidth||o.clientWidth||r.clientWidth,a.innerHeight||o.clientHeight||r.clientHeight),_=i.objs.popup_header.height(),c=parseInt(i.objs.popup.css("bottom"),10),l="online"===i.data.mode?320:450,h=u>l+_?l:u-_-c;t("#YLC_chat_body").css("max-height",h);var d=t(e).width();"round"==i.opts.styles.btn_type?i.objs.btn.css({width:i.opts.styles.btn_width+"px",left:"right"===i.opts.styles.x_pos?"auto":"20px",right:"left"===i.opts.styles.x_pos?"auto":"20px"}):d>480?i.objs.btn.css({width:i.opts.styles.btn_width+"px",left:"right"===i.opts.styles.x_pos?"auto":"40px",right:"left"===i.opts.styles.x_pos?"auto":"40px"}):i.objs.btn.css({width:"",left:"right"===i.opts.styles.x_pos?"auto":0,right:"left"===i.opts.styles.x_pos?"auto":0}),d>480?(i.objs.popup.css({left:"right"===i.opts.styles.x_pos?"auto":"40px",right:"left"===i.opts.styles.x_pos?"auto":"40px"}),t(".chat-body.chat-online").css("width",i.opts.styles.popup_width+"px"),t(".chat-body.chat-form").css("width",i.opts.styles.form_width+"px")):(i.objs.popup.css({left:"right"===i.opts.styles.x_pos?"auto":0,right:"left"===i.opts.styles.x_pos?"auto":0}),t(".chat-body").css("width",""))}).trigger("resize")},show_popup:function(){if("open"!=this.data.popup_status){var e=this;this.objs.popup.show(),this.animate(this.objs.popup,this.opts.styles.animation_type),setTimeout(function(){e.objs.popup_header.click(function(){e.be_offline(),e.minimize(),e.objs.popup_header.off("click")})},3e3),setTimeout(function(){switch(e.data.mode){case"online":t("#YLC_cnv_reply").focus(),e.objs.cnv.scrollTop(e.objs.cnv.prop("scrollHeight"));break;case"offline":case"login":t("#YLC_login_form .chat-line:first-child input").focus()}e.data.popup_status="open"},this.data.animation_delay)}},show_btn:function(t){this.allow_chatbox()&&(this.objs.btn.show(),this.objs.btn.find(".chat-title").html(t),this.animate(this.objs.btn,this.opts.styles.animation_type))},minimize:function(){this.data.popup_status="close",this.objs.popup&&(this.objs.popup.hide(),this.show_connecting()),this.objs.btn.show(),this.animate(this.objs.btn,this.opts.styles.animation_type)},manage_connections:function(){var t=this;this.data.ref_user&&this.data.ref_conn.on("value",function(e){if(e.val()===!0){var s=t.data.ref_user.child("connections").push(!0);s.onDisconnect().remove(),t.data.ref_user.child("status").set("online"),t.data.ref_user.child("status").onDisconnect().set("offline"),t.data.ref_user.child("last_online").onDisconnect().set(Firebase.ServerValue.TIMESTAMP),t.data.ref_cnv.child(t.data.user.conversation_id+"/typing/"+t.data.user.user_id).onDisconnect().remove()}else t.show_offline()})},post:function(e,s,i,a){t.post(ylc.ajax_url+"?action="+e+"&mode="+s,i,a,"json").fail(function(t){return console.log(s,": ",t),!1})},trigger_premium:function(t,e,s,i,a,n,o){return ylc.is_premium?this.premium[t].call(this,e,s,i,a,n,o):void 0},display_ntf:function(e,s,i){var a;switch(s){case"success":a='<i class="fa fa-check"></i> ';break;case"error":a='<i class="fa fa-exclamation-triangle"></i> ';break;case"typing":a='<i class="fa fa-pencil-square-o"></i> ';break;default:a=""}t(i).removeClass().addClass("chat-ntf chat-"+s).html(a+e).fadeIn(300)},clean_ntf:function(){t(".chat-ntf").html("").hide()},clear_user_data:function(e,s){var i=this;this.data.ref_cnv.child(e).once("value",function(a){var n=a.val();if(n){var o=n.user_id;i.data.ref_msgs.once("value",function(a){var n=a.val(),r=n?Object.keys(n).length:0,u=0;n?t.each(n,function(t,a){u+=1,a.conversation_id===e&&i.data.ref_msgs.child(t).remove(),r===u&&s&&s()}):s&&s(),i.data.ref_users.child(o).remove(),i.data.ref_cnv.child(e).remove()})}})},total_online_ops:function(){return this.data.online_ops?Object.keys(this.data.online_ops).length:0},allow_chatbox:function(){return this.opts.render?!0:!1},animate:function(s,i){t(e).trigger("resize");var a="top"===this.opts.styles.y_pos?"Down":"Up";s.addClass("chat-anim chat-"+i+a),setTimeout(function(){s.removeClass("chat-anim chat-"+i+a)},this.data.animation_delay)},shade_color:function(t,e){var s=parseInt(t.slice(1),16),i=Math.round(2.55*e),a=(s>>16)+i,n=(s>>8&255)+i,o=(255&s)+i;return"#"+(16777216+65536*(255>a?1>a?0:a:255)+256*(255>n?1>n?0:n:255)+(255>o?1>o?0:o:255)).toString(16).slice(1)},use_white:function(t){var t=t.substring(1),e=parseInt(t,16),s=e>>16&255,i=e>>8&255,a=e>>0&255,n=.2126*s+.7152*i+.0722*a;return 180>n?!0:!1},validate_email:function(t){var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t)},validate_username:function(t){var e=/^[\u0030-\u0039\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u024F\u0370-\u03FF\u0400-\u04FF\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u1100-\u11FF\u3130-\u318F\uAC00-\uD7AF\u2E80-\u2EFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF\uFE30-\uFE4F\u0020\u002D\u002E\u0040\u005F]+$/gim;return e.test(t)},md5:function(t){function e(t,e){var s,i,a,n,o;return a=2147483648&t,n=2147483648&e,s=1073741824&t,i=1073741824&e,o=(1073741823&t)+(1073741823&e),s&i?2147483648^o^a^n:s|i?1073741824&o?3221225472^o^a^n:1073741824^o^a^n:o^a^n}function s(t,s,i,a,n,o,r){return t=e(t,e(e(s&i|~s&a,n),r)),e(t<<o|t>>>32-o,s)}function i(t,s,i,a,n,o,r){return t=e(t,e(e(s&a|i&~a,n),r)),e(t<<o|t>>>32-o,s)}function a(t,s,i,a,n,o,r){return t=e(t,e(e(s^i^a,n),r)),e(t<<o|t>>>32-o,s)}function n(t,s,i,a,n,o,r){return t=e(t,e(e(i^(s|~a),n),r)),e(t<<o|t>>>32-o,s)}function o(t){var e,s="",i="";for(e=0;3>=e;e++)i=t>>>8*e&255,i="0"+i.toString(16),s+=i.substr(i.length-2,2);return s}var r,u,_,c,l,h,d,f,p=[];for(t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",s=0;s<t.length;s++){var i=t.charCodeAt(s);128>i?e+=String.fromCharCode(i):(i>127&&2048>i?e+=String.fromCharCode(i>>6|192):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128)),e+=String.fromCharCode(63&i|128))}return e}(t),p=function(t){var e,s=t.length;e=s+8;for(var i=16*((e-e%64)/64+1),a=Array(i-1),n=0,o=0;s>o;)e=(o-o%4)/4,n=o%4*8,a[e]|=t.charCodeAt(o)<<n,o++;return e=(o-o%4)/4,a[e]|=128<<o%4*8,a[i-2]=s<<3,a[i-1]=s>>>29,a}(t),l=1732584193,h=4023233417,d=2562383102,f=271733878,t=0;t<p.length;t+=16)r=l,u=h,_=d,c=f,l=s(l,h,d,f,p[t+0],7,3614090360),f=s(f,l,h,d,p[t+1],12,3905402710),d=s(d,f,l,h,p[t+2],17,606105819),h=s(h,d,f,l,p[t+3],22,3250441966),l=s(l,h,d,f,p[t+4],7,4118548399),f=s(f,l,h,d,p[t+5],12,1200080426),d=s(d,f,l,h,p[t+6],17,2821735955),h=s(h,d,f,l,p[t+7],22,4249261313),l=s(l,h,d,f,p[t+8],7,1770035416),f=s(f,l,h,d,p[t+9],12,2336552879),d=s(d,f,l,h,p[t+10],17,4294925233),h=s(h,d,f,l,p[t+11],22,2304563134),l=s(l,h,d,f,p[t+12],7,1804603682),f=s(f,l,h,d,p[t+13],12,4254626195),d=s(d,f,l,h,p[t+14],17,2792965006),h=s(h,d,f,l,p[t+15],22,1236535329),l=i(l,h,d,f,p[t+1],5,4129170786),f=i(f,l,h,d,p[t+6],9,3225465664),d=i(d,f,l,h,p[t+11],14,643717713),h=i(h,d,f,l,p[t+0],20,3921069994),l=i(l,h,d,f,p[t+5],5,3593408605),f=i(f,l,h,d,p[t+10],9,38016083),d=i(d,f,l,h,p[t+15],14,3634488961),h=i(h,d,f,l,p[t+4],20,3889429448),l=i(l,h,d,f,p[t+9],5,568446438),f=i(f,l,h,d,p[t+14],9,3275163606),d=i(d,f,l,h,p[t+3],14,4107603335),h=i(h,d,f,l,p[t+8],20,1163531501),l=i(l,h,d,f,p[t+13],5,2850285829),f=i(f,l,h,d,p[t+2],9,4243563512),d=i(d,f,l,h,p[t+7],14,1735328473),h=i(h,d,f,l,p[t+12],20,2368359562),l=a(l,h,d,f,p[t+5],4,4294588738),f=a(f,l,h,d,p[t+8],11,2272392833),d=a(d,f,l,h,p[t+11],16,1839030562),h=a(h,d,f,l,p[t+14],23,4259657740),l=a(l,h,d,f,p[t+1],4,2763975236),f=a(f,l,h,d,p[t+4],11,1272893353),d=a(d,f,l,h,p[t+7],16,4139469664),h=a(h,d,f,l,p[t+10],23,3200236656),l=a(l,h,d,f,p[t+13],4,681279174),f=a(f,l,h,d,p[t+0],11,3936430074),d=a(d,f,l,h,p[t+3],16,3572445317),h=a(h,d,f,l,p[t+6],23,76029189),l=a(l,h,d,f,p[t+9],4,3654602809),f=a(f,l,h,d,p[t+12],11,3873151461),d=a(d,f,l,h,p[t+15],16,530742520),h=a(h,d,f,l,p[t+2],23,3299628645),l=n(l,h,d,f,p[t+0],6,4096336452),f=n(f,l,h,d,p[t+7],10,1126891415),d=n(d,f,l,h,p[t+14],15,2878612391),h=n(h,d,f,l,p[t+5],21,4237533241),l=n(l,h,d,f,p[t+12],6,1700485571),f=n(f,l,h,d,p[t+3],10,2399980690),d=n(d,f,l,h,p[t+10],15,4293915773),h=n(h,d,f,l,p[t+1],21,2240044497),l=n(l,h,d,f,p[t+8],6,1873313359),f=n(f,l,h,d,p[t+15],10,4264355552),d=n(d,f,l,h,p[t+6],15,2734768916),h=n(h,d,f,l,p[t+13],21,1309151649),l=n(l,h,d,f,p[t+4],6,4149444226),f=n(f,l,h,d,p[t+11],10,3174756917),d=n(d,f,l,h,p[t+2],15,718787259),h=n(h,d,f,l,p[t+9],21,3951481745),l=e(l,r),h=e(h,u),d=e(d,_),f=e(f,c);return(o(l)+o(h)+o(d)+o(f)).toLowerCase()},random_id:function(t,e){return Math.floor(Math.random()*(e-t+1))+t},valid_operator:function(t){return ylc.yith_wpv_active?ylc.yith_wpv_active&&ylc.active_vendor.vendor_id===t?!0:ylc.yith_wpv_active&&"0"===t&&!ylc.vendor_only_chat?!0:!1:!0}},t.fn[n]=function(){var t;this.data(o)instanceof a||this.data(o,new a(this)),t=this.data(o),t.el=this,t.init()},t(s).ready(function(){t("#YLC").ylc(),t('a[href="#yith-live-chat"]').click(function(e){e.preventDefault(),t("#YLC_chat_btn").click()})})}(jQuery,window,document);
1
+ !function(t,e,s,i){function a(){this.opts=t.extend(r,ylc.defaults),this.premium=t.extend({},_)}var n="ylc",o="plugin_"+n,r={app_id:"",render:!0,display_login:!0,user_info:{user_id:null,user_name:null,user_email:null,gravatar:null,user_type:null,avatar_type:null,avatar_image:null,current_page:null,user_ip:null},styles:{bg_color:"#009EDB",x_pos:"right",y_pos:"bottom",border_radius:"5px 5px 0 0",popup_width:370,btn_width:260,btn_height:0,btn_type:"classic",form_width:260,animation_type:"bounceIn",autoplay:!0,autoplay_delay:1e3}},u=null,_={};a.prototype={init:function(){this.data={auth:null,ref:null,is_mobile:!1,active_user_id:0,mode:"offline",logged:!1,assets_url:ylc.plugin_url,animation_delay:1e3,show_delay:1e3,guest_prefix:"Guest-",primary_fg:null,primary_hover:null,popup_status:"close",user:{},current_form:{},online_ops:{}},this.strings=ylc.strings,this.objs={btn:null,popup:null,popup_header:null,cnv:null};var t=this;this.trigger_premium("logged_users_auth"),this.trigger_premium("premium_frontend"),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(this.data.is_mobile=!0),this.post("ylc_ajax_callback","get_token",{},function(e){e.error||(t.data.auth_token=e.token,t.render_chat(),t.trigger_premium("autoplay"))})},auth:function(t){return this.opts.app_id?(null==this.data.ref&&(this.data.ref=new Firebase("https://"+this.opts.app_id+".firebaseIO.com"),this.data.ref_conn=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/.info/connected"),this.data.ref_cnv=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_sessions"),this.data.ref_msgs=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_messages"),this.data.ref_users=new Firebase("https://"+this.opts.app_id+".firebaseIO.com/chat_users")),void(this.opts.display_login?this.login(!1,t):this.login(!0,t))):void console.error("App ID not provided")},login:function(e,s){var a=this;this.manage_connections(),this.data._new_user=e,this.data.auth=this.data.ref.authWithCustomToken(this.data.auth_token,function(e){e?(console.error(e.code,e.message),a.display_ntf(a.strings.msg.conn_err,"error","#YLC_login_ntf")):(a.data.logged=!0,a.data.ref_users.once("value",function(e){var n=e.val(),o=0,r=!1,_=0,c=!1,l=!1;if(null!==n){var h=Object.keys(n).length;t.each(n,function(t,e){_++,e&&("operator"==e.user_type&&"online"===e.status?a.valid_operator(e.vendor_id)&&(a.data.online_ops[e.user_id]=e):"operator"!=e.user_type&&(e.user_name!==i&&e.user_id!=a.opts.user_info.user_id&&o++,e.user_email!==i&&a.data.current_form.user_email!==i&&(e.user_email!=a.data.current_form.user_email||ylc.frontend_op_access||(e.user_ip==a.opts.user_info.user_ip?"online"===e.status&&e.user_id!=a.opts.user_info.user_id?c=!0:l=e.conversation_id:c=!0)))),c?a.display_ntf(a.strings.msg.already_logged,"error","#YLC_login_ntf"):_===h&&(a.total_online_ops()||l?"operator"==a.opts.user_info.user_type||o<ylc.max_guests||0==ylc.max_guests?(null!=u&&clearInterval(u),a.opts.display_login?a.show_login():a.show_cnv(!0)):(r=!0,a.show_offline(!0)):a.show_offline(),a.check_user(a.opts.user_info.user_id,r,l))})}else a.show_offline(),a.check_user(a.opts.user_info.user_id,!1);s&&s(r)}))})},logout:function(s){var i=this;this.data.user.user_id&&(i.data.ref_user.off(),i.data.ref_users.off(),i.data.ref_msgs.off()),t(".chat-body").hide(),t("#YLC_end_chat").show(),ylc.is_premium?i.trigger_premium("end_chat_frontend",s):(s&&i.clear_user_data(i.data.user.conversation_id),setTimeout(function(){i.be_offline(),i.minimize()},2e3)),i.objs.popup_header.click(function(){i.minimize(),i.objs.popup_header.off("click")}),t(e).trigger("resize")},be_offline:function(){this.data.mode="offline",this.data.ref_user&&(this.data.ref_user.child("status").set("offline"),this.data.ref_user.child("last_online").set(Firebase.ServerValue.TIMESTAMP)),this.check_mode(!0)},check_mode:function(e){var s=this.data.mode;if(e)this.show_connecting(),this.data.mode="offline";else if(this.total_online_ops())"offline"===s&&(t("#YLC_cnv_reply").removeClass("chat-disabled").removeAttr("disabled"),this.clean_ntf()),this.data.mode=this.opts.display_login&&"online"!=s?"login":"online";else{switch(s){case"login":this.show_offline();break;case"online":ylc.is_premium||(this.opts.display_login?(t("#YLC_cnv_reply").addClass("chat-disabled").attr("disabled","disabled"),this.display_ntf(this.strings.msg.no_op+"!","error","#YLC_popup_ntf")):this.show_offline())}this.data.mode="offline"}},show_offline:function(s){var a=this;this.data.mode="offline",this.allow_chatbox()&&(a.objs.popup.parent().removeClass().addClass("chat-offline"),t(".chat-body").hide(),t("#YLC_offline .chat-lead").hide(),t("#YLC_offline").show(),s?(ylc.show_busy_form||t("#YLC_popup_form").hide(),t("#YLC_offline .chat-lead.op-busy").show(),null!=u&&clearInterval(u),u=setInterval(function(){a.data.ref_users.once("value",function(e){var s=e.val(),n=0;null!==s&&t.each(s,function(t,e){e&&e.user_name!==i&&"operator"!=e.user_type&&e.user_id!=a.opts.user_info.user_id&&n++}),n<ylc.max_guests&&(a.opts.display_login?a.login(!1):a.login(!0))})},3e4)):t("#YLC_offline .chat-lead.op-offline").show(),t(e).trigger("resize"))},show_connecting:function(){t(".chat-body").hide(),t("#YLC_connecting").show()},show_login:function(){var s=this;this.allow_chatbox()&&(this.opts.display_login&&this.total_online_ops()&&this.objs.popup?(this.data.mode="login",this.objs.popup.parent().removeClass().addClass("chat-login"),t(".chat-body").hide(),t("#YLC_login").show(),t(e).trigger("resize"),t("#YLC_login_btn").hover(function(){t(this).css("background-color",s.data.primary_hover)},function(){t(this).css("background-color",s.opts.styles.bg_color)}).click(function(){s.send_login_form()}),t("#YLC_login_form").keydown(function(t){13!=t.keyCode||t.shiftKey||(t.preventDefault(),s.send_login_form())})):"online"===s.data.mode?this.show_cnv():this.show_offline())},send_login_form:function(){var e=this;this.display_ntf(this.strings.msg.connecting+"...","sending","#YLC_login_ntf");var s=t("#YLC_login_form").serializeArray(),i=s.length-1;t.each(s,function(t,s){if(e.data.current_form[s.name]=s.value,!s.value)return e.display_ntf(e.strings.msg.field_empty,"error","#YLC_login_ntf"),!1;if("user_email"===s.name){if(!e.validate_email(s.value))return e.display_ntf(e.strings.msg.invalid_email,"error","#YLC_login_ntf"),!1;e.data.current_form.gravatar=e.md5(s.value)}else if(!e.validate_username(s.value))return e.display_ntf(e.strings.msg.invalid_username,"error","#YLC_login_ntf"),!1;t===i&&setTimeout(function(){e.login(!0)},1e4)})},check_user:function(t,e,s){var i=this;this.data.ref_user=this.data.ref_users.child(t),e?this.data.ref_user.child("status").set("wait"):(this.data.ref_user.once("value",function(e){var a=e.val();a||(a={}),i.get_user(t,a,s)}),this.data.ref_user.child("chat_with").on("value",function(t){var e=t.val();null!=e&&(i.data.user.chat_with=e)})),this.data.ref_users.on("child_removed",function(e){var s=e.val();s&&t===s.user_id&&i.logout()})},get_user:function(t,e,s,i){var a=this;if(e.user_id)this.data.user=e,this.data.ref_user.child("status").set("online"),this.data.ref_user.child("user_ip").set(a.opts.user_info.user_ip),this.data.ref_user.child("current_page").set(a.opts.user_info.current_page),this.data.ref_user.child("vendor_id").set(ylc.active_vendor.vendor_id),this.data.ref_user.child("vendor_name").set(ylc.active_vendor.vendor_name),this.data.ref_user.child("chat_with").set("free"),this.total_online_ops()?this.show_cnv():this.show_offline(),this.manage_connections(),a.listen_users(),i&&i();else if(this.data._new_user===!0){var n=this.data.ref_cnv.push({user_id:t,created_at:Firebase.ServerValue.TIMESTAMP,accepted_at:"",evaluation:"",user_type:"visitor",receive_copy:!1}),o={user_id:t,conversation_id:n.key(),last_online:"",is_mobile:this.data.is_mobile,chat_with:"free",status:"online",vendor_id:ylc.active_vendor.vendor_id,vendor_name:ylc.active_vendor.vendor_name};for(var r in this.opts.user_info)o[r]=this.opts.user_info[r];for(var u in this.data.current_form)o[u]=this.data.current_form[u];o.user_name||(o.user_email?o.user_name=o.user_email.substring(0,o.user_email.indexOf("@")):o.user_name=this.data.guest_prefix+this.random_id(1e3,5e3)),this.data.user=o,this.data.ref_user.set(o,function(t){if(!t&&(a.show_cnv(),a.manage_connections(),a.listen_users(),s))if(ylc.is_premium){var e=new Date;a.trigger_premium("save_user_data",s,!0,e.getTime(),!1)}else a.clear_user_data(s);i&&i()})}else a.listen_users()},show_cnv:function(s){var i=this;this.data.mode="online",this.allow_chatbox()&&(this.objs.popup.parent().removeClass().addClass("chat-online"),t(".chat-body").hide(),t("#YLC_chat_body").show(),this.objs.cnv=t("#YLC_cnv"),s?setTimeout(function(){t("#YLC_cnv_reply").focus().autosize({append:""}).trigger("autosize.resize")},this.data.animation_delay):t("#YLC_cnv_reply").focus().autosize({append:""}).trigger("autosize.resize"),t(e).trigger("resize"),this.listen_msgs(),t("#YLC_tool_end_chat").click(function(){i.push_msg("-- "+i.strings.msg.close_msg_user+" --"),i.data.ref_cnv.child(i.data.user.conversation_id).child("status").set("closed"),i.logout(!0)}),this.manage_reply_box())},listen_users:function(){var e=this;this.data.last_changed_id=null,this.data.ref_users.once("value",function(s){var i=s.val(),a=0;if(null!==i){var n=Object.keys(i).length;e.data.online_ops={},t.each(i,function(t,s){a+=1,s&&e.valid_operator(s.vendor_id)&&"operator"===s.user_type&&("online"===s.status?e.data.online_ops[s.user_id]=s:delete e.data.online_ops[s.user_id]),a===n&&(e.check_mode(),e.listen_new_users())})}})},listen_new_users:function(e){var s=this;this.data.ref_users.on("value",function(e){var i=e.val();t.each(i,function(t,e){s.update_user(e)})})},update_user:function(t,e){(!t||t.user_id)&&(t&&(t.conversation_id?("operator"===t.user_type&&("online"===t.status?this.data.online_ops[t.user_id]=t:delete this.data.online_ops[t.user_id]),this.check_mode()):this.clean_user_data(t.user_id)),this.data.last_changed_id=e)},clean_user_data:function(e){var s=this,i=this.data.ref_users.child(e);i.once("value",function(a){var n=a.val();i.remove(),n.conversation_id&&s.ref_cnv.child(n.conversation_id),s.data.ref_msgs.once("value",function(i){var a=i.val();a&&t.each(a,function(t,i){i.user_id===e&&s.data.ref_msgs.child(t).remove()})})})},set_avatar:function(t,e){return t="operator"==t?"admin":"user",ylc.is_premium?this.trigger_premium("set_avatar_premium",t,e):this.data.assets_url+"/images/default-avatar-"+t+".png"},time:function(t,e){return this.strings.time[t]&&this.strings.time[t].replace(/%d/i,Math.abs(Math.round(e)))},timeago:function(t){if(!t)return"";var e=new Date,s=.001*(e.getTime()-t)>>0,i=s/60,a=i/60,n=a/24,o=n/365;return(45>s&&this.time("seconds",s)||90>s&&this.time("minute",1)||45>i&&this.time("minutes",i)||90>i&&this.time("hour",1)||24>a&&this.time("hours",a)||42>a&&this.time("day",1)||30>n&&this.time("days",n)||45>n&&this.time("month",1)||365>n&&this.time("months",n/30)||1.5>o&&this.time("year",1)||this.time("years",o))+" "+this.strings.time.suffix},listen_msgs:function(){var e=this;this.data.ref_msgs.off(),this.data.ref_msgs.once("value",function(s){var i=s.val(),a=i?Object.keys(i).length:0,n=1;i?t.each(i,function(t,s){e.data.user.conversation_id==s.conversation_id&&(s.id=t,e.add_msg(s)),s.first_load=!0,a==n&&e.listen_new_msgs(t),n+=1}):e.listen_new_msgs()})},listen_new_msgs:function(t){var e=this,s=t?e.data.ref_msgs.startAt(null,t):e.data.ref_msgs,i=!0;t||(i=!1),s.on("child_added",function(t){var s=t.val();s.id=t.key(),e.data.user.conversation_id==s.conversation_id&&(i||e.add_msg(s)),i||e.show_popup(),i=!1})},add_msg:function(t){var e=new Date,s=new Date(t.msg_time),i=s.getHours()+":"+(s.getMinutes()<10?"0":"")+s.getMinutes(),a=this.sanitize_msg(t.msg),n=s.toDateString()==e.toDateString()?i:s.getUTCDate()+" "+this.strings.months_short[s.getUTCMonth()]+", "+i;if(this.objs.cnv.find(".chat-welc").hide(),this.objs.cnv){var o=t.user_id==this.data.user.user_id?" chat-you":"",r=s.getUTCDate()+" "+this.strings.months[s.getUTCMonth()]+" "+s.getUTCFullYear()+" "+i,u=this.set_avatar(t.user_type,{gravatar:t.gravatar,avatar_type:t.avatar_type,avatar_image:t.avatar_image});this.objs.cnv.append('<div id="YLC_msg_'+t.id+'" class="chat-cnv-line'+o+'"><div title="'+r+'" class="chat-cnv-time">'+n+'</div><div class="chat-avatar"><img src="'+u+'" /></div><div class="chat-cnv-msg"><div class="chat-cnv-author">'+t.user_name+"</div>"+a+'</div></div><div class="chat-clear"></div>').scrollTop(this.objs.cnv.prop("scrollHeight"))}},sanitize_msg:function(t){var e,s,i,a,n,o={"&":"&amp;","<":"&lt;",">":"&gt;"};return e=t.replace(/[&<>]/g,function(t){return o[t]||t}),n=/\n/gim,e=e.replace(n,"<br />"),s=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,e=e.replace(s,'<a href="$1" target="_blank">$1</a>'),i=/(^|[^\/])(www\.[\S]+(\b|$))/gim,e=e.replace(i,'$1<a href="http://$2" target="_blank">$2</a>'),a=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,e=e.replace(a,'<a href="mailto:$1">$1</a>')},manage_reply_box:function(e){var s=this,i=!1,a=t("#YLC_cnv_reply"),n=function(){var t=0;return function(e,s){clearTimeout(t),t=setTimeout(e,s)}}();this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").remove(),a.keydown(function(e){if(13!==e.keyCode||e.shiftKey){if(!i){switch(e.keyCode){case 17:case 18:case 16:case 9:case 8:case 224:case 17:case 91:case 93:return}s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).set(s.data.user.user_name),i=!0}n(function(){s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).remove(),i=!1},1300)}else{e.preventDefault();var a=t(this).val();a&&(t(this).val("").trigger("autosize.resize"),s.push_msg(a),s.data.ref_cnv.child(s.data.user.conversation_id+"/typing/"+s.data.user.user_id).remove())}}),e&&this.data.ref_cnv.child(e+"/typing").off(),this.data.ref_cnv.child(this.data.user.conversation_id+"/typing").on("value",function(e){var i=0,a=e.val(),n=a?Object.keys(a).length:0;return a?void t.each(a,function(t,e){return null!=t&&t!=s.data.user.user_id?void s.display_ntf(s.strings.msg.writing.replace(/%s/i,e),"typing","#YLC_popup_ntf"):(n===i&&s.clean_ntf(),void(i+=1))}):void s.clean_ntf()}),this.objs.popup.find(".chat-cnv-reply").click(function(){a.focus()})},reload_cnv:function(e){this.data.ref_msgs.once("value",function(s){var i=(new Date,s.val()),a=(i?Object.keys(i).length:0,0);i&&t.each(i,function(t,s){s.conversation_id==e&&(s.old_msg=!0,a+=1)})})},push_msg:function(t){this.data.ref_msgs.push({user_id:this.data.user.user_id,user_type:this.data.user.user_type,conversation_id:this.data.user.conversation_id,user_name:this.data.user.user_name||this.data.user.user_email,gravatar:this.data.user.gravatar,avatar_type:this.data.user.avatar_type,avatar_image:this.data.user.avatar_image,msg:t,msg_time:Firebase.ServerValue.TIMESTAMP,vendor_id:ylc.active_vendor.vendor_id,read:!1})},get_user_data:function(t,e){this.data.ref_users.child(t).once("value",function(t){var s=t.val();e(s)})},render_chat:function(){var i=this;this.data.primary_fg=this.use_white(this.opts.styles.bg_color)?"#ffffff":"#444444",this.data.primary_hover=this.shade_color(this.opts.styles.bg_color,7),this.objs.btn=t("#YLC_chat_btn"),this.objs.btn.hover(function(){if(t(this).css("background-color",i.data.primary_hover),"round"==i.opts.styles.btn_type&&ylc.button_animation){var e=t(this).css("width","auto").width();t(this).width(i.opts.styles.btn_width).animate({width:e+10},250)}},function(){t(this).css("background-color",i.opts.styles.bg_color),"round"==i.opts.styles.btn_type&&ylc.button_animation&&t(this).animate({width:i.opts.styles.btn_width},250)}),this.objs.btn.click(function(){t(this).hide(),i.show_popup(),i.auth()}),setTimeout(function(){i.show_btn()},this.data.show_delay),this.show_connecting(),this.objs.popup=t("#YLC_chat"),this.objs.popup_header=t("#YLC_chat_header"),t(s).on("hover","#YLC_send_btn",function(){t(this).css("background-color",i.data.primary_hover)},function(){t(this).css("background-color",i.opts.styles.bg_color)}),t(e).resize(function(){var a=e,n=s,o=n.documentElement,r=n.getElementsByTagName("body")[0],u=(a.innerWidth||o.clientWidth||r.clientWidth,a.innerHeight||o.clientHeight||r.clientHeight),_=i.objs.popup_header.height(),c=parseInt(i.objs.popup.css("bottom"),10),l="online"===i.data.mode?320:450,h=u>l+_?l:u-_-c;t("#YLC_chat_body").css("max-height",h);var d=t(e).width();"round"==i.opts.styles.btn_type?i.objs.btn.css({width:i.opts.styles.btn_width+"px",left:"right"===i.opts.styles.x_pos?"auto":"20px",right:"left"===i.opts.styles.x_pos?"auto":"20px"}):d>480?i.objs.btn.css({width:i.opts.styles.btn_width+"px",left:"right"===i.opts.styles.x_pos?"auto":"40px",right:"left"===i.opts.styles.x_pos?"auto":"40px"}):i.objs.btn.css({width:"",left:"right"===i.opts.styles.x_pos?"auto":0,right:"left"===i.opts.styles.x_pos?"auto":0}),d>480?(i.objs.popup.css({left:"right"===i.opts.styles.x_pos?"auto":"40px",right:"left"===i.opts.styles.x_pos?"auto":"40px"}),t(".chat-body.chat-online").css("width",i.opts.styles.popup_width+"px"),t(".chat-body.chat-form").css("width",i.opts.styles.form_width+"px")):(i.objs.popup.css({left:"right"===i.opts.styles.x_pos?"auto":0,right:"left"===i.opts.styles.x_pos?"auto":0}),t(".chat-body").css("width",""))}).trigger("resize")},show_popup:function(){if("open"!=this.data.popup_status){var e=this;this.objs.popup.show(),this.animate(this.objs.popup,this.opts.styles.animation_type),setTimeout(function(){e.objs.popup_header.click(function(){e.be_offline(),e.minimize(),e.objs.popup_header.off("click")})},3e3),setTimeout(function(){switch(e.data.mode){case"online":t("#YLC_cnv_reply").focus(),e.objs.cnv.scrollTop(e.objs.cnv.prop("scrollHeight"));break;case"offline":case"login":t("#YLC_login_form .chat-line:first-child input").focus()}e.data.popup_status="open"},this.data.animation_delay)}},show_btn:function(t){this.allow_chatbox()&&(this.objs.btn.show(),this.objs.btn.find(".chat-title").html(t),this.animate(this.objs.btn,this.opts.styles.animation_type))},minimize:function(){this.data.popup_status="close",this.objs.popup&&(this.objs.popup.hide(),this.show_connecting()),this.objs.btn.show(),this.animate(this.objs.btn,this.opts.styles.animation_type)},manage_connections:function(){var t=this;this.data.ref_user&&this.data.ref_conn.on("value",function(e){if(e.val()===!0){var s=t.data.ref_user.child("connections").push(!0);s.onDisconnect().remove(),t.data.ref_user.child("status").set("online"),t.data.ref_user.child("status").onDisconnect().set("offline"),t.data.ref_user.child("last_online").onDisconnect().set(Firebase.ServerValue.TIMESTAMP),t.data.ref_cnv.child(t.data.user.conversation_id+"/typing/"+t.data.user.user_id).onDisconnect().remove()}else t.show_offline()})},post:function(e,s,i,a){t.post(ylc.ajax_url+"?action="+e+"&mode="+s,i,a,"json").fail(function(t){return console.log(s,": ",t),!1})},trigger_premium:function(t,e,s,i,a,n,o){return ylc.is_premium?this.premium[t].call(this,e,s,i,a,n,o):void 0},display_ntf:function(e,s,i){var a;switch(s){case"success":a='<i class="fa fa-check"></i> ';break;case"error":a='<i class="fa fa-exclamation-triangle"></i> ';break;case"typing":a='<i class="fa fa-pencil-square-o"></i> ';break;default:a=""}t(i).removeClass().addClass("chat-ntf chat-"+s).html(a+e).fadeIn(300)},clean_ntf:function(){t(".chat-ntf").html("").hide()},clear_user_data:function(e,s){var i=this;this.data.ref_cnv.child(e).once("value",function(a){var n=a.val();if(n){var o=n.user_id;i.data.ref_msgs.once("value",function(a){var n=a.val(),r=n?Object.keys(n).length:0,u=0;n?t.each(n,function(t,a){u+=1,a.conversation_id===e&&i.data.ref_msgs.child(t).remove(),r===u&&s&&s()}):s&&s(),i.data.ref_users.child(o).remove(),i.data.ref_cnv.child(e).remove()})}})},total_online_ops:function(){return this.data.online_ops?Object.keys(this.data.online_ops).length:0},allow_chatbox:function(){return this.opts.render?!0:!1},animate:function(s,i){t(e).trigger("resize");var a="top"===this.opts.styles.y_pos?"Down":"Up";s.addClass("chat-anim chat-"+i+a),setTimeout(function(){s.removeClass("chat-anim chat-"+i+a)},this.data.animation_delay)},shade_color:function(t,e){var s=parseInt(t.slice(1),16),i=Math.round(2.55*e),a=(s>>16)+i,n=(s>>8&255)+i,o=(255&s)+i;return"#"+(16777216+65536*(255>a?1>a?0:a:255)+256*(255>n?1>n?0:n:255)+(255>o?1>o?0:o:255)).toString(16).slice(1)},use_white:function(t){var t=t.substring(1),e=parseInt(t,16),s=e>>16&255,i=e>>8&255,a=e>>0&255,n=.2126*s+.7152*i+.0722*a;return 180>n?!0:!1},validate_email:function(t){var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t)},validate_username:function(t){var e=/^[\u0030-\u0039\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u017F\u0180-\u024F\u0370-\u03FF\u0400-\u04FF\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u1100-\u11FF\u3130-\u318F\uAC00-\uD7AF\u2E80-\u2EFF\u3000-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF\uFE30-\uFE4F\u3040-\u309F\u30A0-\u30FF\u31F0-\u31FF\u0020\u002D\u002E\u0040\u005F]+$/gim;return e.test(t)},md5:function(t){function e(t,e){var s,i,a,n,o;return a=2147483648&t,n=2147483648&e,s=1073741824&t,i=1073741824&e,o=(1073741823&t)+(1073741823&e),s&i?2147483648^o^a^n:s|i?1073741824&o?3221225472^o^a^n:1073741824^o^a^n:o^a^n}function s(t,s,i,a,n,o,r){return t=e(t,e(e(s&i|~s&a,n),r)),e(t<<o|t>>>32-o,s)}function i(t,s,i,a,n,o,r){return t=e(t,e(e(s&a|i&~a,n),r)),e(t<<o|t>>>32-o,s)}function a(t,s,i,a,n,o,r){return t=e(t,e(e(s^i^a,n),r)),e(t<<o|t>>>32-o,s)}function n(t,s,i,a,n,o,r){return t=e(t,e(e(i^(s|~a),n),r)),e(t<<o|t>>>32-o,s)}function o(t){var e,s="",i="";for(e=0;3>=e;e++)i=t>>>8*e&255,i="0"+i.toString(16),s+=i.substr(i.length-2,2);return s}var r,u,_,c,l,h,d,f,p=[];for(t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",s=0;s<t.length;s++){var i=t.charCodeAt(s);128>i?e+=String.fromCharCode(i):(i>127&&2048>i?e+=String.fromCharCode(i>>6|192):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128)),e+=String.fromCharCode(63&i|128))}return e}(t),p=function(t){var e,s=t.length;e=s+8;for(var i=16*((e-e%64)/64+1),a=Array(i-1),n=0,o=0;s>o;)e=(o-o%4)/4,n=o%4*8,a[e]|=t.charCodeAt(o)<<n,o++;return e=(o-o%4)/4,a[e]|=128<<o%4*8,a[i-2]=s<<3,a[i-1]=s>>>29,a}(t),l=1732584193,h=4023233417,d=2562383102,f=271733878,t=0;t<p.length;t+=16)r=l,u=h,_=d,c=f,l=s(l,h,d,f,p[t+0],7,3614090360),f=s(f,l,h,d,p[t+1],12,3905402710),d=s(d,f,l,h,p[t+2],17,606105819),h=s(h,d,f,l,p[t+3],22,3250441966),l=s(l,h,d,f,p[t+4],7,4118548399),f=s(f,l,h,d,p[t+5],12,1200080426),d=s(d,f,l,h,p[t+6],17,2821735955),h=s(h,d,f,l,p[t+7],22,4249261313),l=s(l,h,d,f,p[t+8],7,1770035416),f=s(f,l,h,d,p[t+9],12,2336552879),d=s(d,f,l,h,p[t+10],17,4294925233),h=s(h,d,f,l,p[t+11],22,2304563134),l=s(l,h,d,f,p[t+12],7,1804603682),f=s(f,l,h,d,p[t+13],12,4254626195),d=s(d,f,l,h,p[t+14],17,2792965006),h=s(h,d,f,l,p[t+15],22,1236535329),l=i(l,h,d,f,p[t+1],5,4129170786),f=i(f,l,h,d,p[t+6],9,3225465664),d=i(d,f,l,h,p[t+11],14,643717713),h=i(h,d,f,l,p[t+0],20,3921069994),l=i(l,h,d,f,p[t+5],5,3593408605),f=i(f,l,h,d,p[t+10],9,38016083),d=i(d,f,l,h,p[t+15],14,3634488961),h=i(h,d,f,l,p[t+4],20,3889429448),l=i(l,h,d,f,p[t+9],5,568446438),f=i(f,l,h,d,p[t+14],9,3275163606),d=i(d,f,l,h,p[t+3],14,4107603335),h=i(h,d,f,l,p[t+8],20,1163531501),l=i(l,h,d,f,p[t+13],5,2850285829),f=i(f,l,h,d,p[t+2],9,4243563512),d=i(d,f,l,h,p[t+7],14,1735328473),h=i(h,d,f,l,p[t+12],20,2368359562),l=a(l,h,d,f,p[t+5],4,4294588738),f=a(f,l,h,d,p[t+8],11,2272392833),d=a(d,f,l,h,p[t+11],16,1839030562),h=a(h,d,f,l,p[t+14],23,4259657740),l=a(l,h,d,f,p[t+1],4,2763975236),f=a(f,l,h,d,p[t+4],11,1272893353),d=a(d,f,l,h,p[t+7],16,4139469664),h=a(h,d,f,l,p[t+10],23,3200236656),l=a(l,h,d,f,p[t+13],4,681279174),f=a(f,l,h,d,p[t+0],11,3936430074),d=a(d,f,l,h,p[t+3],16,3572445317),h=a(h,d,f,l,p[t+6],23,76029189),l=a(l,h,d,f,p[t+9],4,3654602809),f=a(f,l,h,d,p[t+12],11,3873151461),d=a(d,f,l,h,p[t+15],16,530742520),h=a(h,d,f,l,p[t+2],23,3299628645),l=n(l,h,d,f,p[t+0],6,4096336452),f=n(f,l,h,d,p[t+7],10,1126891415),d=n(d,f,l,h,p[t+14],15,2878612391),h=n(h,d,f,l,p[t+5],21,4237533241),l=n(l,h,d,f,p[t+12],6,1700485571),f=n(f,l,h,d,p[t+3],10,2399980690),d=n(d,f,l,h,p[t+10],15,4293915773),h=n(h,d,f,l,p[t+1],21,2240044497),l=n(l,h,d,f,p[t+8],6,1873313359),f=n(f,l,h,d,p[t+15],10,4264355552),d=n(d,f,l,h,p[t+6],15,2734768916),h=n(h,d,f,l,p[t+13],21,1309151649),l=n(l,h,d,f,p[t+4],6,4149444226),f=n(f,l,h,d,p[t+11],10,3174756917),d=n(d,f,l,h,p[t+2],15,718787259),h=n(h,d,f,l,p[t+9],21,3951481745),l=e(l,r),h=e(h,u),d=e(d,_),f=e(f,c);return(o(l)+o(h)+o(d)+o(f)).toLowerCase()},random_id:function(t,e){return Math.floor(Math.random()*(e-t+1))+t},valid_operator:function(t){return ylc.yith_wpv_active?ylc.yith_wpv_active&&ylc.active_vendor.vendor_id===t?!0:ylc.yith_wpv_active&&"0"===t&&!ylc.vendor_only_chat?!0:!1:!0}},t.fn[n]=function(){var t;this.data(o)instanceof a||this.data(o,new a(this)),t=this.data(o),t.el=this,t.init()},t(s).ready(function(){t("#YLC").ylc(),t('a[href="#yith-live-chat"]').click(function(e){e.preventDefault(),t("#YLC_chat_btn").click()})})}(jQuery,window,document);
modules/yith-live-chat/assets/ylc-rules.json CHANGED
File without changes
modules/yith-live-chat/class.yith-livechat.php CHANGED
File without changes
modules/yith-live-chat/includes/class-ylc-session.php CHANGED
File without changes
modules/yith-live-chat/includes/class-ylc-user.php CHANGED
File without changes
modules/yith-live-chat/includes/firebase/firebase-token-generator.php CHANGED
File without changes
modules/yith-live-chat/includes/firebase/firebaseInterface.php CHANGED
File without changes
modules/yith-live-chat/includes/firebase/firebaseLib.php CHANGED
File without changes
modules/yith-live-chat/includes/firebase/json-web-token.php CHANGED
File without changes
modules/yith-live-chat/includes/functions-ylc-ajax.php CHANGED
File without changes
modules/yith-live-chat/includes/functions-ylc-commons.php CHANGED
File without changes
modules/yith-live-chat/includes/functions-ylc-server.php CHANGED
File without changes
modules/yith-live-chat/init.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Pre-sales question ? Needs support ? Chat with your customers!
6
  * Author: YITHEMES
7
  * Text Domain: yith-live-chat
8
- * Version: 1.2.2
9
  * Author URI: http://yithemes.com/
10
  */
11
 
@@ -26,7 +26,7 @@ function ylc_install_free_admin_notice() {
26
  }
27
 
28
  if ( ! defined( 'YLC_VERSION' ) ) {
29
- define( 'YLC_VERSION', '1.2.2' );
30
  }
31
 
32
  if ( ! defined( 'YLC_FREE_INIT' ) ) {
5
  * Description: Pre-sales question ? Needs support ? Chat with your customers!
6
  * Author: YITHEMES
7
  * Text Domain: yith-live-chat
8
+ * Version: 1.2.4
9
  * Author URI: http://yithemes.com/
10
  */
11
 
26
  }
27
 
28
  if ( ! defined( 'YLC_VERSION' ) ) {
29
+ define( 'YLC_VERSION', '1.2.4' );
30
  }
31
 
32
  if ( ! defined( 'YLC_FREE_INIT' ) ) {
modules/yith-live-chat/languages/yith-live-chat.pot CHANGED
File without changes
modules/yith-live-chat/plugin-options/general-options.php CHANGED
File without changes
modules/yith-live-chat/plugin-options/premium-landing-options.php CHANGED
File without changes
modules/yith-live-chat/plugin-options/texts-options.php CHANGED
File without changes
modules/yith-live-chat/plugin-options/video-box.php CHANGED
File without changes
modules/yith-live-chat/templates/admin/custom-text.php CHANGED
File without changes
modules/yith-live-chat/templates/admin/premium.php CHANGED
File without changes
modules/yith-live-chat/templates/chat-backend/chat-console.php CHANGED
File without changes
modules/yith-live-chat/templates/chat-frontend/chat-container.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/css/yit-advanced-reviews.css CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/001.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/002.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/003.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/004.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/11-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/11-g.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/11-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/11.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/12-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/12-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/12.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/13-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/13-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/13.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/14-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/14-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/14.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/15-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/15-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/15.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/16-bg.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/16-icon.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/16.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background1.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background2.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background3.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background4.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background5.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/background6.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/caution-disabled.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/caution.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/denied-disabled.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/denied.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/dislike.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/downvote_sel.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/featured-review.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon1.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon2.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon3.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon4.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon5.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/icon6.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/like.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/loading.gif CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/premium-settings.jpg CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/premium-settings2.jpg CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/sprites.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/star-disabled.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/star.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/upvote_sel.png CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/images/yith-woocommerce-advanced-reviews.jpg CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/js/ywar-attachments.js CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/assets/js/ywar-back-end.js CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/class.yith-woocommerce-advanced-reviews.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/functions.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/init.php CHANGED
@@ -54,6 +54,7 @@ yith_define ( 'YITH_YWAR_TEMPLATE_PATH', YITH_YWAR_DIR . 'templates' );
54
  yith_define ( 'YITH_YWAR_TEMPLATES_DIR', YITH_YWAR_DIR . '/templates/' );
55
  yith_define ( 'YITH_YWAR_ASSETS_IMAGES_URL', YITH_YWAR_ASSETS_URL . '/images/' );
56
 
 
57
  function yith_ywar_init () {
58
 
59
  /**
54
  yith_define ( 'YITH_YWAR_TEMPLATES_DIR', YITH_YWAR_DIR . '/templates/' );
55
  yith_define ( 'YITH_YWAR_ASSETS_IMAGES_URL', YITH_YWAR_ASSETS_URL . '/images/' );
56
 
57
+
58
  function yith_ywar_init () {
59
 
60
  /**
modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-es_ES.mo CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-es_ES.po CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/languages/yith-woocommerce-advanced-reviews.pot CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/lib/class.yith-advanced-reviews-list-table.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/plugin-options/general-options.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/plugin-options/layout-options.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/plugin-options/premium-landing-options.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/ywar-product-reviews-table.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/ywar-product-reviews.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/ywar-rating.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/ywar-review.php CHANGED
File without changes
modules/yith-woocommerce-advanced-reviews/templates/ywar-single-product-reviews.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/lib/codemirror.css CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/lib/codemirror.js CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/3rd-party/codemirror/mode/css/css.js CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/css/frontend.css CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  .yith-wcan-group:after {
2
  content: "";
3
  display: table;
@@ -15,6 +19,16 @@
15
  }
16
 
17
  /* Colors Type */
 
 
 
 
 
 
 
 
 
 
18
  .yith-wcan-color li {
19
  float: left;
20
  }
@@ -108,7 +122,6 @@
108
  position: absolute;
109
  overflow-x: hidden;
110
  overflow-y: auto;
111
- max-width: 268px;
112
  width: 100%;
113
  z-index: -1;
114
  border: 1px solid #cecece;
@@ -116,10 +129,6 @@
116
  margin-top: -16px;
117
  }
118
 
119
- .widget-area .yith-wcan-select-wrapper {
120
- max-width: 260px;
121
- }
122
-
123
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li {
124
  padding: 5px 8px;
125
  border-bottom: 1px solid transparent;
@@ -156,7 +165,8 @@
156
  color: #838383;
157
  }
158
 
159
- .woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen a, .woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen a {
 
160
  background: transparent url(../images/cross.png) bottom 6px left no-repeat;
161
  border: none;
162
  }
@@ -206,7 +216,8 @@
206
  .yith-wcan-sort-by ul.orderby li.orderby-wrapper a.active:before,
207
  a.yith-wcan-onsale-button.active:before,
208
  a.yith-wcan-instock-button.active:before,
209
- a.yith-wcan-price-link.active:before {
 
210
  font-family: WooCommerce;
211
  speak: none;
212
  font-variant: normal;
@@ -260,9 +271,6 @@ a.yith-wcan-price-link.active:before {
260
  /*--------------------------
261
  CHECKBOX LAYOUT
262
  ---------------------------*/
263
- .yith-woocommerce-ajax-product-filter.with-checkbox{
264
-
265
- }
266
  .yith-woocommerce-ajax-product-filter.with-checkbox ul{
267
  list-style-type: none;
268
  padding-left: 0;
1
+ .yith-woocommerce-ajax-product-filter{
2
+ position: relative;
3
+ }
4
+
5
  .yith-wcan-group:after {
6
  content: "";
7
  display: table;
19
  }
20
 
21
  /* Colors Type */
22
+ ul.yith-wcan-color.yith-wcan.yith-wcan-group,
23
+ ul.yith-wcan-list {
24
+ list-style: none;
25
+ margin-left: 0;
26
+ }
27
+
28
+ .yith-wcan-color li:first-child{
29
+ margin-left: 0;
30
+ }
31
+
32
  .yith-wcan-color li {
33
  float: left;
34
  }
122
  position: absolute;
123
  overflow-x: hidden;
124
  overflow-y: auto;
 
125
  width: 100%;
126
  z-index: -1;
127
  border: 1px solid #cecece;
129
  margin-top: -16px;
130
  }
131
 
 
 
 
 
132
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li {
133
  padding: 5px 8px;
134
  border-bottom: 1px solid transparent;
165
  color: #838383;
166
  }
167
 
168
+ .woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen a,
169
+ .woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen a {
170
  background: transparent url(../images/cross.png) bottom 6px left no-repeat;
171
  border: none;
172
  }
216
  .yith-wcan-sort-by ul.orderby li.orderby-wrapper a.active:before,
217
  a.yith-wcan-onsale-button.active:before,
218
  a.yith-wcan-instock-button.active:before,
219
+ a.yith-wcan-price-link.active:before,
220
+ ul.yith-wcan-list li.chosen a:before{
221
  font-family: WooCommerce;
222
  speak: none;
223
  font-variant: normal;
271
  /*--------------------------
272
  CHECKBOX LAYOUT
273
  ---------------------------*/
 
 
 
274
  .yith-woocommerce-ajax-product-filter.with-checkbox ul{
275
  list-style-type: none;
276
  padding-left: 0;
modules/yith-woocommerce-ajax-navigation/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/11-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/11-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/11.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/12-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/12-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/12.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/13-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/13-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/13.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/14-bg.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/14-icon.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/14.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/ajax-loader.gif CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/cross.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/select-arrow.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-admin.js CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-editor.js CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.js CHANGED
@@ -304,10 +304,14 @@ jQuery(function ($) {
304
  $(element).parent().find('div.yith-wcan-select-wrapper').css("z-index", "1").animate({
305
 
306
  visibility: "visible",
307
- opacity : 1
308
-
309
-
310
- }, 300);
 
 
 
 
311
 
312
  $(element).parent().find('a.yit-wcan-select-open').addClass('active');
313
  }
@@ -317,9 +321,12 @@ jQuery(function ($) {
317
  $(element).parent().find('div.yith-wcan-select-wrapper').css("z-index", "-1").animate({
318
 
319
  visibility: "hidden",
320
- opacity : 0
321
 
322
- }, 300);
 
 
 
323
 
324
  $(element).parent().find('a.yit-wcan-select-open').removeClass('active');
325
  }
@@ -327,11 +334,13 @@ jQuery(function ($) {
327
  var yit_hidden_filters_wrapper = function () {
328
 
329
  $('div.yith-wcan-select-wrapper').css("z-index", "-1").animate({
330
-
331
  visibility: "hidden",
332
  opacity : 0
333
 
334
- }, 0);
 
 
 
335
 
336
  $('a.yit-wcan-select-open').removeClass('active');
337
  }
304
  $(element).parent().find('div.yith-wcan-select-wrapper').css("z-index", "1").animate({
305
 
306
  visibility: "visible",
307
+ opacity : 1,
308
+ }, {
309
+ duration: 300,
310
+ start: function(){
311
+ var t = $(this);
312
+ t.css( 'display', 'block' );
313
+ }
314
+ });
315
 
316
  $(element).parent().find('a.yit-wcan-select-open').addClass('active');
317
  }
321
  $(element).parent().find('div.yith-wcan-select-wrapper').css("z-index", "-1").animate({
322
 
323
  visibility: "hidden",
324
+ opacity : 0,
325
 
326
+ }, 300, function(){
327
+ var t = $(this);
328
+ t.css( 'display', 'none' );
329
+ });
330
 
331
  $(element).parent().find('a.yit-wcan-select-open').removeClass('active');
332
  }
334
  var yit_hidden_filters_wrapper = function () {
335
 
336
  $('div.yith-wcan-select-wrapper').css("z-index", "-1").animate({
 
337
  visibility: "hidden",
338
  opacity : 0
339
 
340
+ }, 0, function(){
341
+ var t = $(this);
342
+ t.css( 'display', 'none' );
343
+ });
344
 
345
  $('a.yit-wcan-select-open').removeClass('active');
346
  }
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.min.js CHANGED
@@ -1,16 +1,17 @@
1
- jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var y=/(?!(\[))(\.)[^.#[]*/g,z=/(#)[^.#[]*/,A=/^[\w]+/,B=/^[\w]+$/,v=function(h,p){var b;if(B.test(h))b=[{tag:h}];else{b=h;for(var d={sel:[],val:[]},n=[],c=!1,k="",m=[],l=0,g=b.length;l<g;l++){var f=b.charAt(l);if(c)if("\\"===f&&l+1<b.length)m.push(b.charAt(++l));else if(k===f)k="",m.push(f);else if(("'"===f||'"'===f)&&""===k)k=f,m.push(f);else if("]"===f&&
2
- ""===k)d.val.push(m.join("")),m=[],c=!1;else{if("]"!==f||""!==k)""===k&&","===f?(d.val.push(m.join("")),m=[]):m.push(f)}else"\\"===f&&l+1<b.length?c&&m.push(b.charAt(++l)):"["===f&&""===k?c=!0:" "===f||"+"===f?(d.sel=d.sel.join(""),n.push(d),"+"===f&&n.push({sel:"+",val:""}),d={sel:[],val:[]}):" "!==f&&"]"!==f&&d.sel.push(f)}if(0!=d.sel.length||0!=d.val.length)d.sel=d.sel.join(""),n.push(d);for(l=0;l<n.length;l++){d=n[l].sel;if("+"===d)e.tag=d;else{var e=[];e.tag=A.exec(d);e.id=z.exec(d);e.id&&a.isArray(e.id)&&
3
- (e.id=e.id[0].substr(1));e.tag||(e.tag="div");e.vars=[];for(b=0;b<n[l].val.length;b++)k=n[l].val[b].indexOf("="),c=n[l].val[b].substr(0,k),k=n[l].val[b].substr(k+1),k=k.replace(/^[\s]*[\"\']*|[\"\']*[\s]*$/g,""),"text"===c?e.text=k:e.vars.push([c,k]);d=d.match(y);c=[];if(d){for(b=0;b<d.length;b++)c.push(d[b].substr(1));e.className=c.join(" ")}}n[l]=e}b=n}d=[];"undefined"===typeof p&&(p=1);n=[];c=[];k=[];m=document.createElement("div");for(g=l=0;g<b.length;g++){if("+"==b[g].tag)c=k.slice(),--l;else{for(f=
4
- 0;f<p;f++)if("input"==b[g].tag){e=[];e.push("<"+b[g].tag);b[g].id&&e.push("id='"+b[g].id+"'");b[g].className&&(e.push("class='"+b[g].className),g+1===b.length&&e.push(lastClass),e.push("'"));if(b[g].vars)for(var q=0;q<b[g].vars.length;q++)e.push(b[g].vars[q][0]+"='"+b[g].vars[q][1]+"'");b[g].text&&e.push("value='"+b[g].text+"'");e.push("/>");k[f]=c[f];c[f]?(c[f].innerHTML+=e.join(" "),c[f]=c[f].lastChild):(m.innerHTML=e.join(" "),c[f]=m.removeChild(m.firstChild))}else{e=document.createElement(b[g].tag);
5
- if(b[g].vars)for(q=0;q<b[g].vars.length;q++)console.log(b[g].tag,b[g].vars[q]),e.setAttribute(b[g].vars[q][0],b[g].vars[q][1]);b[g].id&&(e.id=b[g].id);b[g].className&&(e.className=b[g].className);b[g].text&&e.appendChild(document.createTextNode(b[g].text));k[f]=c[f];c[f]=c[f]?c[f].appendChild(e):e}l++||Array.prototype.push.apply(n,c)}d=a.merge(d,c)}return a(n)},w=function(h,p,b){for(var d=h.match(/%[^%]*%/g)||[],n=[],c=0;c<p.length;c++){for(var k=h,m=0;m<d.length;m++)var l=d[m].substr(1,d[m].length-
6
- 2),k=k.replace(d[m],p[c][l]);n=a.merge(n,v(k,b))}return a(n)};a.jseldom=function(h){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1,x=function(){var h=a("#yith-wcan-reset-all-categories").find("a.yith-wcan-reset-categories-link"),p=a("#yith-wcan-reset-all-tags").find("a.yith-wcan-reset-tags-link");
7
- h.add(p).on("click",function(b){a(this).yith_wcan_ajax_filters(b,this)})};a.fn.yith_wcan_ajax_filters=function(h,p){h.preventDefault();var b=p.href,d=a(p),n=d.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&d.parents().hasClass("price_slider_wrapper")){d.parents("form");var c=window.location,k=c.origin+c.pathname,m=k!=c.href,l=a(".price_slider_amount #min_price").val(),g=a(".price_slider_amount #max_price").val(),b=c.href;1==m&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(k==b?"?":
8
- "&")+a.param({min_price:l,max_price:g})}"select"==d.data("type")&&(d.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),d.parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage",
9
- "url("+yith_wcan_frontend.loader_url+")");c=!1;"both"==yith_wcan.scroll_top_mode?c=!0:"mobile"==yith_wcan.scroll_top_mode&&1==yith_wcan.is_mobile?c=!0:"desktop"==yith_wcan.scroll_top_mode&&1!=yith_wcan.is_mobile&&(c=!0);1==c&&a(window).scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=!1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?
10
- a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');
11
- 0<a(c).find(yith_wcan.result_count).length&&a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=a(this),d=b.attr("id"),d=a(c).find("#"+d);0==d.length?b.hide():(b.html(d.html()),b.show())});if(1==yith_wcan.avada.is_enabled){var e=a(yith_wcan.avada.sort_count);e.html(a(c).find(yith_wcan.avada.sort_count).html());""==d.text()?e.hide():
12
- e.show()}1!=yith_wcan.change_browser_url||navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered",[c]);a(window).trigger("scroll");if(n){if("undefined"!=typeof a.fn.slider){var e=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min")),f=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",[e,f]);a(document.body).trigger("price_slider_slide",
13
- [e,f])}a(document).trigger("yith-wcan-ajax-reset-filtered")}x()}})};a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).on("yith-wcan-wrapped",function(){x()});a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(h){a(this).yith_wcan_ajax_filters(h,this)});var t=function(){a("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},0);a("a.yit-wcan-select-open").removeClass("active")};
14
- a(document).on("click","a.yit-wcan-select-open.active",function(h){h.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300);a(this).parent().find("a.yit-wcan-select-open").removeClass("active")});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(h){h.preventDefault();a("a.yit-wcan-select-open.active").trigger("click");a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",
15
- opacity:1},300);a(this).parent().find("a.yit-wcan-select-open").addClass("active")});a(document).on("ready yith-wcan-ajax-filtered",function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var h="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){h+=a(this).text()+", "});h=h.substring(0,h.length-2);""!=h&&a(this).parent().find("a.yit-wcan-select-open").text(h)})});a(document).on("ready",t);a("body").on("click",function(h){a(h.target).hasClass("yit-wcan-select-open")||
16
- t()});if(1==yith_wcan.flatsome.is_enabled&&1==yith_wcan.flatsome.lazy_load_enabled)a(document).on("yith-wcan-ajax-filtered",function(h,p){var b=a(document);jQuery(".lazy-load",b).each(function(a,b){var c=jQuery(b);c.waypoint(function(a){if(!c.hasClass("lazy-load-active")){a=c.data("src");var b=c.data("srcset");a&&c.attr("src",a);b&&c.attr("srcset",b);c.imagesLoaded(function(){c.addClass("lazy-load-active").removeClass("lazy-load")})}},{offset:"140%"})})});window.addEventListener("popstate",function(a){window.location.reload(!0)})});
 
1
+ jQuery(function(a){function y(h){a(h).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",opacity:1},{duration:300,start:function(){a(this).css("display","block")}});a(h).parent().find("a.yit-wcan-select-open").addClass("active")}function z(h){a(h).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300,function(){a(this).css("display","none")});a(h).parent().find("a.yit-wcan-select-open").removeClass("active")}
2
+ function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var A=/(?!(\[))(\.)[^.#[]*/g,B=/(#)[^.#[]*/,C=/^[\w]+/,D=/^[\w]+$/,v=function(h,p){if(D.test(h))var b=[{tag:h}];else{b=h;for(var d={sel:[],val:[]},n=[],c=!1,k="",m=[],l=0,g=b.length;l<g;l++){var f=b.charAt(l);if(c)if("\\"===f&&l+1<b.length)m.push(b.charAt(++l));else if(k===f)k="",m.push(f);else if(("'"===f||'"'===f)&&""===k)k=f,m.push(f);else if("]"===f&&""===k)d.val.push(m.join("")),
3
+ m=[],c=!1;else{if("]"!==f||""!==k)""===k&&","===f?(d.val.push(m.join("")),m=[]):m.push(f)}else"\\"===f&&l+1<b.length?c&&m.push(b.charAt(++l)):"["===f&&""===k?c=!0:" "===f||"+"===f?(d.sel=d.sel.join(""),n.push(d),"+"===f&&n.push({sel:"+",val:""}),d={sel:[],val:[]}):" "!==f&&"]"!==f&&d.sel.push(f)}if(0!=d.sel.length||0!=d.val.length)d.sel=d.sel.join(""),n.push(d);for(l=0;l<n.length;l++){d=n[l].sel;if("+"===d)e.tag=d;else{var e=[];e.tag=C.exec(d);e.id=B.exec(d);e.id&&a.isArray(e.id)&&(e.id=e.id[0].substr(1));
4
+ e.tag||(e.tag="div");e.vars=[];for(b=0;b<n[l].val.length;b++)k=n[l].val[b].indexOf("="),c=n[l].val[b].substr(0,k),k=n[l].val[b].substr(k+1),k=k.replace(/^[\s]*[\"\']*|[\"\']*[\s]*$/g,""),"text"===c?e.text=k:e.vars.push([c,k]);d=d.match(A);c=[];if(d){for(b=0;b<d.length;b++)c.push(d[b].substr(1));e.className=c.join(" ")}}n[l]=e}b=n}d=[];"undefined"===typeof p&&(p=1);n=[];c=[];k=[];m=document.createElement("div");for(g=l=0;g<b.length;g++){if("+"==b[g].tag)c=k.slice(),--l;else{for(f=0;f<p;f++)if("input"==
5
+ b[g].tag){e=[];e.push("<"+b[g].tag);b[g].id&&e.push("id='"+b[g].id+"'");b[g].className&&(e.push("class='"+b[g].className),g+1===b.length&&e.push(lastClass),e.push("'"));if(b[g].vars)for(var q=0;q<b[g].vars.length;q++)e.push(b[g].vars[q][0]+"='"+b[g].vars[q][1]+"'");b[g].text&&e.push("value='"+b[g].text+"'");e.push("/>");k[f]=c[f];c[f]?(c[f].innerHTML+=e.join(" "),c[f]=c[f].lastChild):(m.innerHTML=e.join(" "),c[f]=m.removeChild(m.firstChild))}else{e=document.createElement(b[g].tag);if(b[g].vars)for(q=
6
+ 0;q<b[g].vars.length;q++)console.log(b[g].tag,b[g].vars[q]),e.setAttribute(b[g].vars[q][0],b[g].vars[q][1]);b[g].id&&(e.id=b[g].id);b[g].className&&(e.className=b[g].className);b[g].text&&e.appendChild(document.createTextNode(b[g].text));k[f]=c[f];c[f]=c[f]?c[f].appendChild(e):e}l++||Array.prototype.push.apply(n,c)}d=a.merge(d,c)}return a(n)},w=function(h,p,b){for(var d=h.match(/%[^%]*%/g)||[],n=[],c=0;c<p.length;c++){for(var k=h,m=0;m<d.length;m++){var l=d[m].substr(1,d[m].length-2);k=k.replace(d[m],
7
+ p[c][l])}n=a.merge(n,v(k,b))}return a(n)};a.jseldom=function(h){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1,x=function(){var h=a("#yith-wcan-reset-all-categories").find("a.yith-wcan-reset-categories-link"),p=a("#yith-wcan-reset-all-tags").find("a.yith-wcan-reset-tags-link");
8
+ h.add(p).on("click",function(b){a(this).yith_wcan_ajax_filters(b,this)})};a.fn.yith_wcan_ajax_filters=function(h,p){h.preventDefault();var b=p.href,d=a(p),n=d.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&d.parents().hasClass("price_slider_wrapper")){d.parents("form");var c=window.location,k=c.origin+c.pathname,m=k!=c.href,l=a(".price_slider_amount #min_price").val(),g=a(".price_slider_amount #max_price").val();b=c.href;1==m&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(k==b?"?":
9
+ "&")+a.param({min_price:l,max_price:g})}"select"==d.data("type")&&(d.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),d.parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage",
10
+ "url("+yith_wcan_frontend.loader_url+")");c=!1;"both"==yith_wcan.scroll_top_mode?c=!0:"mobile"==yith_wcan.scroll_top_mode&&1==yith_wcan.is_mobile?c=!0:"desktop"==yith_wcan.scroll_top_mode&&1!=yith_wcan.is_mobile&&(c=!0);1==c&&a(window).scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=!1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?
11
+ a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');
12
+ 0<a(c).find(yith_wcan.result_count).length&&a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=a(this),d=b.attr("id");d=a(c).find("#"+d);0==d.length?b.hide():(b.html(d.html()),b.show())});if(1==yith_wcan.avada.is_enabled){var e=a(yith_wcan.avada.sort_count);e.html(a(c).find(yith_wcan.avada.sort_count).html());""==d.text()?e.hide():
13
+ e.show()}1!=yith_wcan.change_browser_url||navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered",[c]);a(window).trigger("scroll");if(n){if("undefined"!=typeof a.fn.slider){e=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min"));var f=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",[e,f]);a(document.body).trigger("price_slider_slide",
14
+ [e,f])}a(document).trigger("yith-wcan-ajax-reset-filtered")}x()}})};a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).on("yith-wcan-wrapped",function(){x()});a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(h){a(this).yith_wcan_ajax_filters(h,this)});var t=function(){a("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},0,function(){a(this).css("display","none")});
15
+ a("a.yit-wcan-select-open").removeClass("active")};a(document).on("click","a.yit-wcan-select-open.active",function(a){a.preventDefault();z(this)});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(h){h.preventDefault();a("a.yit-wcan-select-open.active").trigger("click");y(this)});a(document).on("ready yith-wcan-ajax-filtered",function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var h="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){h+=
16
+ a(this).text()+", "});h=h.substring(0,h.length-2);""!=h&&a(this).parent().find("a.yit-wcan-select-open").text(h)})});a(document).on("ready",t);a("body").on("click",function(h){a(h.target).hasClass("yit-wcan-select-open")||t()});if(1==yith_wcan.flatsome.is_enabled&&1==yith_wcan.flatsome.lazy_load_enabled)a(document).on("yith-wcan-ajax-filtered",function(h,p){var b=a(document);jQuery(".lazy-load",b).each(function(a,b){var c=jQuery(b);c.waypoint(function(a){if(!c.hasClass("lazy-load-active")){a=c.data("src");
17
+ var b=c.data("srcset");a&&c.attr("src",a);b&&c.attr("srcset",b);c.imagesLoaded(function(){c.addClass("lazy-load-active").removeClass("lazy-load")})}},{offset:"140%"})})});window.addEventListener("popstate",function(a){window.location.reload(!0)})});
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-admin.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-frontend.php CHANGED
@@ -73,6 +73,8 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
73
 
74
  add_filter( 'woocommerce_layered_nav_link', 'yit_plus_character_hack', 99 );
75
 
 
 
76
  // YITH WCAN Loaded
77
  do_action( 'yith_wcan_loaded' );
78
  }
73
 
74
  add_filter( 'woocommerce_layered_nav_link', 'yit_plus_character_hack', 99 );
75
 
76
+ add_filter( 'woocommerce_is_filtered', 'yit_is_filtered_uri', 20 );
77
+
78
  // YITH WCAN Loaded
79
  do_action( 'yith_wcan_loaded' );
80
  }
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-helper.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan.php CHANGED
@@ -190,7 +190,6 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
190
  'includes/functions.yith-wcan.php',
191
  'includes/class.yith-wcan-admin.php',
192
  'includes/class.yith-wcan-frontend.php',
193
- 'includes/class.yith-wcan-helper.php',
194
  'widgets/class.yith-wcan-navigation-widget.php',
195
  'widgets/class.yith-wcan-reset-navigation-widget.php',
196
  )
@@ -202,7 +201,7 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
202
  }
203
 
204
  public function init() {
205
- if ( is_admin() && ! is_ajax() ) {
206
  $this->admin = new YITH_WCAN_Admin( $this->version );
207
  }
208
  else {
190
  'includes/functions.yith-wcan.php',
191
  'includes/class.yith-wcan-admin.php',
192
  'includes/class.yith-wcan-frontend.php',
 
193
  'widgets/class.yith-wcan-navigation-widget.php',
194
  'widgets/class.yith-wcan-reset-navigation-widget.php',
195
  )
201
  }
202
 
203
  public function init() {
204
+ if ( is_admin() ) {
205
  $this->admin = new YITH_WCAN_Admin( $this->version );
206
  }
207
  else {
modules/yith-woocommerce-ajax-navigation/includes/functions.yith-wcan.php CHANGED
@@ -16,12 +16,43 @@ if ( ! defined( 'YITH_WCAN' ) ) {
16
  * Return a dropdown with Woocommerce attributes
17
  */
18
  function yith_wcan_dropdown_attributes( $selected, $echo = true ) {
19
- $attributes = YITH_WCAN_Helper::attribute_taxonomies();
20
- $options = "";
 
21
 
22
- foreach ( $attributes as $attribute ) {
23
- $options .= "<option name='{$attribute}'" . selected( $attribute, $selected, false ) . ">{$attribute}</option>";
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  if ( $echo ) {
27
  echo $options;
@@ -116,6 +147,8 @@ function yith_wcan_attributes_table( $type, $attribute, $id, $name, $values = ar
116
  * @return bool
117
  */
118
  function yith_wcan_can_be_displayed() {
 
 
119
  if (
120
  ( is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) ||
121
  is_active_widget( false, false, 'yith-woo-ajax-navigation-sort-by', true ) ||
@@ -123,11 +156,10 @@ function yith_wcan_can_be_displayed() {
123
  is_active_widget( false, false, 'yith-woo-ajax-navigation-list-price-filter', true ) ) &&
124
  ( is_shop() || defined( 'SHOP_IS_ON_FRONT' ) || is_product_taxonomy() || is_product_category() )
125
  ) {
126
- return true;
127
- }
128
- else {
129
- return false;
130
  }
 
 
131
  }
132
 
133
 
@@ -467,7 +499,7 @@ if ( ! function_exists( 'yit_get_filter_args' ) ) {
467
  $filter_value['source_tax'] = $_GET['source_tax'];
468
  }
469
 
470
- elseif( is_product_taxonomy() && $queried_object && ! isset( $filter_value['source_id'] ) && ! isset( $filter_value['source_tax'] )){
471
  $filter_value['source_id'] = $queried_object->slug;
472
  $filter_value['source_tax'] = $queried_object->taxonomy;
473
  }
@@ -521,13 +553,7 @@ if ( ! function_exists( 'yit_get_woocommerce_layered_nav_link' ) ) {
521
  $taxonomy = $source_tax = ! empty( $_GET['source_tax'] ) ? $_GET['source_tax'] : '';
522
 
523
  if ( defined( 'SHOP_IS_ON_FRONT' ) || ( is_shop() && ! is_product_category() ) ) {
524
- // $taxonomy = get_query_var( 'taxonomy' );
525
- // $brands_taxonomy = yit_get_brands_taxonomy();
526
  $return = get_post_type_archive_link( 'product' );
527
-
528
- // if( ! empty( $brands_taxonomy ) && $brands_taxonomy == $taxonomy ){
529
- // $return = add_query_arg( array( $taxonomy => get_query_var( 'term' ) ), $return );
530
- // }
531
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
532
  }
533
 
@@ -537,17 +563,6 @@ if ( ! function_exists( 'yit_get_woocommerce_layered_nav_link' ) ) {
537
  }
538
 
539
  else {
540
- if( empty( $taxonomy ) || empty( $term ) ){
541
- $queried_object = get_queried_object();
542
- $taxonomy = $queried_object instanceof WP_Term ? $queried_object->taxonomy : get_query_var( 'taxonomy' );
543
- $term = $queried_object instanceof WP_Term ? $queried_object : get_query_var( 'term' );
544
- }
545
-
546
- // if( yith_wcan_is_product_attribute() || is_numeric( $term ) ){
547
- // $term = intval( $term );
548
- // }
549
- //
550
- // $return = get_term_link( $term, $taxonomy );
551
  $return = get_post_type_archive_link( 'product' );
552
 
553
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
@@ -793,4 +808,5 @@ if( ! function_exists( 'yith_wcan_brands_enabled' ) ){
793
  function yith_wcan_brands_enabled() {
794
  return apply_filters( 'yith_wcan_brands_enabled', defined( 'YITH_WCBR' ) && YITH_WCBR );
795
  }
796
- }
 
16
  * Return a dropdown with Woocommerce attributes
17
  */
18
  function yith_wcan_dropdown_attributes( $selected, $echo = true ) {
19
+ $_woocommerce = function_exists( 'wc' ) ? wc() : null;
20
+ $options = "";
21
+ $attributes = array();
22
 
23
+ if ( ! empty( $_woocommerce ) ) {
24
+
25
+ if ( function_exists( 'wc_get_attribute_taxonomies' ) ) {
26
+ $attribute_taxonomies = wc_get_attribute_taxonomies();
27
+ }
28
+ else {
29
+ $attribute_taxonomies = $_woocommerce->get_attribute_taxonomies();
30
+ }
31
+
32
+ if ( empty( $attribute_taxonomies ) ) {
33
+ return array();
34
+ }
35
+
36
+ foreach ( $attribute_taxonomies as $attribute ) {
37
+
38
+ /* FIX TO WOOCOMMERCE 2.1 */
39
+ if ( function_exists( 'wc_attribute_taxonomy_name' ) ) {
40
+ $taxonomy = wc_attribute_taxonomy_name( $attribute->attribute_name );
41
+ }
42
+ else {
43
+ $taxonomy = $_woocommerce->attribute_taxonomy_name( $attribute->attribute_name );
44
+ }
45
+
46
+
47
+ if ( taxonomy_exists( $taxonomy ) ) {
48
+ $attributes[] = $attribute->attribute_name;
49
+ }
50
+ }
51
+
52
+ foreach ( $attributes as $attribute ) {
53
+ $options .= "<option name='{$attribute}'" . selected( $attribute, $selected, false ) . ">{$attribute}</option>";
54
+ }
55
+ }
56
 
57
  if ( $echo ) {
58
  echo $options;
147
  * @return bool
148
  */
149
  function yith_wcan_can_be_displayed() {
150
+ $return = false;
151
+
152
  if (
153
  ( is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) ||
154
  is_active_widget( false, false, 'yith-woo-ajax-navigation-sort-by', true ) ||
156
  is_active_widget( false, false, 'yith-woo-ajax-navigation-list-price-filter', true ) ) &&
157
  ( is_shop() || defined( 'SHOP_IS_ON_FRONT' ) || is_product_taxonomy() || is_product_category() )
158
  ) {
159
+ $return = true;
 
 
 
160
  }
161
+
162
+ return apply_filters( 'yith_wcan_can_be_displayed', $return );
163
  }
164
 
165
 
499
  $filter_value['source_tax'] = $_GET['source_tax'];
500
  }
501
 
502
+ elseif( ! is_shop() && is_product_taxonomy() && $queried_object && ! isset( $filter_value['source_id'] ) && ! isset( $filter_value['source_tax'] )){
503
  $filter_value['source_id'] = $queried_object->slug;
504
  $filter_value['source_tax'] = $queried_object->taxonomy;
505
  }
553
  $taxonomy = $source_tax = ! empty( $_GET['source_tax'] ) ? $_GET['source_tax'] : '';
554
 
555
  if ( defined( 'SHOP_IS_ON_FRONT' ) || ( is_shop() && ! is_product_category() ) ) {
 
 
556
  $return = get_post_type_archive_link( 'product' );
 
 
 
 
557
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
558
  }
559
 
563
  }
564
 
565
  else {
 
 
 
 
 
 
 
 
 
 
 
566
  $return = get_post_type_archive_link( 'product' );
567
 
568
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
808
  function yith_wcan_brands_enabled() {
809
  return apply_filters( 'yith_wcan_brands_enabled', defined( 'YITH_WCBR' ) && YITH_WCBR );
810
  }
811
+ }
812
+
modules/yith-woocommerce-ajax-navigation/init.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
- * Version: 3.4.6
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 2.2.0
13
- * WC tested up to: 3.2.0
14
  *
15
  * @author Your Inspiration Themes
16
  * @package YITH WooCommerce Ajax Navigation
@@ -67,10 +67,11 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
67
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.4.6' );
71
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
 
 
74
  /**
75
  * Init default plugin settings
76
  */
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
+ * Version: 3.5.1
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 2.2.0
13
+ * WC tested up to: 3.3.3
14
  *
15
  * @author Your Inspiration Themes
16
  * @package YITH WooCommerce Ajax Navigation
67
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.5.1' );
71
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
 
74
+
75
  /**
76
  * Init default plugin settings
77
  */
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-de_DE.mo ADDED
Binary file
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-de_DE.po ADDED
@@ -0,0 +1,806 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-02-01 14:37+0100\n"
6
+ "PO-Revision-Date: 2018-02-01 14:37+0100\n"
7
+ "Last-Translator: Thomas Bunte <thomas@bunte-tk.de>\n"
8
+ "Language-Team: \n"
9
+ "Language: de_DE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
+ "X-Generator: Poedit 1.8.9\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
+
23
+ #: includes/class.yith-wcan-admin.php:126
24
+ msgid "Front end"
25
+ msgstr "Frontend"
26
+
27
+ #: includes/class.yith-wcan-admin.php:127 settings/custom-style-options.php:12
28
+ msgid "Custom Style"
29
+ msgstr "Benutzerdefinierter Style"
30
+
31
+ #: includes/class.yith-wcan-admin.php:128
32
+ #: includes/class.yith-wcan-admin.php:195
33
+ msgid "Premium Version"
34
+ msgstr "Premium Version"
35
+
36
+ #: includes/class.yith-wcan-admin.php:134
37
+ #: includes/class.yith-wcan-admin.php:135
38
+ msgid "Ajax Product Filter"
39
+ msgstr "Ajax Product Filter"
40
+
41
+ #: includes/class.yith-wcan-admin.php:191
42
+ msgid "Premium live demo"
43
+ msgstr "Premium Live Demo"
44
+
45
+ #: includes/class.yith-wcan-admin.php:191
46
+ msgid "Live demo"
47
+ msgstr "Live Demo"
48
+
49
+ #: includes/class.yith-wcan-admin.php:219
50
+ msgid "Plugin Documentation"
51
+ msgstr "Plugin Dokumentation"
52
+
53
+ #: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
54
+ #: includes/functions.yith-wcan.php:93
55
+ msgid "Term"
56
+ msgstr "Term"
57
+
58
+ #: includes/functions.yith-wcan.php:57
59
+ #: widgets/class.yith-wcan-navigation-widget.php:867
60
+ msgid "Color"
61
+ msgstr "Farbe"
62
+
63
+ #: includes/functions.yith-wcan.php:71
64
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
65
+ msgid "Color 1"
66
+ msgstr ""
67
+
68
+ #: includes/functions.yith-wcan.php:71
69
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
70
+ msgid "Color 2"
71
+ msgstr ""
72
+
73
+ #: includes/functions.yith-wcan.php:93
74
+ msgid "Labels"
75
+ msgstr "Label"
76
+
77
+ #: init.php:49
78
+ msgid ""
79
+ "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
80
+ "requires WooCommerce in order to work."
81
+ msgstr ""
82
+ "YITH WooCommerce Produkt Countdown ist aktiviert, jedoch nicht funktionabel. "
83
+ "Es wird WooCommerce benötigt."
84
+
85
+ #: init.php:58
86
+ msgid ""
87
+ "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
88
+ "while you are using the premium one."
89
+ msgstr ""
90
+
91
+ #: settings/custom-style-options.php:24
92
+ msgid "Enter here your custom CSS rules:"
93
+ msgstr "Geben Sie hier Ihre angepassten CSS-Regeln ein:"
94
+
95
+ #: settings/frontend-options.php:12
96
+ msgid "Frontend Settings"
97
+ msgstr "Frontend Einstellungen"
98
+
99
+ #: settings/frontend-options.php:25
100
+ msgctxt "Admin panel: option description"
101
+ msgid "How To:"
102
+ msgstr "How To:"
103
+
104
+ #: settings/frontend-options.php:27
105
+ msgctxt "Admin: Panel section description"
106
+ msgid ""
107
+ "If your theme is using WooCommerce standard templates, you don't need to "
108
+ "change the following values.\n"
109
+ " Otherwise, add the classes used in the "
110
+ "templates of your theme.\n"
111
+ " If you don't know how to do, please contact "
112
+ "the developer of your theme to be correctly instructed."
113
+ msgstr ""
114
+ "Wenn Ihr Thema WooCommerce Standardvorlagen verwendet, brauchen Sie die "
115
+ "folgenden Werte nicht zu ändern.\n"
116
+ " Andernfalls fügen Sie die Klassen hinzu, die "
117
+ "in den Vorlagen Ihres Themas verwendet werden.\n"
118
+ " Wenn Sie nicht wissen, wie das geht, wenden "
119
+ "Sie sich bitte an den Entwickler Ihres Themas, um eine korrekte Anleitung zu "
120
+ "erhalten."
121
+
122
+ #: settings/frontend-options.php:33
123
+ msgid "Product Container"
124
+ msgstr "Produkt Container"
125
+
126
+ #: settings/frontend-options.php:34
127
+ msgid "Enter here the CSS class or id for the product container"
128
+ msgstr "Geben Sie hier die CSS-Klasse oder ID für den Produktcontainer ein"
129
+
130
+ #: settings/frontend-options.php:41
131
+ msgid "Shop Pagination Container"
132
+ msgstr "Shop Pagination Container"
133
+
134
+ #: settings/frontend-options.php:42
135
+ msgid "Enter here the CSS class or id for the shop pagination container"
136
+ msgstr ""
137
+ "Geben Sie hier die CSS-Klasse oder ID für den Shop-Pagination-Container ein."
138
+
139
+ #: settings/frontend-options.php:49
140
+ msgid "Result Count Container"
141
+ msgstr "Result Count Container"
142
+
143
+ #: settings/frontend-options.php:50
144
+ msgid "Enter here the CSS class or id for the results count container"
145
+ msgstr ""
146
+ "Geben Sie hier die CSS-Klasse oder ID für den Reslut Count Container ein."
147
+
148
+ #: settings/frontend-options.php:57
149
+ msgid "Scroll top anchor"
150
+ msgstr "Scroll-Top-Anker"
151
+
152
+ #: settings/frontend-options.php:58
153
+ msgid "Enter here the HTML tag for the scroll to top feature"
154
+ msgstr "Geben Sie hier das HTML-Tag für das Scroll-to-Top-Feature ein"
155
+
156
+ #: settings/frontend-options.php:65
157
+ msgid "Order by"
158
+ msgstr "Sortieren nach"
159
+
160
+ #: settings/frontend-options.php:66
161
+ msgid "Sort by number of products contained or alphabetically"
162
+ msgstr "Sortieren nach \"Anzahl der Produkte\" oder \"alphabetisch\""
163
+
164
+ #: settings/frontend-options.php:70
165
+ msgid "Alphabetically"
166
+ msgstr "Alphabetisch"
167
+
168
+ #: settings/frontend-options.php:71
169
+ msgid "WooCommerce Default"
170
+ msgstr "WooCommerce Standard"
171
+
172
+ #: templates/admin/premium.php:203 templates/admin/premium.php:441
173
+ #, php-format
174
+ msgid ""
175
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
176
+ "Filter%2$s to benefit from all features!"
177
+ msgstr ""
178
+
179
+ #: templates/admin/premium.php:206 templates/admin/premium.php:444
180
+ msgid "UPGRADE"
181
+ msgstr ""
182
+
183
+ #: templates/admin/premium.php:207 templates/admin/premium.php:445
184
+ msgid "to the premium version"
185
+ msgstr ""
186
+
187
+ #: templates/admin/premium.php:213
188
+ msgid "Premium Features"
189
+ msgstr ""
190
+
191
+ #: templates/admin/premium.php:221
192
+ msgid "Two more layouts"
193
+ msgstr ""
194
+
195
+ #: templates/admin/premium.php:224
196
+ #, php-format
197
+ msgid ""
198
+ "The YITH WooCommerce Ajax product Filter widget get richer with 2 new "
199
+ "layouts to filter the products of your shop.%1$sBicolor%2$s: the perfect "
200
+ "choice for those attributes related to two different colors at the same time "
201
+ "(white/black), for a simple visual impact for the final user. Pick the "
202
+ "%1$sTag%2$s typology, on the contrary, if you want to filter your products "
203
+ "by product tag. And if you are using also the %1$sYITH WooCommerce Brand Add-"
204
+ "On%2$s plugin, you will be able to offer the freedom to filter your shop "
205
+ "products by brands thanks to the ajax technology."
206
+ msgstr ""
207
+
208
+ #: templates/admin/premium.php:234
209
+ msgid "Price range"
210
+ msgstr ""
211
+
212
+ #: templates/admin/premium.php:237
213
+ #, php-format
214
+ msgid ""
215
+ "One of the most requested filter for e-commerce sites is the one that let "
216
+ "you select products by their prices. Thanks to YITH WooCommerce Ajax List "
217
+ "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
218
+ "able to filter products selecting on the ranges you have set."
219
+ msgstr ""
220
+
221
+ #: templates/admin/premium.php:253
222
+ msgid "Ajax Stock/On Sale Filters"
223
+ msgstr ""
224
+
225
+ #: templates/admin/premium.php:256
226
+ #, php-format
227
+ msgid ""
228
+ "A new widget for the premium version of the plugin. Whoever will surf the "
229
+ "pages of your shop will be able to display only the products on sale and/or "
230
+ "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
231
+ "that is worthy!%2$s"
232
+ msgstr ""
233
+
234
+ #: templates/admin/premium.php:266
235
+ msgid "Product sorting"
236
+ msgstr ""
237
+
238
+ #: templates/admin/premium.php:269
239
+ #, php-format
240
+ msgid ""
241
+ "With the new %1$sYITH WooCommerce Ajax Sort By%2$s widget, you can give your "
242
+ "users the freedom to sort products with the ajax technology, without the "
243
+ "need to reload the page. Products can be sorted by rate, sales, price or "
244
+ "publication date."
245
+ msgstr ""
246
+
247
+ #: templates/admin/premium.php:285
248
+ msgid "Customized loader"
249
+ msgstr ""
250
+
251
+ #: templates/admin/premium.php:288
252
+ msgid ""
253
+ "From the plugin option panel, you can choose to upload a new icon for your "
254
+ "loader: in this way, it will better meet your needs."
255
+ msgstr ""
256
+
257
+ #: templates/admin/premium.php:298
258
+ msgid "WooCommerce Price Filter"
259
+ msgstr ""
260
+
261
+ #: templates/admin/premium.php:301
262
+ #, php-format
263
+ msgid ""
264
+ "Take advantage of the premium version of the plugin to edit the default "
265
+ "behavior of WooCommerce Price Filter. Change the %1$slayout of the filter"
266
+ "%2$s and activate the %1$sAjax mode%2$s to apply the filter immediately, "
267
+ "without reloading the page."
268
+ msgstr ""
269
+
270
+ #: templates/admin/premium.php:317
271
+ msgid "SEO"
272
+ msgstr "SEO"
273
+
274
+ #: templates/admin/premium.php:320
275
+ msgid ""
276
+ "The Ajax management of the plugin adds specific queries to the URLs of the "
277
+ "current page. Choose whether to allow search engines to index the URLs "
278
+ "generated by the plugin, or not: with the latter, you will be free to avoid "
279
+ "possible penalizations that may apply to your site."
280
+ msgstr ""
281
+
282
+ #: templates/admin/premium.php:330
283
+ msgid " Filter by category"
284
+ msgstr ""
285
+
286
+ #: templates/admin/premium.php:333
287
+ #, php-format
288
+ msgid ""
289
+ "Configure the widget to let your users filter product by a %1$sselected "
290
+ "category%2$s. Your users will be even happier to browse your shop."
291
+ msgstr ""
292
+
293
+ #: templates/admin/premium.php:349
294
+ msgid "FILTER ORDERING"
295
+ msgstr ""
296
+
297
+ #: templates/admin/premium.php:352
298
+ msgid ""
299
+ "Choose one of the two solutions for a better filter ordering of your "
300
+ "product archieve pages: classic alphabetical order or decreasing order, "
301
+ "based on the number of products contained in each filter."
302
+ msgstr ""
303
+
304
+ #: templates/admin/premium.php:362
305
+ msgid "Filter style"
306
+ msgstr "Filterstil"
307
+
308
+ #: templates/admin/premium.php:365
309
+ msgid ""
310
+ "In addition to the classic visualization style, the premium version of this "
311
+ "plugin gives you the possibility to show filters in \"checkbox\" style. "
312
+ "Users will experience a new look of your pages while filtering products."
313
+ msgstr ""
314
+
315
+ #: templates/admin/premium.php:381
316
+ msgid "Page url"
317
+ msgstr ""
318
+
319
+ #: templates/admin/premium.php:384
320
+ msgid ""
321
+ "Each applied filter generates a new url for the page. You can decide to keep "
322
+ "the same url or let it get automatically updated every time user applies a "
323
+ "filter to the products list of your shop."
324
+ msgstr ""
325
+
326
+ #: templates/admin/premium.php:394
327
+ msgid "Filter by tag"
328
+ msgstr ""
329
+
330
+ #: templates/admin/premium.php:397
331
+ msgid ""
332
+ "If you use tags as a powerful tool to classify your products, you can "
333
+ "configure an ad-hoc filter to be used on your products also by tag. In "
334
+ "addition, you could organize your tags in a hierarchy and have appropriate "
335
+ "tools for a better management of your products."
336
+ msgstr ""
337
+
338
+ #: templates/admin/premium.php:413
339
+ msgid "Reset"
340
+ msgstr ""
341
+
342
+ #: templates/admin/premium.php:416
343
+ msgid ""
344
+ "User experience on the site requires handiness and insight. This is why it "
345
+ "is unreasonable to deselect filters one by one to go back to the main view "
346
+ "when multiple filters have been applied to the product list. The plugin also "
347
+ "manages this action by a specific button which reset filters and by other "
348
+ "two which refresh the main view of categories and/or tags."
349
+ msgstr ""
350
+
351
+ #: templates/admin/premium.php:426
352
+ msgid "Scroll to top"
353
+ msgstr ""
354
+
355
+ #: templates/admin/premium.php:429
356
+ msgid ""
357
+ "Scroll to top is a feature to improve user experience on your site. Soon "
358
+ "after filtering the product list, the page will be automatically scrolled to "
359
+ "the top so the user can immediately see the filtered list. "
360
+ msgstr ""
361
+
362
+ #: widgets/class.yith-wcan-navigation-widget.php:36
363
+ msgid "Filter the list of products without reloading the page"
364
+ msgstr "Filtern Sie die Produktliste, ohne die Seite neu zu laden"
365
+
366
+ #: widgets/class.yith-wcan-navigation-widget.php:39
367
+ msgctxt "Admin: Widget Title"
368
+ msgid "YITH WooCommerce Ajax Product Filter"
369
+ msgstr "YITH WooCommerce Ajax Produkt Filter"
370
+
371
+ #: widgets/class.yith-wcan-navigation-widget.php:153
372
+ msgid "Filters:"
373
+ msgstr "Filter:"
374
+
375
+ #: widgets/class.yith-wcan-navigation-widget.php:866
376
+ msgid "List"
377
+ msgstr "Liste"
378
+
379
+ #: widgets/class.yith-wcan-navigation-widget.php:868
380
+ msgid "Label"
381
+ msgstr "Label"
382
+
383
+ #: widgets/class.yith-wcan-navigation-widget.php:869
384
+ msgid "Dropdown"
385
+ msgstr "Dropdown"
386
+
387
+ #: widgets/class.yith-wcan-navigation-widget.php:876
388
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
389
+ msgid "Title"
390
+ msgstr "Titel"
391
+
392
+ #: widgets/class.yith-wcan-navigation-widget.php:882
393
+ msgid "Type:"
394
+ msgstr "Typ:"
395
+
396
+ #: widgets/class.yith-wcan-navigation-widget.php:893
397
+ msgid "Query Type:"
398
+ msgstr "Query-Typ"
399
+
400
+ #: widgets/class.yith-wcan-navigation-widget.php:895
401
+ msgid "AND"
402
+ msgstr "AND"
403
+
404
+ #: widgets/class.yith-wcan-navigation-widget.php:896
405
+ msgid "OR"
406
+ msgstr "OR"
407
+
408
+ #: widgets/class.yith-wcan-navigation-widget.php:902
409
+ msgid "Attribute:"
410
+ msgstr "Attribute:"
411
+
412
+ #: widgets/class.yith-wcan-navigation-widget.php:909
413
+ msgid "Display (default All):"
414
+ msgstr "Anzeige (Standard Alles):"
415
+
416
+ #: widgets/class.yith-wcan-navigation-widget.php:911
417
+ msgid "All (no hierarchical)"
418
+ msgstr "Alle (nicht hierarchisch)"
419
+
420
+ #: widgets/class.yith-wcan-navigation-widget.php:912
421
+ msgid "All (hierarchical)"
422
+ msgstr "Alles (hierarchisch)"
423
+
424
+ #: widgets/class.yith-wcan-navigation-widget.php:913
425
+ msgid "Only Parent"
426
+ msgstr "Nur Übergeordnete"
427
+
428
+ #: widgets/class.yith-wcan-navigation-widget.php:920
429
+ msgid "CSS custom class"
430
+ msgstr "Benutzerdefinierte CSS-Klasse"
431
+
432
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:23
433
+ msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
434
+ msgstr "YITH WooCommerce Ajax Filter zurücksetzen"
435
+
436
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:25
437
+ msgid "YITH WooCommerce Ajax Reset Filter"
438
+ msgstr "YITH WooCommerce Ajax Reset Filter"
439
+
440
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
441
+ msgid "Reset All Filters"
442
+ msgstr "Alle Filter zurücksetzen"
443
+
444
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
445
+ msgid "Button Label"
446
+ msgstr "Button Beschriftung"
447
+
448
+ #~ msgid "Settings"
449
+ #~ msgstr "Einstellungen"
450
+
451
+ #~ msgctxt "[Admin] Option name"
452
+ #~ msgid "Enable Scroll Top"
453
+ #~ msgstr "Bedienungselement \"nach oben\" aktivieren"
454
+
455
+ #~ msgid ""
456
+ #~ "Select whether you want to enable the \"Scroll to top\" option on "
457
+ #~ "Desktop, Mobile, or on both of them"
458
+ #~ msgstr ""
459
+ #~ "Wählen Sie diese Option, wenn Sie \"Scrollen nach oben\" auf Desktop, "
460
+ #~ "Mobile oder auf beiden aktivieren möchten"
461
+
462
+ #~ msgid "Disabled"
463
+ #~ msgstr "Deaktivieren"
464
+
465
+ #~ msgid "Mobile"
466
+ #~ msgstr "Mobil"
467
+
468
+ #~ msgid "Desktop"
469
+ #~ msgstr "Desktop"
470
+
471
+ #~ msgid "Mobile and Desktop"
472
+ #~ msgstr "Mobil und Desktop"
473
+
474
+ #~ msgid "Widget Title Tag"
475
+ #~ msgstr "Widget-Titel Tag"
476
+
477
+ #~ msgid "Enter here the HTML tag for the widget title"
478
+ #~ msgstr "Geben Sie hier das HTML-Tag für den Widget Titel ein"
479
+
480
+ #~ msgid "Widget Wrapper Tag"
481
+ #~ msgstr "Widget Wrapper Tag"
482
+
483
+ #~ msgid "Enter here the HTML tag for the widget wrapper"
484
+ #~ msgstr "Geben Sie hier das HTML-Tag für den Widget Wrapper ein"
485
+
486
+ #~ msgid "Number of products"
487
+ #~ msgstr "Anzahl der Produkte"
488
+
489
+ #~ msgid "Select the filter style"
490
+ #~ msgstr "Filter Stil wählen"
491
+
492
+ #~ msgid "\"x\" icon before activated filter"
493
+ #~ msgstr "\"x\" Symbol vor aktiviertem Filter"
494
+
495
+ #~ msgid "Checkboxes"
496
+ #~ msgstr "Checkboxen"
497
+
498
+ #~ msgid "Enable ajax shop pagination"
499
+ #~ msgstr "Ajax Shop Paginierung aktivieren"
500
+
501
+ #~ msgid "Enable AJAX WooCommerce pagination"
502
+ #~ msgstr "WooCommerce Ajax Paginierung aktivieren"
503
+
504
+ #~ msgid "Shop Pagination Container Anchor"
505
+ #~ msgstr "Shop Paginierung Container Anker"
506
+
507
+ #~ msgid "Enter here the HTML tag for the shop pagination anchor"
508
+ #~ msgstr "Geben Sie hier das HTML-Tag für den Shop Paginierungs-Anker ein"
509
+
510
+ #~ msgid "Show current categories"
511
+ #~ msgstr "Aktuelle Kategorien anzeigen"
512
+
513
+ #~ msgid ""
514
+ #~ "This option allows whether to show or hide the current category when you "
515
+ #~ "are on it. For example, if I am on “Jeans” category page, the \"Jeans\" "
516
+ #~ "filter is automatically hidden."
517
+ #~ msgstr ""
518
+ #~ "Mit dieser Option können Sie festlegen, ob die aktuelle Kategorie ein- "
519
+ #~ "oder ausgeblendet werden soll. Wenn ich zum Beispiel auf der Kategorie-"
520
+ #~ "Seite \"Jeans\" bin, wird der Filter \"Jeans\" automatisch ausgeblendet."
521
+
522
+ #~ msgid "Show \"All Categories\" link"
523
+ #~ msgstr "Link \"Alle Kategorien\" anzeigen"
524
+
525
+ #~ msgid "Add a link \"See all categories\" after a filter is applied"
526
+ #~ msgstr ""
527
+ #~ "Link \"Alle Kategorien anzeigen\" anzeigen, nachdem der Filter gewählt "
528
+ #~ "wurde"
529
+
530
+ #~ msgid "\"All Categories\" link text"
531
+ #~ msgstr "Linktext \"Alle Kategorien\""
532
+
533
+ #~ msgid "Enter here the text for the link \"See all categories\""
534
+ #~ msgstr "Hier den Linktext für den Link \"Alle Kategorien\" eingeben"
535
+
536
+ #~ msgid "See all categories"
537
+ #~ msgstr "Alle Kategorien anzeigen"
538
+
539
+ #~ msgid "Show \"All Tags\" link"
540
+ #~ msgstr "Link \"Alle Schlagwörter\" anzeigen"
541
+
542
+ #~ msgid "Add a link \"See all tags\" after a filter is applied"
543
+ #~ msgstr ""
544
+ #~ "Link \"Alle Schlagwörter anzeigen\" anzeigen, nachdem der Filer gewählt "
545
+ #~ "wurde"
546
+
547
+ #~ msgid "\"All Tags\" link text"
548
+ #~ msgstr "Linktext \"Alle Schlagwörter\""
549
+
550
+ #~ msgid "Text for \"See all tags\" link"
551
+ #~ msgstr "Text für Link \"Alle Schlagwörter anzeigen\""
552
+
553
+ #~ msgid "See all tags"
554
+ #~ msgstr "Alle Schlagwörter anzeigen"
555
+
556
+ #~ msgid "Enable Hierarchical Management for Product Tags"
557
+ #~ msgstr "Hierarchische Verwaltung für Produkt Schlagwörter aktivieren"
558
+
559
+ #~ msgid "Hack the standard WooCommerce non-hierarchical product tags"
560
+ #~ msgstr ""
561
+ #~ "Hacken Sie die Standard WooCommerce nicht-hierarchischen Produkt-Tags"
562
+
563
+ #~ msgid "General Settings"
564
+ #~ msgstr "Allgemeine Einstellungen"
565
+
566
+ #~ msgid "Ajax Loader"
567
+ #~ msgstr "Ajax Loader"
568
+
569
+ #~ msgid "Customize the AJAX loader icon"
570
+ #~ msgstr "Symbol für den Ajax Loader anpassen"
571
+
572
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
573
+ #~ msgid "Ajax WooCommerce Price Filter"
574
+ #~ msgstr "Ajax WooCommerce Preis Filter"
575
+
576
+ #~ msgid "Use AJAX WooCommerce price filter"
577
+ #~ msgstr "Verwenden Sie den AJAX WooCommerce Preisfilter"
578
+
579
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
580
+ #~ msgid "WooCommerce Price Filter slider"
581
+ #~ msgstr "WooCommerce Preis Filter Slider"
582
+
583
+ #~ msgid "Use WooCommerce price filter with slider"
584
+ #~ msgstr "Verwenden Sie WooCommerce Preisfilter Slider"
585
+
586
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
587
+ #~ msgid "Instant WooCommerce Price Filter slider"
588
+ #~ msgstr "Instant WooCommerce Preis Filter Slider"
589
+
590
+ #~ msgid ""
591
+ #~ "Use WooCommerce price filter with ajax slider without \"Filter\" button"
592
+ #~ msgstr ""
593
+ #~ "Benutzen Sie WooCommerce Preisfilter mit Ajax-Slider ohne \"Filter\"-"
594
+ #~ "Button"
595
+
596
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
597
+ #~ msgid "Dropdown for WooCommerce Price Filter"
598
+ #~ msgstr "Dropdown für WooCommerce Preisfilter"
599
+
600
+ #~ msgid "Add dropdown effect to original WooCommerce Price Filter widget"
601
+ #~ msgstr ""
602
+ #~ "Dropdown-Effekt zum Original WooCommerce Price Filter Widget hinzufügen"
603
+
604
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
605
+ #~ msgid "Open/Close for WooCommerce Price Filter"
606
+ #~ msgstr "Öffnen/Schließen für WooCommerce Preisfilter"
607
+
608
+ #~ msgid ""
609
+ #~ "Select this option if you want to show the dropdown as opened or closed "
610
+ #~ "when the page is loaded"
611
+ #~ msgstr ""
612
+ #~ "Wählen Sie diese Option, wenn Sie die Dropdown-Liste beim Laden der Seite "
613
+ #~ "als geöffnet oder geschlossen anzeigen möchten."
614
+
615
+ #~ msgid "Opened"
616
+ #~ msgstr "Geöffnet"
617
+
618
+ #~ msgid "Closed"
619
+ #~ msgstr "Geschlossen"
620
+
621
+ #~ msgid "Enable SEO option"
622
+ #~ msgstr "Aktiviert SEO Option"
623
+
624
+ #~ msgid ""
625
+ #~ "Add \"robots\" meta tag in head tag of HTML page if filters have been "
626
+ #~ "activated."
627
+ #~ msgstr ""
628
+ #~ "\"robots\" Meta Tag in den Kopf (Head Tag) der HTML-Seite nehmen, sobald "
629
+ #~ "die Filter aktiviert wurden."
630
+
631
+ #~ msgid "Meta tag options"
632
+ #~ msgstr "Meta Tag Optionen"
633
+
634
+ #~ msgid "Change browser URL"
635
+ #~ msgstr "Browser URL ändern"
636
+
637
+ #~ msgid ""
638
+ #~ "Enable this option if you want to update the URL after applying a filter."
639
+ #~ msgstr ""
640
+ #~ "Aktivieren, wenn Sie die URL aktualisieren möchten, nachdem der Filter "
641
+ #~ "gewählt wurde."
642
+
643
+ #~ msgctxt "Price filter option: price starts from"
644
+ #~ msgid "From"
645
+ #~ msgstr "Von"
646
+
647
+ #~ msgctxt "Price filter option: price ends to"
648
+ #~ msgid "To"
649
+ #~ msgstr "Bis"
650
+
651
+ #~ msgid ""
652
+ #~ "Show a price filter widget with a list of preset price ranges that users "
653
+ #~ "can use to better narrow down the products"
654
+ #~ msgstr ""
655
+ #~ "Zeigen Sie ein Preisfilter-Widget mit einer Liste voreingestellter "
656
+ #~ "Preisspannen, mit denen Benutzer die Produkte besser eingrenzen können."
657
+
658
+ #~ msgid "YITH WooCommerce Ajax Price List Filter"
659
+ #~ msgstr "YITH WooCommerce Ajax Preisliste Filter"
660
+
661
+ #~ msgctxt "refer to: product price"
662
+ #~ msgid "Price Filter"
663
+ #~ msgstr "Preis Filter"
664
+
665
+ #~ msgid "Show widget dropdown"
666
+ #~ msgstr "Widget Dropdown anzeigen"
667
+
668
+ #~ msgctxt "Select this if you want to show the widget as open or closed"
669
+ #~ msgid "Dropdown style:"
670
+ #~ msgstr "Dropdown Stil:"
671
+
672
+ #~ msgid "Price Range"
673
+ #~ msgstr "Preisspanne"
674
+
675
+ #~ msgid "Add new range"
676
+ #~ msgstr "Neue Preisspanne hinzufügen"
677
+
678
+ #~ msgid "\"See all categories/tags\" link text"
679
+ #~ msgstr "Linktext für \"Alle Kategorien/Schlagwörter anzeigen\""
680
+
681
+ #~ msgid "Leave it empty to use the default text available"
682
+ #~ msgstr "Leer lassen um den Standardtext zu verwenden"
683
+
684
+ #~ msgid "here"
685
+ #~ msgstr "hier"
686
+
687
+ #~ msgid "current categories text"
688
+ #~ msgstr "Aktueller Kategorietext"
689
+
690
+ #~ msgid "current tags text"
691
+ #~ msgstr "Aktueller Schlagworttext"
692
+
693
+ #~ msgid "No tags found."
694
+ #~ msgstr "Keine Schlagwörter gefunden."
695
+
696
+ #~ msgctxt "Admin: Section title"
697
+ #~ msgid "Tag List"
698
+ #~ msgstr "Schlagwort-Liste"
699
+
700
+ #~ msgid "Show Selected"
701
+ #~ msgstr "Ausgewählte anzeigen"
702
+
703
+ #~ msgid "Hide Selected"
704
+ #~ msgstr "Ausgewählte ausblenden"
705
+
706
+ #~ msgid "Select all"
707
+ #~ msgstr "Alle auswählen"
708
+
709
+ #~ msgid "Unselect all"
710
+ #~ msgstr "Alle abwählen"
711
+
712
+ #~ msgctxt "Admin: user note"
713
+ #~ msgid ""
714
+ #~ "Note: tags with no products assigned will not be showed in the front end"
715
+ #~ msgstr ""
716
+ #~ "Hinweis: Schlagwörter, denen keine Produkte zugeordnet sind, werden nicht "
717
+ #~ "im Frontend angezeigt. "
718
+
719
+ #~ msgid "Tag name"
720
+ #~ msgstr "Schlagwort-Name."
721
+
722
+ #~ msgid "Count"
723
+ #~ msgstr "Anzahl"
724
+
725
+ #~ msgctxt "Select if you want to show round color box or square color box"
726
+ #~ msgid "Color Style:"
727
+ #~ msgstr "Color Style:"
728
+
729
+ #~ msgid "Square"
730
+ #~ msgstr "Quadrat"
731
+
732
+ #~ msgid "Round"
733
+ #~ msgstr "Rund"
734
+
735
+ #~ msgid "Hide product count"
736
+ #~ msgstr "Produktanzahl ausblenden"
737
+
738
+ #~ msgid "See all"
739
+ #~ msgstr "Alle anzeigen"
740
+
741
+ #~ msgid "Categories"
742
+ #~ msgstr "Kategorien"
743
+
744
+ #~ msgid "BiColor"
745
+ #~ msgstr "BiColor"
746
+
747
+ #~ msgid "Tag"
748
+ #~ msgstr "Schlagwort"
749
+
750
+ #~ msgid "Brand"
751
+ #~ msgstr "Marke / Brand"
752
+
753
+ #~ msgid "Use custom style for reset button"
754
+ #~ msgstr ""
755
+ #~ "benutzerdefinierte Formatvorlage für Schaltfläche \"Zurücksetzen\" "
756
+ #~ "verwenden"
757
+
758
+ #~ msgid "Background color"
759
+ #~ msgstr "Background Farbe"
760
+
761
+ #~ msgid "Background color on hover"
762
+ #~ msgstr "Background Farbe beim hovern"
763
+
764
+ #~ msgid "Text color"
765
+ #~ msgstr "Text Farbe"
766
+
767
+ #~ msgid "Text color on hover"
768
+ #~ msgstr "Text Farbe beim hovern"
769
+
770
+ #~ msgid "Border color"
771
+ #~ msgstr "Border Farbe"
772
+
773
+ #~ msgid "Border color on hover"
774
+ #~ msgstr "Border Farbe beim hovern"
775
+
776
+ #~ msgid "Choose how to sort WooCommerce products"
777
+ #~ msgstr "Wählen Sie, wie Sie Produkte sortieren möchten"
778
+
779
+ #~ msgid "YITH WooCommerce Ajax Sort By"
780
+ #~ msgstr "YITH WooCommerce Ajax Sortieren nach"
781
+
782
+ #~ msgctxt "Product sorting"
783
+ #~ msgid "Sort by"
784
+ #~ msgstr "Sortieren nach"
785
+
786
+ #~ msgid "Display on sale and in stock WooCommerce products"
787
+ #~ msgstr "Anzeige von OnSale und Auf Lager Produkten in WooCommerce"
788
+
789
+ #~ msgid "YITH WooCommerce Ajax In Stock/On Sale Filters"
790
+ #~ msgstr "YITH WooCommerce Ajax Auf Lager/On Sale Filter"
791
+
792
+ #~ msgid "Show only \"On Sale\" products"
793
+ #~ msgstr "Nur \"On Sale\"-Produkte anzeigen"
794
+
795
+ #~ msgid "Show only \"In Stock\" products"
796
+ #~ msgstr "Nur \"Auf Lager\" Produkte anzeigen"
797
+
798
+ #~ msgctxt "Product sorting"
799
+ #~ msgid "Stock/On sale"
800
+ #~ msgstr "Auf Lager/OnSale"
801
+
802
+ #~ msgid "Show \"On Sale\" filter"
803
+ #~ msgstr "Filter \"OnSale\" anzeigen"
804
+
805
+ #~ msgid "Show \"In Stock\" filter"
806
+ #~ msgstr "Filter \"Auf Lager\" anzeigen"
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-es_ES.mo ADDED
Binary file
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-es_ES.po ADDED
@@ -0,0 +1,901 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-02-01 14:37+0100\n"
6
+ "PO-Revision-Date: 2018-02-01 14:37+0100\n"
7
+ "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: es_ES\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.9\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
+
23
+ #: includes/class.yith-wcan-admin.php:126
24
+ msgid "Front end"
25
+ msgstr "Front end"
26
+
27
+ #: includes/class.yith-wcan-admin.php:127 settings/custom-style-options.php:12
28
+ msgid "Custom Style"
29
+ msgstr "Estilo personalizado"
30
+
31
+ #: includes/class.yith-wcan-admin.php:128
32
+ #: includes/class.yith-wcan-admin.php:195
33
+ msgid "Premium Version"
34
+ msgstr "Versión Premium"
35
+
36
+ #: includes/class.yith-wcan-admin.php:134
37
+ #: includes/class.yith-wcan-admin.php:135
38
+ msgid "Ajax Product Filter"
39
+ msgstr "Ajax Product Filter"
40
+
41
+ #: includes/class.yith-wcan-admin.php:191
42
+ msgid "Premium live demo"
43
+ msgstr "Live Demo Premium"
44
+
45
+ #: includes/class.yith-wcan-admin.php:191
46
+ msgid "Live demo"
47
+ msgstr "Live demo"
48
+
49
+ #: includes/class.yith-wcan-admin.php:219
50
+ msgid "Plugin Documentation"
51
+ msgstr "Documentación del plugin"
52
+
53
+ #: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
54
+ #: includes/functions.yith-wcan.php:93
55
+ msgid "Term"
56
+ msgstr "Término"
57
+
58
+ #: includes/functions.yith-wcan.php:57
59
+ #: widgets/class.yith-wcan-navigation-widget.php:867
60
+ msgid "Color"
61
+ msgstr "Color"
62
+
63
+ #: includes/functions.yith-wcan.php:71
64
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
65
+ msgid "Color 1"
66
+ msgstr "Color 1"
67
+
68
+ #: includes/functions.yith-wcan.php:71
69
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
70
+ msgid "Color 2"
71
+ msgstr "Color 2"
72
+
73
+ #: includes/functions.yith-wcan.php:93
74
+ msgid "Labels"
75
+ msgstr "Etiquetas"
76
+
77
+ #: init.php:49
78
+ msgid ""
79
+ "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
80
+ "requires WooCommerce in order to work."
81
+ msgstr ""
82
+ "YITH WooCommerce Ajax Product Filter está habilitado pero no es efectivo. "
83
+ "Requiere WooCommerce para funcionar."
84
+
85
+ #: init.php:58
86
+ msgid ""
87
+ "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
88
+ "while you are using the premium one."
89
+ msgstr ""
90
+
91
+ #: settings/custom-style-options.php:24
92
+ msgid "Enter here your custom CSS rules:"
93
+ msgstr "Introduce aquí tus reglas CSS personalizadas:"
94
+
95
+ #: settings/frontend-options.php:12
96
+ msgid "Frontend Settings"
97
+ msgstr "Ajustes de Frontend"
98
+
99
+ #: settings/frontend-options.php:25
100
+ msgctxt "Admin panel: option description"
101
+ msgid "How To:"
102
+ msgstr "Instrucciones:"
103
+
104
+ #: settings/frontend-options.php:27
105
+ msgctxt "Admin: Panel section description"
106
+ msgid ""
107
+ "If your theme is using WooCommerce standard templates, you don't need to "
108
+ "change the following values.\n"
109
+ " Otherwise, add the classes used in the "
110
+ "templates of your theme.\n"
111
+ " If you don't know how to do, please contact "
112
+ "the developer of your theme to be correctly instructed."
113
+ msgstr ""
114
+ "Si tu tema usa plantillas estándar WooCommerce, no necesitas cambiar los "
115
+ "siguientes valores.\n"
116
+ " Si no, añade las clases que se usan en las "
117
+ "plantillas de tu tema.\n"
118
+ " Si no sabes cómo hacerlo, por favor, "
119
+ "contacta con el desarrollador de tu tema para recibir las instrucciones "
120
+ "correctas."
121
+
122
+ #: settings/frontend-options.php:33
123
+ msgid "Product Container"
124
+ msgstr "Contenedor de producto"
125
+
126
+ #: settings/frontend-options.php:34
127
+ msgid "Enter here the CSS class or id for the product container"
128
+ msgstr "Introduce aquí la clase CSS o ID para el contenedor del producto"
129
+
130
+ #: settings/frontend-options.php:41
131
+ msgid "Shop Pagination Container"
132
+ msgstr "Contenedor de paginación de la tienda"
133
+
134
+ #: settings/frontend-options.php:42
135
+ msgid "Enter here the CSS class or id for the shop pagination container"
136
+ msgstr ""
137
+ "Introduce aquí la clase CSS o ID para el contenedor de paginación de la "
138
+ "tienda"
139
+
140
+ #: settings/frontend-options.php:49
141
+ msgid "Result Count Container"
142
+ msgstr "Contenedor de cuenta de resultado"
143
+
144
+ #: settings/frontend-options.php:50
145
+ msgid "Enter here the CSS class or id for the results count container"
146
+ msgstr ""
147
+ "Introduce aquí la clase CSS o ID para el recuento de contenedor de resultados"
148
+
149
+ #: settings/frontend-options.php:57
150
+ msgid "Scroll top anchor"
151
+ msgstr "Clase HTML o ID para la función \"Scroll Top\""
152
+
153
+ #: settings/frontend-options.php:58
154
+ msgid "Enter here the HTML tag for the scroll to top feature"
155
+ msgstr ""
156
+
157
+ #: settings/frontend-options.php:65
158
+ msgid "Order by"
159
+ msgstr "Ordenar por"
160
+
161
+ #: settings/frontend-options.php:66
162
+ msgid "Sort by number of products contained or alphabetically"
163
+ msgstr "Ordenar por número de productos contenidos o alfabéticamente"
164
+
165
+ #: settings/frontend-options.php:70
166
+ msgid "Alphabetically"
167
+ msgstr "Alfabéticamente"
168
+
169
+ #: settings/frontend-options.php:71
170
+ msgid "WooCommerce Default"
171
+ msgstr ""
172
+
173
+ #: templates/admin/premium.php:203 templates/admin/premium.php:441
174
+ #, php-format
175
+ msgid ""
176
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
177
+ "Filter%2$s to benefit from all features!"
178
+ msgstr ""
179
+
180
+ #: templates/admin/premium.php:206 templates/admin/premium.php:444
181
+ msgid "UPGRADE"
182
+ msgstr ""
183
+
184
+ #: templates/admin/premium.php:207 templates/admin/premium.php:445
185
+ msgid "to the premium version"
186
+ msgstr ""
187
+
188
+ #: templates/admin/premium.php:213
189
+ msgid "Premium Features"
190
+ msgstr ""
191
+
192
+ #: templates/admin/premium.php:221
193
+ msgid "Two more layouts"
194
+ msgstr ""
195
+
196
+ #: templates/admin/premium.php:224
197
+ #, php-format
198
+ msgid ""
199
+ "The YITH WooCommerce Ajax product Filter widget get richer with 2 new "
200
+ "layouts to filter the products of your shop.%1$sBicolor%2$s: the perfect "
201
+ "choice for those attributes related to two different colors at the same time "
202
+ "(white/black), for a simple visual impact for the final user. Pick the "
203
+ "%1$sTag%2$s typology, on the contrary, if you want to filter your products "
204
+ "by product tag. And if you are using also the %1$sYITH WooCommerce Brand Add-"
205
+ "On%2$s plugin, you will be able to offer the freedom to filter your shop "
206
+ "products by brands thanks to the ajax technology."
207
+ msgstr ""
208
+
209
+ #: templates/admin/premium.php:234
210
+ msgid "Price range"
211
+ msgstr ""
212
+
213
+ #: templates/admin/premium.php:237
214
+ #, php-format
215
+ msgid ""
216
+ "One of the most requested filter for e-commerce sites is the one that let "
217
+ "you select products by their prices. Thanks to YITH WooCommerce Ajax List "
218
+ "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
219
+ "able to filter products selecting on the ranges you have set."
220
+ msgstr ""
221
+
222
+ #: templates/admin/premium.php:253
223
+ msgid "Ajax Stock/On Sale Filters"
224
+ msgstr ""
225
+
226
+ #: templates/admin/premium.php:256
227
+ #, php-format
228
+ msgid ""
229
+ "A new widget for the premium version of the plugin. Whoever will surf the "
230
+ "pages of your shop will be able to display only the products on sale and/or "
231
+ "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
232
+ "that is worthy!%2$s"
233
+ msgstr ""
234
+
235
+ #: templates/admin/premium.php:266
236
+ msgid "Product sorting"
237
+ msgstr ""
238
+
239
+ #: templates/admin/premium.php:269
240
+ #, php-format
241
+ msgid ""
242
+ "With the new %1$sYITH WooCommerce Ajax Sort By%2$s widget, you can give your "
243
+ "users the freedom to sort products with the ajax technology, without the "
244
+ "need to reload the page. Products can be sorted by rate, sales, price or "
245
+ "publication date."
246
+ msgstr ""
247
+
248
+ #: templates/admin/premium.php:285
249
+ msgid "Customized loader"
250
+ msgstr ""
251
+
252
+ #: templates/admin/premium.php:288
253
+ msgid ""
254
+ "From the plugin option panel, you can choose to upload a new icon for your "
255
+ "loader: in this way, it will better meet your needs."
256
+ msgstr ""
257
+
258
+ #: templates/admin/premium.php:298
259
+ msgid "WooCommerce Price Filter"
260
+ msgstr ""
261
+
262
+ #: templates/admin/premium.php:301
263
+ #, php-format
264
+ msgid ""
265
+ "Take advantage of the premium version of the plugin to edit the default "
266
+ "behavior of WooCommerce Price Filter. Change the %1$slayout of the filter"
267
+ "%2$s and activate the %1$sAjax mode%2$s to apply the filter immediately, "
268
+ "without reloading the page."
269
+ msgstr ""
270
+
271
+ #: templates/admin/premium.php:317
272
+ msgid "SEO"
273
+ msgstr "SEO"
274
+
275
+ #: templates/admin/premium.php:320
276
+ msgid ""
277
+ "The Ajax management of the plugin adds specific queries to the URLs of the "
278
+ "current page. Choose whether to allow search engines to index the URLs "
279
+ "generated by the plugin, or not: with the latter, you will be free to avoid "
280
+ "possible penalizations that may apply to your site."
281
+ msgstr ""
282
+
283
+ #: templates/admin/premium.php:330
284
+ msgid " Filter by category"
285
+ msgstr ""
286
+
287
+ #: templates/admin/premium.php:333
288
+ #, php-format
289
+ msgid ""
290
+ "Configure the widget to let your users filter product by a %1$sselected "
291
+ "category%2$s. Your users will be even happier to browse your shop."
292
+ msgstr ""
293
+
294
+ #: templates/admin/premium.php:349
295
+ msgid "FILTER ORDERING"
296
+ msgstr ""
297
+
298
+ #: templates/admin/premium.php:352
299
+ msgid ""
300
+ "Choose one of the two solutions for a better filter ordering of your "
301
+ "product archieve pages: classic alphabetical order or decreasing order, "
302
+ "based on the number of products contained in each filter."
303
+ msgstr ""
304
+
305
+ #: templates/admin/premium.php:362
306
+ msgid "Filter style"
307
+ msgstr "Estilo de filtro"
308
+
309
+ #: templates/admin/premium.php:365
310
+ msgid ""
311
+ "In addition to the classic visualization style, the premium version of this "
312
+ "plugin gives you the possibility to show filters in \"checkbox\" style. "
313
+ "Users will experience a new look of your pages while filtering products."
314
+ msgstr ""
315
+
316
+ #: templates/admin/premium.php:381
317
+ msgid "Page url"
318
+ msgstr ""
319
+
320
+ #: templates/admin/premium.php:384
321
+ msgid ""
322
+ "Each applied filter generates a new url for the page. You can decide to keep "
323
+ "the same url or let it get automatically updated every time user applies a "
324
+ "filter to the products list of your shop."
325
+ msgstr ""
326
+
327
+ #: templates/admin/premium.php:394
328
+ msgid "Filter by tag"
329
+ msgstr ""
330
+
331
+ #: templates/admin/premium.php:397
332
+ msgid ""
333
+ "If you use tags as a powerful tool to classify your products, you can "
334
+ "configure an ad-hoc filter to be used on your products also by tag. In "
335
+ "addition, you could organize your tags in a hierarchy and have appropriate "
336
+ "tools for a better management of your products."
337
+ msgstr ""
338
+
339
+ #: templates/admin/premium.php:413
340
+ msgid "Reset"
341
+ msgstr ""
342
+
343
+ #: templates/admin/premium.php:416
344
+ msgid ""
345
+ "User experience on the site requires handiness and insight. This is why it "
346
+ "is unreasonable to deselect filters one by one to go back to the main view "
347
+ "when multiple filters have been applied to the product list. The plugin also "
348
+ "manages this action by a specific button which reset filters and by other "
349
+ "two which refresh the main view of categories and/or tags."
350
+ msgstr ""
351
+
352
+ #: templates/admin/premium.php:426
353
+ msgid "Scroll to top"
354
+ msgstr ""
355
+
356
+ #: templates/admin/premium.php:429
357
+ msgid ""
358
+ "Scroll to top is a feature to improve user experience on your site. Soon "
359
+ "after filtering the product list, the page will be automatically scrolled to "
360
+ "the top so the user can immediately see the filtered list. "
361
+ msgstr ""
362
+
363
+ #: widgets/class.yith-wcan-navigation-widget.php:36
364
+ msgid "Filter the list of products without reloading the page"
365
+ msgstr "Filtrar la lista de productos sin recargar la página"
366
+
367
+ #: widgets/class.yith-wcan-navigation-widget.php:39
368
+ msgctxt "Admin: Widget Title"
369
+ msgid "YITH WooCommerce Ajax Product Filter"
370
+ msgstr "YITH WooCommerce Ajax Product Filter"
371
+
372
+ #: widgets/class.yith-wcan-navigation-widget.php:153
373
+ msgid "Filters:"
374
+ msgstr "Filtros"
375
+
376
+ #: widgets/class.yith-wcan-navigation-widget.php:866
377
+ msgid "List"
378
+ msgstr "Lista"
379
+
380
+ #: widgets/class.yith-wcan-navigation-widget.php:868
381
+ msgid "Label"
382
+ msgstr "Etiqueta"
383
+
384
+ #: widgets/class.yith-wcan-navigation-widget.php:869
385
+ msgid "Dropdown"
386
+ msgstr "Desplegable"
387
+
388
+ #: widgets/class.yith-wcan-navigation-widget.php:876
389
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
390
+ msgid "Title"
391
+ msgstr "Título"
392
+
393
+ #: widgets/class.yith-wcan-navigation-widget.php:882
394
+ msgid "Type:"
395
+ msgstr "Tipo:"
396
+
397
+ #: widgets/class.yith-wcan-navigation-widget.php:893
398
+ msgid "Query Type:"
399
+ msgstr "Tipo Query:"
400
+
401
+ #: widgets/class.yith-wcan-navigation-widget.php:895
402
+ msgid "AND"
403
+ msgstr "Y"
404
+
405
+ #: widgets/class.yith-wcan-navigation-widget.php:896
406
+ msgid "OR"
407
+ msgstr "O"
408
+
409
+ #: widgets/class.yith-wcan-navigation-widget.php:902
410
+ msgid "Attribute:"
411
+ msgstr "Atributo:"
412
+
413
+ #: widgets/class.yith-wcan-navigation-widget.php:909
414
+ msgid "Display (default All):"
415
+ msgstr "Mostrar (por defecto Todos):"
416
+
417
+ #: widgets/class.yith-wcan-navigation-widget.php:911
418
+ msgid "All (no hierarchical)"
419
+ msgstr "Todos (no jerárquicos)"
420
+
421
+ #: widgets/class.yith-wcan-navigation-widget.php:912
422
+ msgid "All (hierarchical)"
423
+ msgstr "Todos (jerárquicos)"
424
+
425
+ #: widgets/class.yith-wcan-navigation-widget.php:913
426
+ msgid "Only Parent"
427
+ msgstr "Sólo padres"
428
+
429
+ #: widgets/class.yith-wcan-navigation-widget.php:920
430
+ msgid "CSS custom class"
431
+ msgstr "Clase CSS personalizada"
432
+
433
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:23
434
+ msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
435
+ msgstr "Reiniciar todos los filtros por YITH WooCommerce Ajax Product Filter"
436
+
437
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:25
438
+ msgid "YITH WooCommerce Ajax Reset Filter"
439
+ msgstr "YITH WooCommerce Ajax reiniciar filtro"
440
+
441
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
442
+ msgid "Reset All Filters"
443
+ msgstr "Reiniciar todos los filtros"
444
+
445
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
446
+ msgid "Button Label"
447
+ msgstr "Etiqueta del botón"
448
+
449
+ #~ msgid "Settings"
450
+ #~ msgstr "Ajustes"
451
+
452
+ #~ msgid "Widget Title Tag"
453
+ #~ msgstr "Etiqueta de título del widget"
454
+
455
+ #~ msgid "Enter here the HTML tag for the widget title"
456
+ #~ msgstr "Introduce aquí la etiqueta HTML para el título del widget"
457
+
458
+ #~ msgid "Number of products"
459
+ #~ msgstr "Número de productos"
460
+
461
+ #~ msgid "Select the filter style"
462
+ #~ msgstr "Selecciona el estilo de filtro"
463
+
464
+ #~ msgid "\"x\" icon before activated filter"
465
+ #~ msgstr "icono \"x\" antes del filtro activado"
466
+
467
+ #~ msgid "Checkboxes"
468
+ #~ msgstr "Casillas"
469
+
470
+ #~ msgid "Enable ajax shop pagination"
471
+ #~ msgstr "Habilitar paginación de tienda en ajax"
472
+
473
+ #~ msgid "Enable AJAX WooCommerce pagination"
474
+ #~ msgstr "Habilitar paginación AJAX WooCommerce"
475
+
476
+ #~ msgid "Shop Pagination Container Anchor"
477
+ #~ msgstr "Ancla contenedor de paginación de la tienda"
478
+
479
+ #~ msgid "Enter here the HTML tag for the shop pagination anchor"
480
+ #~ msgstr ""
481
+ #~ "Introduce aquí la etiqueta HTML para el ancla de paginación de la tienda"
482
+
483
+ #~ msgid "Show current categories"
484
+ #~ msgstr "Mostrar categorías actuales"
485
+
486
+ #~ msgid ""
487
+ #~ "This option allows whether to show or hide the current category when you "
488
+ #~ "are on it. For example, if I am on “Jeans” category page, the \"Jeans\" "
489
+ #~ "filter is automatically hidden."
490
+ #~ msgstr ""
491
+ #~ "Esta opción permite mostrar u ocultar la categoría actual cuando estás en "
492
+ #~ "ella. Por ejemplo, si estoy en la página de categoría \"Vaqueros\", el "
493
+ #~ "filtro \"Vaqueros\" se oculta automáticamente."
494
+
495
+ #~ msgid "Show \"All Categories\" link"
496
+ #~ msgstr "Mostrar el link \"Todas las categorías\""
497
+
498
+ #~ msgid "Add a link \"See all categories\" after a filter is applied"
499
+ #~ msgstr ""
500
+ #~ "Añadir un enlace de \"Ver todas las categorías\" después que se aplique "
501
+ #~ "un filtro"
502
+
503
+ #~ msgid "\"All Categories\" link text"
504
+ #~ msgstr "Texto del enlace \"Todas las categorías\""
505
+
506
+ #~ msgid "Enter here the text for the link \"See all categories\""
507
+ #~ msgstr "Introduce aquí el texto del enlace \"Ver todas las categorías\""
508
+
509
+ #~ msgid "See all categories"
510
+ #~ msgstr "Ver todas las categorías"
511
+
512
+ #~ msgid "Show \"All Tags\" link"
513
+ #~ msgstr "Mostrar enlace \"Todas las etiquetas\""
514
+
515
+ #~ msgid "Add a link \"See all tags\" after a filter is applied"
516
+ #~ msgstr ""
517
+ #~ "Añadir un enlace de \"Ver todas las etiquetas\" después que se aplique un "
518
+ #~ "filtro"
519
+
520
+ #~ msgid "\"All Tags\" link text"
521
+ #~ msgstr "Texto del enlace \"Ver todas las etiquetas\""
522
+
523
+ #~ msgid "Text for \"See all tags\" link"
524
+ #~ msgstr "Texto para el enlace \"Ver todas las etiquetas\""
525
+
526
+ #~ msgid "See all tags"
527
+ #~ msgstr "Ver todas las etiquetas"
528
+
529
+ #~ msgid "Enable Hierarchical Management for Product Tags"
530
+ #~ msgstr "Habilitar Administración Jerárquica para Etiquetas de Producto"
531
+
532
+ #~ msgid "Hack the standard WooCommerce non-hierarchical product tags"
533
+ #~ msgstr ""
534
+ #~ "Hackea las etiquetas de producto estándar no jerárquicas de WooCommerce"
535
+
536
+ #~ msgid "General Settings"
537
+ #~ msgstr "Ajustes Generales"
538
+
539
+ #~ msgid "Ajax Loader"
540
+ #~ msgstr "Cargador Ajax"
541
+
542
+ #~ msgid "Customize the AJAX loader icon"
543
+ #~ msgstr "Personalizar el cargador ajax"
544
+
545
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
546
+ #~ msgid "Ajax WooCommerce Price Filter"
547
+ #~ msgstr "Ajax WooCommerce Price Filter"
548
+
549
+ #~ msgid "Use AJAX WooCommerce price filter"
550
+ #~ msgstr "Usar AJAX WooCommerce price filter"
551
+
552
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
553
+ #~ msgid "WooCommerce Price Filter slider"
554
+ #~ msgstr "WooCommerce Price Filter slider"
555
+
556
+ #~ msgid "Use WooCommerce price filter with slider"
557
+ #~ msgstr "Usar filtro de precio WooCommerce con slider"
558
+
559
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
560
+ #~ msgid "Instant WooCommerce Price Filter slider"
561
+ #~ msgstr "Instant WooCommerce Price Filter slider"
562
+
563
+ #~ msgid ""
564
+ #~ "Use WooCommerce price filter with ajax slider without \"Filter\" button"
565
+ #~ msgstr ""
566
+ #~ "Usar filtro de precio WooCommerce con Ajax slider sin botón \"Filtro\""
567
+
568
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
569
+ #~ msgid "Dropdown for WooCommerce Price Filter"
570
+ #~ msgstr "Desplegable para WooCommerce Price Filter"
571
+
572
+ #~ msgid "Add dropdown effect to original WooCommerce Price Filter widget"
573
+ #~ msgstr ""
574
+ #~ "Añadir efecto del desplegable al widget original WooCommerce Price Filter"
575
+
576
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
577
+ #~ msgid "Open/Close for WooCommerce Price Filter"
578
+ #~ msgstr "Abrir/Cerrar para el Filtro de Precio de WooComerce"
579
+
580
+ #~ msgid ""
581
+ #~ "Select this option if you want to show the dropdown as opened or closed "
582
+ #~ "when the page is loaded"
583
+ #~ msgstr ""
584
+ #~ "Selecciona esta opción si quieres mostrar el desplegable abierto o "
585
+ #~ "cerrado cuando la página cargue"
586
+
587
+ #~ msgid "Opened"
588
+ #~ msgstr "Abierto"
589
+
590
+ #~ msgid "Closed"
591
+ #~ msgstr "Cerrado"
592
+
593
+ #~ msgid "Enable SEO option"
594
+ #~ msgstr "Habilitar opción SEO"
595
+
596
+ #~ msgid ""
597
+ #~ "Add \"robots\" meta tag in head tag of HTML page if filters have been "
598
+ #~ "activated."
599
+ #~ msgstr ""
600
+ #~ "Añade meta tag \"robots\" en la etiqueta principal de la página HTML si "
601
+ #~ "los filtros han sido activados."
602
+
603
+ #~ msgid "Meta tag options"
604
+ #~ msgstr "Opciones meta tag"
605
+
606
+ #~ msgid "Change browser URL"
607
+ #~ msgstr "Cambiar la URL del navegador"
608
+
609
+ #~ msgid ""
610
+ #~ "Enable this option if you want to update the URL after applying a filter."
611
+ #~ msgstr ""
612
+ #~ "Habilita esta opción si quieres actualizar la URL después de aplicar un "
613
+ #~ "filtro."
614
+
615
+ #~ msgctxt "Price filter option: price starts from"
616
+ #~ msgid "From"
617
+ #~ msgstr "De"
618
+
619
+ #~ msgctxt "Price filter option: price ends to"
620
+ #~ msgid "To"
621
+ #~ msgstr "A"
622
+
623
+ #~ msgid ""
624
+ #~ "Show a price filter widget with a list of preset price ranges that users "
625
+ #~ "can use to better narrow down the products"
626
+ #~ msgstr ""
627
+ #~ "Mostrar un widget de filtro de precio con una lista predeterminada de "
628
+ #~ "gamas de precios que los usuarios puedan usar para cribar mejor los "
629
+ #~ "productos"
630
+
631
+ #~ msgid "YITH WooCommerce Ajax Price List Filter"
632
+ #~ msgstr "YITH WooCommerce Ajax Price List Filter"
633
+
634
+ #~ msgctxt "refer to: product price"
635
+ #~ msgid "Price Filter"
636
+ #~ msgstr "Filtro de precio"
637
+
638
+ #~ msgid "Show widget dropdown"
639
+ #~ msgstr "Mostrar desplegable del widget"
640
+
641
+ #~ msgctxt "Select this if you want to show the widget as open or closed"
642
+ #~ msgid "Dropdown style:"
643
+ #~ msgstr "Estilo del desplegable:"
644
+
645
+ #~ msgid "Price Range"
646
+ #~ msgstr "Rango de precios"
647
+
648
+ #~ msgid "Add new range"
649
+ #~ msgstr "Añadir nuevo rango"
650
+
651
+ #~ msgid "\"See all categories/tags\" link text"
652
+ #~ msgstr "Texto del enlace \"Ver todas las categorías/etiquetas\""
653
+
654
+ #~ msgid "Leave it empty to use the default text available"
655
+ #~ msgstr "Déjalo vacío para usar el texto disponible por defecto"
656
+
657
+ #~ msgid "here"
658
+ #~ msgstr "aquí"
659
+
660
+ #~ msgid "current categories text"
661
+ #~ msgstr "texto de las categorías actuales"
662
+
663
+ #~ msgid "current tags text"
664
+ #~ msgstr "texto actual de etiquetas"
665
+
666
+ #~ msgid "No tags found."
667
+ #~ msgstr "No se han encontrado etiquetas."
668
+
669
+ #~ msgctxt "Admin: Section title"
670
+ #~ msgid "Tag List"
671
+ #~ msgstr "Lista de etiquetas"
672
+
673
+ #~ msgid "Show Selected"
674
+ #~ msgstr "Mostrar seleccionados"
675
+
676
+ #~ msgid "Hide Selected"
677
+ #~ msgstr "Ocultar seleccionados"
678
+
679
+ #~ msgid "Select all"
680
+ #~ msgstr "Seleccionar todos"
681
+
682
+ #~ msgid "Unselect all"
683
+ #~ msgstr "Deseleccionar todos"
684
+
685
+ #~ msgctxt "Admin: user note"
686
+ #~ msgid ""
687
+ #~ "Note: tags with no products assigned will not be showed in the front end"
688
+ #~ msgstr ""
689
+ #~ "Nota: las etiquetas sin productos asignados no se mostrarán en el front "
690
+ #~ "end"
691
+
692
+ #~ msgid "Tag name"
693
+ #~ msgstr "Nombre de etiqueta"
694
+
695
+ #~ msgid "Count"
696
+ #~ msgstr "Cuenta"
697
+
698
+ #~ msgctxt "Select if you want to show round color box or square color box"
699
+ #~ msgid "Color Style:"
700
+ #~ msgstr "Estilo de color:"
701
+
702
+ #~ msgid "Square"
703
+ #~ msgstr "Cuadrado"
704
+
705
+ #~ msgid "Round"
706
+ #~ msgstr "Redondo"
707
+
708
+ #~ msgid "Hide product count"
709
+ #~ msgstr "Ocultar cuenta de producto"
710
+
711
+ #~ msgid "See all"
712
+ #~ msgstr "Ver todo"
713
+
714
+ #~ msgid "Categories"
715
+ #~ msgstr "Categorías"
716
+
717
+ #~ msgid "BiColor"
718
+ #~ msgstr "BiColor"
719
+
720
+ #~ msgid "Tag"
721
+ #~ msgstr "Etiqueta"
722
+
723
+ #~ msgid "Brand"
724
+ #~ msgstr "Marca"
725
+
726
+ #~ msgid "Use custom style for reset button"
727
+ #~ msgstr "Usar estilo personalizado para el botón de reiniciar"
728
+
729
+ #~ msgid "Background color"
730
+ #~ msgstr "Color de fondo"
731
+
732
+ #~ msgid "Background color on hover"
733
+ #~ msgstr "Color de fondo en hover"
734
+
735
+ #~ msgid "Text color"
736
+ #~ msgstr "Color de texto"
737
+
738
+ #~ msgid "Text color on hover"
739
+ #~ msgstr "Color de texto en hover"
740
+
741
+ #~ msgid "Border color"
742
+ #~ msgstr "Color del borde"
743
+
744
+ #~ msgid "Border color on hover"
745
+ #~ msgstr "Color del borde en hover"
746
+
747
+ #~ msgid "Choose how to sort WooCommerce products"
748
+ #~ msgstr "Elige cómo mostrar los productos WooCommerce"
749
+
750
+ #~ msgid "YITH WooCommerce Ajax Sort By"
751
+ #~ msgstr "YITH WooCommerce Ajax ordenar por"
752
+
753
+ #~ msgctxt "Product sorting"
754
+ #~ msgid "Sort by"
755
+ #~ msgstr "Ordenar por"
756
+
757
+ #~ msgid "Display on sale and in stock WooCommerce products"
758
+ #~ msgstr "Mostrar productos WooCommerce rebajados y en stock"
759
+
760
+ #~ msgid "YITH WooCommerce Ajax In Stock/On Sale Filters"
761
+ #~ msgstr "YITH WooCommerce Ajax en filtros EnStock/Rebajados"
762
+
763
+ #~ msgid "Show only \"On Sale\" products"
764
+ #~ msgstr "Mostrar sólo productos \"Rebajados\""
765
+
766
+ #~ msgid "Show only \"In Stock\" products"
767
+ #~ msgstr "Mostrar sólo productos \"En Stock\""
768
+
769
+ #~ msgctxt "Product sorting"
770
+ #~ msgid "Stock/On sale"
771
+ #~ msgstr "En Stock/Rebajados"
772
+
773
+ #~ msgid "Show \"On Sale\" filter"
774
+ #~ msgstr "Mostrar filtro \"Rebajados\""
775
+
776
+ #~ msgid "Show \"In Stock\" filter"
777
+ #~ msgstr "Mostrar filtro \"En Stock\""
778
+
779
+ #~ msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
780
+ #~ msgstr ""
781
+ #~ "Introduce aquí la etiqueta HTML para la característica de arrastrar hacia "
782
+ #~ "arriba en móviles"
783
+
784
+ #~ msgid "Put here the HTML tag for the widget title"
785
+ #~ msgstr "Pon aquí la etiqueta HTML para el título del widget"
786
+
787
+ #~ msgid "Products number"
788
+ #~ msgstr "Número de productos"
789
+
790
+ #~ msgid "Enable shop pagination in ajax"
791
+ #~ msgstr "Habilitar paginación de tienda en ajax"
792
+
793
+ #~ msgid "Put here the HTML tag for the shop pagination anchor"
794
+ #~ msgstr "Pon aquí la etiqueta HTML para el ancla de paginación de la tienda"
795
+
796
+ #~ msgid ""
797
+ #~ "This option allows you to decide to show or hide the current category on "
798
+ #~ "the specific category page. For example, if I am on “Jeans” category "
799
+ #~ "page, the widget hides the line related to jeans."
800
+ #~ msgstr ""
801
+ #~ "Esta opción te permite decidir si mostrar u ocultar la categoría actual "
802
+ #~ "en la página de categoría específica. Por ejemplo, es estoy en la página "
803
+ #~ "de categoría \"Vaqueros\", el widget oculta la línea relacionada con "
804
+ #~ "vaqueros."
805
+
806
+ #~ msgid "Add a link \"See all categories\" after a filter was applied"
807
+ #~ msgstr ""
808
+ #~ "Añade un enlace \"Ver todas las categorías\" después de que un filtro "
809
+ #~ "fuera aplicado"
810
+
811
+ #~ msgid "Text for \"See all categories\" link"
812
+ #~ msgstr "Texto para el enlace \"Ver todas las categorías\""
813
+
814
+ #~ msgid "Add a link \"See all tags\" after a filter was applied"
815
+ #~ msgstr ""
816
+ #~ "Añade un enlace \"Ver todas las etiquetas\" después de que se haya "
817
+ #~ "aplicado un filtro"
818
+
819
+ #~ msgid "Enabled Hierarchical Management for Products Tags"
820
+ #~ msgstr "Administración jerárquica para etiquetas de productos habilitada"
821
+
822
+ #~ msgid "Hack the standard WooCommerce no hierarchical product tags"
823
+ #~ msgstr ""
824
+ #~ "Hackea las etiquetas de producto no jerárquicas estándar de WooCommerce"
825
+
826
+ #~ msgid "Put here your custom CSS rules:"
827
+ #~ msgstr "Pon aquí tus reglas CSS personalizadas:"
828
+
829
+ #~ msgctxt "Admin: Panel section description"
830
+ #~ msgid ""
831
+ #~ "If your theme use the WooCommerce standard templates, you don't need to "
832
+ #~ "change the following values.\n"
833
+ #~ " Otherwise, add the classes used in the "
834
+ #~ "template of your theme.\n"
835
+ #~ " If you don't know them, please contact "
836
+ #~ "the developer of your theme to receive the correct classes."
837
+ #~ msgstr ""
838
+ #~ "Si tu tema usa las plantillas estándar de WooCommerce, no necesitas "
839
+ #~ "cambiar los siguientes valores.\n"
840
+ #~ " De otro modo, añade las clases usadas en "
841
+ #~ "la plantilla de tu tema.\n"
842
+ #~ " Si no las conoces, por favor, ponte en "
843
+ #~ "contacto con el desarrollador de tu tema para recibir las clases "
844
+ #~ "correctas."
845
+
846
+ #~ msgid "Put here the CSS class or id for the product container"
847
+ #~ msgstr "Pon aquí la clase CSS o ID para el contenedor de producto"
848
+
849
+ #~ msgid "Put here the CSS class or id for the shop pagination container"
850
+ #~ msgstr ""
851
+ #~ "Pon aquí la clase CSS o ID para el contenedor de paginación de la tienda"
852
+
853
+ #~ msgid "Put here the CSS class or id for the result count container"
854
+ #~ msgstr ""
855
+ #~ "Pon aquí la clase CSS o ID para el contenedor de cuenta de resultado"
856
+
857
+ #~ msgid "Put here the HTML tag for the scroll top in mobile"
858
+ #~ msgstr "Pon aquí la etiqueta HTML para desplazarse hacia arriba en móvil"
859
+
860
+ #~ msgid "Customize the ajax loader"
861
+ #~ msgstr "Personalizar el cargador ajax"
862
+
863
+ #~ msgid "Use WooCommerce price filter in ajax"
864
+ #~ msgstr "Usar filtro de precio WooCommerce en ajax"
865
+
866
+ #~ msgid "Select if you want to show the dropdown opened or closed"
867
+ #~ msgstr "Selecciona si quieres mostrar el desplegable abierto o cerrado"
868
+
869
+ #~ msgid "Change browser url"
870
+ #~ msgstr "Cambiar la URL del navegador"
871
+
872
+ #~ msgid "Enable if you want to change browser url after applying a filter."
873
+ #~ msgstr ""
874
+ #~ "Habilita esta opción si quieres cambiar la URL del navegador después de "
875
+ #~ "aplicar un filtro."
876
+
877
+ #~ msgctxt "Select if you want to show the widget open or closed"
878
+ #~ msgid "Dropdown style:"
879
+ #~ msgstr "Estilo del desplegable:"
880
+
881
+ #~ msgctxt "Admin: user note"
882
+ #~ msgid ""
883
+ #~ "Note: tags with no assigned products will not be showed in the front end"
884
+ #~ msgstr ""
885
+ #~ "Nota: las etiquetas sin productos asignados no se mostrarán en el front "
886
+ #~ "end"
887
+
888
+ #~ msgid "Filter the product list without reloading the page"
889
+ #~ msgstr "Filtrar la lista de productos sin recargar la página"
890
+
891
+ #~ msgid "Background color in hover"
892
+ #~ msgstr "Color de fondo en hover"
893
+
894
+ #~ msgid "Text color in hover"
895
+ #~ msgstr "Color de texto en hover"
896
+
897
+ #~ msgid "Border color in hover"
898
+ #~ msgstr "Color del borde en hover"
899
+
900
+ #~ msgid "Display the sorting of the WooCommerce products"
901
+ #~ msgstr "Muestra el orden de los productos WooCommerce"
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-09-26 12:43+0200\n"
6
- "PO-Revision-Date: 2017-09-26 12:43+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
@@ -58,7 +58,7 @@ msgstr "Proprietà"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
- #: widgets/class.yith-wcan-navigation-widget.php:841
62
  msgid "Color"
63
  msgstr "Colore"
64
 
@@ -146,8 +146,8 @@ msgid "Enter here the CSS class or id for the results count container"
146
  msgstr "Inserisci qui la classe CSS o l'ID dei risultati del conteggio"
147
 
148
  #: settings/frontend-options.php:57
149
- msgid "Scroll top anchor (only for mobiles)"
150
- msgstr ""
151
 
152
  #: settings/frontend-options.php:58
153
  msgid "Enter here the HTML tag for the scroll to top feature"
@@ -368,72 +368,72 @@ msgctxt "Admin: Widget Title"
368
  msgid "YITH WooCommerce Ajax Product Filter"
369
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
370
 
371
- #: widgets/class.yith-wcan-navigation-widget.php:151
372
  msgid "Filters:"
373
  msgstr "Filtri:"
374
 
375
  # @ yit
376
- #: widgets/class.yith-wcan-navigation-widget.php:840
377
  msgid "List"
378
  msgstr "Lista"
379
 
380
  # @ yit
381
- #: widgets/class.yith-wcan-navigation-widget.php:842
382
  msgid "Label"
383
  msgstr "Etichetta"
384
 
385
- #: widgets/class.yith-wcan-navigation-widget.php:843
386
  msgid "Dropdown"
387
  msgstr "Menu a tendina"
388
 
389
  # @ yit
390
- #: widgets/class.yith-wcan-navigation-widget.php:850
391
- #: widgets/class.yith-wcan-reset-navigation-widget.php:114
392
  msgid "Title"
393
  msgstr "Titolo"
394
 
395
  # @ yit
396
- #: widgets/class.yith-wcan-navigation-widget.php:856
397
  msgid "Type:"
398
  msgstr "Tipo:"
399
 
400
  # @ yit
401
- #: widgets/class.yith-wcan-navigation-widget.php:867
402
  msgid "Query Type:"
403
  msgstr "Tipo Query:"
404
 
405
  # @ yit
406
- #: widgets/class.yith-wcan-navigation-widget.php:869
407
  msgid "AND"
408
  msgstr "E"
409
 
410
  # @ yit
411
- #: widgets/class.yith-wcan-navigation-widget.php:870
412
  msgid "OR"
413
  msgstr "O"
414
 
415
  # @ yit
416
- #: widgets/class.yith-wcan-navigation-widget.php:876
417
  msgid "Attribute:"
418
  msgstr "Attributo:"
419
 
420
- #: widgets/class.yith-wcan-navigation-widget.php:883
421
  msgid "Display (default All):"
422
  msgstr "Visualizza (default Tutti)"
423
 
424
- #: widgets/class.yith-wcan-navigation-widget.php:885
425
  msgid "All (no hierarchical)"
426
  msgstr "Tutti (non gerarchico)"
427
 
428
- #: widgets/class.yith-wcan-navigation-widget.php:886
429
  msgid "All (hierarchical)"
430
  msgstr "Tutti (gerarchico)"
431
 
432
- #: widgets/class.yith-wcan-navigation-widget.php:887
433
  msgid "Only Parent"
434
  msgstr "Solo Principali"
435
 
436
- #: widgets/class.yith-wcan-navigation-widget.php:894
437
  msgid "CSS custom class"
438
  msgstr "Classe CSS custom"
439
 
@@ -446,17 +446,14 @@ msgstr ""
446
  msgid "YITH WooCommerce Ajax Reset Filter"
447
  msgstr "YITH WooCommerce Filtro Ajax Reset"
448
 
449
- #: widgets/class.yith-wcan-reset-navigation-widget.php:107
450
  msgid "Reset All Filters"
451
  msgstr "Resetta tutti i filtri"
452
 
453
- #: widgets/class.yith-wcan-reset-navigation-widget.php:120
454
  msgid "Button Label"
455
  msgstr "Etichetta Pulsante"
456
 
457
- #~ msgid "Scroll top anchor"
458
- #~ msgstr "Tag html per la funzione Scroll Top"
459
-
460
  #~ msgid "Settings"
461
  #~ msgstr "Impostazioni"
462
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-02-01 14:37+0100\n"
6
+ "PO-Revision-Date: 2018-02-01 14:37+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
+ #: widgets/class.yith-wcan-navigation-widget.php:867
62
  msgid "Color"
63
  msgstr "Colore"
64
 
146
  msgstr "Inserisci qui la classe CSS o l'ID dei risultati del conteggio"
147
 
148
  #: settings/frontend-options.php:57
149
+ msgid "Scroll top anchor"
150
+ msgstr "Tag html per la funzione Scroll Top"
151
 
152
  #: settings/frontend-options.php:58
153
  msgid "Enter here the HTML tag for the scroll to top feature"
368
  msgid "YITH WooCommerce Ajax Product Filter"
369
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
370
 
371
+ #: widgets/class.yith-wcan-navigation-widget.php:153
372
  msgid "Filters:"
373
  msgstr "Filtri:"
374
 
375
  # @ yit
376
+ #: widgets/class.yith-wcan-navigation-widget.php:866
377
  msgid "List"
378
  msgstr "Lista"
379
 
380
  # @ yit
381
+ #: widgets/class.yith-wcan-navigation-widget.php:868
382
  msgid "Label"
383
  msgstr "Etichetta"
384
 
385
+ #: widgets/class.yith-wcan-navigation-widget.php:869
386
  msgid "Dropdown"
387
  msgstr "Menu a tendina"
388
 
389
  # @ yit
390
+ #: widgets/class.yith-wcan-navigation-widget.php:876
391
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
392
  msgid "Title"
393
  msgstr "Titolo"
394
 
395
  # @ yit
396
+ #: widgets/class.yith-wcan-navigation-widget.php:882
397
  msgid "Type:"
398
  msgstr "Tipo:"
399
 
400
  # @ yit
401
+ #: widgets/class.yith-wcan-navigation-widget.php:893
402
  msgid "Query Type:"
403
  msgstr "Tipo Query:"
404
 
405
  # @ yit
406
+ #: widgets/class.yith-wcan-navigation-widget.php:895
407
  msgid "AND"
408
  msgstr "E"
409
 
410
  # @ yit
411
+ #: widgets/class.yith-wcan-navigation-widget.php:896
412
  msgid "OR"
413
  msgstr "O"
414
 
415
  # @ yit
416
+ #: widgets/class.yith-wcan-navigation-widget.php:902
417
  msgid "Attribute:"
418
  msgstr "Attributo:"
419
 
420
+ #: widgets/class.yith-wcan-navigation-widget.php:909
421
  msgid "Display (default All):"
422
  msgstr "Visualizza (default Tutti)"
423
 
424
+ #: widgets/class.yith-wcan-navigation-widget.php:911
425
  msgid "All (no hierarchical)"
426
  msgstr "Tutti (non gerarchico)"
427
 
428
+ #: widgets/class.yith-wcan-navigation-widget.php:912
429
  msgid "All (hierarchical)"
430
  msgstr "Tutti (gerarchico)"
431
 
432
+ #: widgets/class.yith-wcan-navigation-widget.php:913
433
  msgid "Only Parent"
434
  msgstr "Solo Principali"
435
 
436
+ #: widgets/class.yith-wcan-navigation-widget.php:920
437
  msgid "CSS custom class"
438
  msgstr "Classe CSS custom"
439
 
446
  msgid "YITH WooCommerce Ajax Reset Filter"
447
  msgstr "YITH WooCommerce Filtro Ajax Reset"
448
 
449
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
450
  msgid "Reset All Filters"
451
  msgstr "Resetta tutti i filtri"
452
 
453
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
454
  msgid "Button Label"
455
  msgstr "Etichetta Pulsante"
456
 
 
 
 
457
  #~ msgid "Settings"
458
  #~ msgstr "Impostazioni"
459
 
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-nl_NL.mo ADDED
Binary file
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-nl_NL.po ADDED
@@ -0,0 +1,792 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-02-01 14:36+0100\n"
6
+ "PO-Revision-Date: 2018-02-01 14:36+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "Language: nl_NL\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
+ "X-Generator: Poedit 1.8.9\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
+
23
+ #: includes/class.yith-wcan-admin.php:126
24
+ msgid "Front end"
25
+ msgstr "Frontend"
26
+
27
+ #: includes/class.yith-wcan-admin.php:127 settings/custom-style-options.php:12
28
+ msgid "Custom Style"
29
+ msgstr "Aangepaste stijl"
30
+
31
+ #: includes/class.yith-wcan-admin.php:128
32
+ #: includes/class.yith-wcan-admin.php:195
33
+ msgid "Premium Version"
34
+ msgstr "Premium versie"
35
+
36
+ #: includes/class.yith-wcan-admin.php:134
37
+ #: includes/class.yith-wcan-admin.php:135
38
+ msgid "Ajax Product Filter"
39
+ msgstr "Ajax Product Filter"
40
+
41
+ #: includes/class.yith-wcan-admin.php:191
42
+ msgid "Premium live demo"
43
+ msgstr "Premium live demo"
44
+
45
+ #: includes/class.yith-wcan-admin.php:191
46
+ msgid "Live demo"
47
+ msgstr "Live demo"
48
+
49
+ #: includes/class.yith-wcan-admin.php:219
50
+ msgid "Plugin Documentation"
51
+ msgstr "Plugin Documentatie"
52
+
53
+ #: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
54
+ #: includes/functions.yith-wcan.php:93
55
+ msgid "Term"
56
+ msgstr "Termijn"
57
+
58
+ #: includes/functions.yith-wcan.php:57
59
+ #: widgets/class.yith-wcan-navigation-widget.php:867
60
+ msgid "Color"
61
+ msgstr "Kleur"
62
+
63
+ #: includes/functions.yith-wcan.php:71
64
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
65
+ msgid "Color 1"
66
+ msgstr "Kleur 1"
67
+
68
+ #: includes/functions.yith-wcan.php:71
69
+ msgctxt "For multicolor: I.E. white and red T-Shirt"
70
+ msgid "Color 2"
71
+ msgstr "Kleur 2"
72
+
73
+ #: includes/functions.yith-wcan.php:93
74
+ msgid "Labels"
75
+ msgstr "Labels"
76
+
77
+ #: init.php:49
78
+ msgid ""
79
+ "YITH WooCommerce Ajax Product Filter is enabled but not effective. It "
80
+ "requires WooCommerce in order to work."
81
+ msgstr ""
82
+ "YITH WooCommerce Ajax Product Filter is ingeschakeld maar niet werkend. Het "
83
+ "heeft WooCommerce nodig om te werken."
84
+
85
+ #: init.php:58
86
+ msgid ""
87
+ "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
88
+ "while you are using the premium one."
89
+ msgstr ""
90
+
91
+ #: settings/custom-style-options.php:24
92
+ msgid "Enter here your custom CSS rules:"
93
+ msgstr "Voer hier uw aangepaste CSS regels in:"
94
+
95
+ #: settings/frontend-options.php:12
96
+ msgid "Frontend Settings"
97
+ msgstr "Frontend instellingen"
98
+
99
+ #: settings/frontend-options.php:25
100
+ msgctxt "Admin panel: option description"
101
+ msgid "How To:"
102
+ msgstr "Hoe:"
103
+
104
+ #: settings/frontend-options.php:27
105
+ msgctxt "Admin: Panel section description"
106
+ msgid ""
107
+ "If your theme is using WooCommerce standard templates, you don't need to "
108
+ "change the following values.\n"
109
+ " Otherwise, add the classes used in the "
110
+ "templates of your theme.\n"
111
+ " If you don't know how to do, please contact "
112
+ "the developer of your theme to be correctly instructed."
113
+ msgstr ""
114
+ "Indien uw theme gebruik maakt van standaard WooCommerce templates, dan hoeft "
115
+ "u de volgende waarden niet aan te passen.\n"
116
+ " Anderzins, voeg de klassen toe die zijn "
117
+ "gebruikt in de templates van uw theme.\n"
118
+ " Indien u niet weet hoe, dan wordt u "
119
+ "vriendelijk verzocht contact op te nemen met de developer van uw theme voor "
120
+ "de juiste instructies."
121
+
122
+ #: settings/frontend-options.php:33
123
+ msgid "Product Container"
124
+ msgstr "Product Container"
125
+
126
+ #: settings/frontend-options.php:34
127
+ msgid "Enter here the CSS class or id for the product container"
128
+ msgstr "Voer hier de CSS klasse of id in voor de product container"
129
+
130
+ #: settings/frontend-options.php:41
131
+ msgid "Shop Pagination Container"
132
+ msgstr "Winkel Paginering Container"
133
+
134
+ #: settings/frontend-options.php:42
135
+ msgid "Enter here the CSS class or id for the shop pagination container"
136
+ msgstr "Voer hier de CSS klasse of id in voor de winkel paginering container"
137
+
138
+ #: settings/frontend-options.php:49
139
+ msgid "Result Count Container"
140
+ msgstr "Resultaten Optellen Container"
141
+
142
+ #: settings/frontend-options.php:50
143
+ msgid "Enter here the CSS class or id for the results count container"
144
+ msgstr "Vul hier de CSS klasse of id in voor de resultaten optellen container"
145
+
146
+ #: settings/frontend-options.php:57
147
+ msgid "Scroll top anchor"
148
+ msgstr "Scroll top anker"
149
+
150
+ #: settings/frontend-options.php:58
151
+ msgid "Enter here the HTML tag for the scroll to top feature"
152
+ msgstr "Vul hier de THML tag in voor de scroll to top functie"
153
+
154
+ #: settings/frontend-options.php:65
155
+ msgid "Order by"
156
+ msgstr "Sorteer op"
157
+
158
+ #: settings/frontend-options.php:66
159
+ msgid "Sort by number of products contained or alphabetically"
160
+ msgstr "Sorteer op aantal producten of alfabetisch"
161
+
162
+ #: settings/frontend-options.php:70
163
+ msgid "Alphabetically"
164
+ msgstr "Alfabetisch"
165
+
166
+ #: settings/frontend-options.php:71
167
+ msgid "WooCommerce Default"
168
+ msgstr ""
169
+
170
+ #: templates/admin/premium.php:203 templates/admin/premium.php:441
171
+ #, php-format
172
+ msgid ""
173
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
174
+ "Filter%2$s to benefit from all features!"
175
+ msgstr ""
176
+
177
+ #: templates/admin/premium.php:206 templates/admin/premium.php:444
178
+ msgid "UPGRADE"
179
+ msgstr ""
180
+
181
+ #: templates/admin/premium.php:207 templates/admin/premium.php:445
182
+ msgid "to the premium version"
183
+ msgstr ""
184
+
185
+ #: templates/admin/premium.php:213
186
+ msgid "Premium Features"
187
+ msgstr ""
188
+
189
+ #: templates/admin/premium.php:221
190
+ msgid "Two more layouts"
191
+ msgstr ""
192
+
193
+ #: templates/admin/premium.php:224
194
+ #, php-format
195
+ msgid ""
196
+ "The YITH WooCommerce Ajax product Filter widget get richer with 2 new "
197
+ "layouts to filter the products of your shop.%1$sBicolor%2$s: the perfect "
198
+ "choice for those attributes related to two different colors at the same time "
199
+ "(white/black), for a simple visual impact for the final user. Pick the "
200
+ "%1$sTag%2$s typology, on the contrary, if you want to filter your products "
201
+ "by product tag. And if you are using also the %1$sYITH WooCommerce Brand Add-"
202
+ "On%2$s plugin, you will be able to offer the freedom to filter your shop "
203
+ "products by brands thanks to the ajax technology."
204
+ msgstr ""
205
+
206
+ #: templates/admin/premium.php:234
207
+ msgid "Price range"
208
+ msgstr ""
209
+
210
+ #: templates/admin/premium.php:237
211
+ #, php-format
212
+ msgid ""
213
+ "One of the most requested filter for e-commerce sites is the one that let "
214
+ "you select products by their prices. Thanks to YITH WooCommerce Ajax List "
215
+ "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
216
+ "able to filter products selecting on the ranges you have set."
217
+ msgstr ""
218
+
219
+ #: templates/admin/premium.php:253
220
+ msgid "Ajax Stock/On Sale Filters"
221
+ msgstr ""
222
+
223
+ #: templates/admin/premium.php:256
224
+ #, php-format
225
+ msgid ""
226
+ "A new widget for the premium version of the plugin. Whoever will surf the "
227
+ "pages of your shop will be able to display only the products on sale and/or "
228
+ "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
229
+ "that is worthy!%2$s"
230
+ msgstr ""
231
+
232
+ #: templates/admin/premium.php:266
233
+ msgid "Product sorting"
234
+ msgstr ""
235
+
236
+ #: templates/admin/premium.php:269
237
+ #, php-format
238
+ msgid ""
239
+ "With the new %1$sYITH WooCommerce Ajax Sort By%2$s widget, you can give your "
240
+ "users the freedom to sort products with the ajax technology, without the "
241
+ "need to reload the page. Products can be sorted by rate, sales, price or "
242
+ "publication date."
243
+ msgstr ""
244
+
245
+ #: templates/admin/premium.php:285
246
+ msgid "Customized loader"
247
+ msgstr ""
248
+
249
+ #: templates/admin/premium.php:288
250
+ msgid ""
251
+ "From the plugin option panel, you can choose to upload a new icon for your "
252
+ "loader: in this way, it will better meet your needs."
253
+ msgstr ""
254
+
255
+ #: templates/admin/premium.php:298
256
+ msgid "WooCommerce Price Filter"
257
+ msgstr ""
258
+
259
+ #: templates/admin/premium.php:301
260
+ #, php-format
261
+ msgid ""
262
+ "Take advantage of the premium version of the plugin to edit the default "
263
+ "behavior of WooCommerce Price Filter. Change the %1$slayout of the filter"
264
+ "%2$s and activate the %1$sAjax mode%2$s to apply the filter immediately, "
265
+ "without reloading the page."
266
+ msgstr ""
267
+
268
+ #: templates/admin/premium.php:317
269
+ msgid "SEO"
270
+ msgstr "SEO"
271
+
272
+ #: templates/admin/premium.php:320
273
+ msgid ""
274
+ "The Ajax management of the plugin adds specific queries to the URLs of the "
275
+ "current page. Choose whether to allow search engines to index the URLs "
276
+ "generated by the plugin, or not: with the latter, you will be free to avoid "
277
+ "possible penalizations that may apply to your site."
278
+ msgstr ""
279
+
280
+ #: templates/admin/premium.php:330
281
+ msgid " Filter by category"
282
+ msgstr ""
283
+
284
+ #: templates/admin/premium.php:333
285
+ #, php-format
286
+ msgid ""
287
+ "Configure the widget to let your users filter product by a %1$sselected "
288
+ "category%2$s. Your users will be even happier to browse your shop."
289
+ msgstr ""
290
+
291
+ #: templates/admin/premium.php:349
292
+ msgid "FILTER ORDERING"
293
+ msgstr ""
294
+
295
+ #: templates/admin/premium.php:352
296
+ msgid ""
297
+ "Choose one of the two solutions for a better filter ordering of your "
298
+ "product archieve pages: classic alphabetical order or decreasing order, "
299
+ "based on the number of products contained in each filter."
300
+ msgstr ""
301
+
302
+ #: templates/admin/premium.php:362
303
+ msgid "Filter style"
304
+ msgstr "Filterstijl"
305
+
306
+ #: templates/admin/premium.php:365
307
+ msgid ""
308
+ "In addition to the classic visualization style, the premium version of this "
309
+ "plugin gives you the possibility to show filters in \"checkbox\" style. "
310
+ "Users will experience a new look of your pages while filtering products."
311
+ msgstr ""
312
+
313
+ #: templates/admin/premium.php:381
314
+ msgid "Page url"
315
+ msgstr ""
316
+
317
+ #: templates/admin/premium.php:384
318
+ msgid ""
319
+ "Each applied filter generates a new url for the page. You can decide to keep "
320
+ "the same url or let it get automatically updated every time user applies a "
321
+ "filter to the products list of your shop."
322
+ msgstr ""
323
+
324
+ #: templates/admin/premium.php:394
325
+ msgid "Filter by tag"
326
+ msgstr ""
327
+
328
+ #: templates/admin/premium.php:397
329
+ msgid ""
330
+ "If you use tags as a powerful tool to classify your products, you can "
331
+ "configure an ad-hoc filter to be used on your products also by tag. In "
332
+ "addition, you could organize your tags in a hierarchy and have appropriate "
333
+ "tools for a better management of your products."
334
+ msgstr ""
335
+
336
+ #: templates/admin/premium.php:413
337
+ msgid "Reset"
338
+ msgstr ""
339
+
340
+ #: templates/admin/premium.php:416
341
+ msgid ""
342
+ "User experience on the site requires handiness and insight. This is why it "
343
+ "is unreasonable to deselect filters one by one to go back to the main view "
344
+ "when multiple filters have been applied to the product list. The plugin also "
345
+ "manages this action by a specific button which reset filters and by other "
346
+ "two which refresh the main view of categories and/or tags."
347
+ msgstr ""
348
+
349
+ #: templates/admin/premium.php:426
350
+ msgid "Scroll to top"
351
+ msgstr ""
352
+
353
+ #: templates/admin/premium.php:429
354
+ msgid ""
355
+ "Scroll to top is a feature to improve user experience on your site. Soon "
356
+ "after filtering the product list, the page will be automatically scrolled to "
357
+ "the top so the user can immediately see the filtered list. "
358
+ msgstr ""
359
+
360
+ #: widgets/class.yith-wcan-navigation-widget.php:36
361
+ msgid "Filter the list of products without reloading the page"
362
+ msgstr "Filter de lijst met producten, zonder te pagina opnieuw te laden"
363
+
364
+ #: widgets/class.yith-wcan-navigation-widget.php:39
365
+ msgctxt "Admin: Widget Title"
366
+ msgid "YITH WooCommerce Ajax Product Filter"
367
+ msgstr "YITH WooCommerce Ajax Product Filter"
368
+
369
+ #: widgets/class.yith-wcan-navigation-widget.php:153
370
+ msgid "Filters:"
371
+ msgstr "Filters:"
372
+
373
+ #: widgets/class.yith-wcan-navigation-widget.php:866
374
+ msgid "List"
375
+ msgstr "Lijst"
376
+
377
+ #: widgets/class.yith-wcan-navigation-widget.php:868
378
+ msgid "Label"
379
+ msgstr "Label"
380
+
381
+ #: widgets/class.yith-wcan-navigation-widget.php:869
382
+ msgid "Dropdown"
383
+ msgstr "Dropdown"
384
+
385
+ #: widgets/class.yith-wcan-navigation-widget.php:876
386
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
387
+ msgid "Title"
388
+ msgstr "Titel"
389
+
390
+ #: widgets/class.yith-wcan-navigation-widget.php:882
391
+ msgid "Type:"
392
+ msgstr "Type:"
393
+
394
+ #: widgets/class.yith-wcan-navigation-widget.php:893
395
+ msgid "Query Type:"
396
+ msgstr "Query Type:"
397
+
398
+ #: widgets/class.yith-wcan-navigation-widget.php:895
399
+ msgid "AND"
400
+ msgstr "EN"
401
+
402
+ #: widgets/class.yith-wcan-navigation-widget.php:896
403
+ msgid "OR"
404
+ msgstr "OF"
405
+
406
+ #: widgets/class.yith-wcan-navigation-widget.php:902
407
+ msgid "Attribute:"
408
+ msgstr "Eigenschap:"
409
+
410
+ #: widgets/class.yith-wcan-navigation-widget.php:909
411
+ msgid "Display (default All):"
412
+ msgstr "Weergave (allen default):"
413
+
414
+ #: widgets/class.yith-wcan-navigation-widget.php:911
415
+ msgid "All (no hierarchical)"
416
+ msgstr "Allen (niet hiërarchisch)"
417
+
418
+ #: widgets/class.yith-wcan-navigation-widget.php:912
419
+ msgid "All (hierarchical)"
420
+ msgstr "Allen (hiërarchisch)"
421
+
422
+ #: widgets/class.yith-wcan-navigation-widget.php:913
423
+ msgid "Only Parent"
424
+ msgstr "Alleen bovenliggend"
425
+
426
+ #: widgets/class.yith-wcan-navigation-widget.php:920
427
+ msgid "CSS custom class"
428
+ msgstr "CSS custom klasse"
429
+
430
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:23
431
+ msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
432
+ msgstr "Alle filters van YITH WooCommerce Ajax Product Filter resetten"
433
+
434
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:25
435
+ msgid "YITH WooCommerce Ajax Reset Filter"
436
+ msgstr "YITH WooCommerce Ajax Reset Filter"
437
+
438
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
439
+ msgid "Reset All Filters"
440
+ msgstr "Alle filters resetten"
441
+
442
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
443
+ msgid "Button Label"
444
+ msgstr "Labelknop"
445
+
446
+ #~ msgid "Settings"
447
+ #~ msgstr "Instellingen"
448
+
449
+ #~ msgctxt "[Admin] Option name"
450
+ #~ msgid "Enable Scroll Top"
451
+ #~ msgstr "Scroll Top inschakelen"
452
+
453
+ #~ msgid ""
454
+ #~ "Select whether you want to enable the \"Scroll to top\" option on "
455
+ #~ "Desktop, Mobile, or on both of them"
456
+ #~ msgstr ""
457
+ #~ "Selecteer of u de \"Scroll to top\" optie op Desktop, Mobiel, of op beide "
458
+ #~ "wilt inschakelen"
459
+
460
+ #~ msgid "Disabled"
461
+ #~ msgstr "Uitschakelen"
462
+
463
+ #~ msgid "Mobile"
464
+ #~ msgstr "Mobiel"
465
+
466
+ #~ msgid "Desktop"
467
+ #~ msgstr "Desktop"
468
+
469
+ #~ msgid "Mobile and Desktop"
470
+ #~ msgstr "Mobiel en Desktop"
471
+
472
+ #~ msgid "Widget Title Tag"
473
+ #~ msgstr "Widget titel label"
474
+
475
+ #~ msgid "Enter here the HTML tag for the widget title"
476
+ #~ msgstr "Voer hier de HTML tag in voor de widget titel"
477
+
478
+ #~ msgid "Number of products"
479
+ #~ msgstr "Aantal producten"
480
+
481
+ #~ msgid "Select the filter style"
482
+ #~ msgstr "Selecteer filterstijl"
483
+
484
+ #~ msgid "\"x\" icon before activated filter"
485
+ #~ msgstr "\"x\" icoon voor geactiveerde filter"
486
+
487
+ #~ msgid "Checkboxes"
488
+ #~ msgstr "Keuzevakjes"
489
+
490
+ #~ msgid "Enable ajax shop pagination"
491
+ #~ msgstr "Ajax winkel paginering inschakelen"
492
+
493
+ #~ msgid "Enable AJAX WooCommerce pagination"
494
+ #~ msgstr "AJAX WooCommerce paginering"
495
+
496
+ #~ msgid "Shop Pagination Container Anchor"
497
+ #~ msgstr "Winkel Paginering Container Anker"
498
+
499
+ #~ msgid "Enter here the HTML tag for the shop pagination anchor"
500
+ #~ msgstr "Voer hier de HTML tag in voor de winkel paginering anker"
501
+
502
+ #~ msgid "Show current categories"
503
+ #~ msgstr "Huidige categorieën weergeven"
504
+
505
+ #~ msgid ""
506
+ #~ "This option allows whether to show or hide the current category when you "
507
+ #~ "are on it. For example, if I am on “Jeans” category page, the \"Jeans\" "
508
+ #~ "filter is automatically hidden."
509
+ #~ msgstr ""
510
+ #~ "Met deze optie bepaalt u of de huidige categorie wordt weergegeven of "
511
+ #~ "verborgen, wanneer u erin zit. Voorbeeld, als ik in de \"Jeans\" "
512
+ #~ "categorie zit, dan wordt de \"Jeans\" filter automatisch verborgen."
513
+
514
+ #~ msgid "Show \"All Categories\" link"
515
+ #~ msgstr "\"Alle categorieën\" link weergeven"
516
+
517
+ #~ msgid "Add a link \"See all categories\" after a filter is applied"
518
+ #~ msgstr ""
519
+ #~ "Voeg een link \"Toon alle categorieën\" toe nadat de filter is toegepast"
520
+
521
+ #~ msgid "\"All Categories\" link text"
522
+ #~ msgstr "\"Toon alle Categorieën\" link tekst"
523
+
524
+ #~ msgid "Enter here the text for the link \"See all categories\""
525
+ #~ msgstr "Voer hier de tekst in voor de link \"Toon alle categorieën\""
526
+
527
+ #~ msgid "See all categories"
528
+ #~ msgstr "Toon alle categorieën"
529
+
530
+ #~ msgid "Show \"All Tags\" link"
531
+ #~ msgstr "\"Alle Tags\" link weergeven"
532
+
533
+ #~ msgid "Add a link \"See all tags\" after a filter is applied"
534
+ #~ msgstr "Voeg een link \"Toon alle tags\" toe nadat filter is toegepast"
535
+
536
+ #~ msgid "\"All Tags\" link text"
537
+ #~ msgstr "\"Alle tags\" link tekst"
538
+
539
+ #~ msgid "Text for \"See all tags\" link"
540
+ #~ msgstr "Tekst voor \"Toon alle tags\" link"
541
+
542
+ #~ msgid "See all tags"
543
+ #~ msgstr "Toon alle tags"
544
+
545
+ #~ msgid "Enable Hierarchical Management for Product Tags"
546
+ #~ msgstr "Hiërarchisch Management voor Product tags inschakelen"
547
+
548
+ #~ msgid "Hack the standard WooCommerce non-hierarchical product tags"
549
+ #~ msgstr "Hack de standaard WooCommerce niet-hiërarchische product tags"
550
+
551
+ #~ msgid "General Settings"
552
+ #~ msgstr "Algemene instellingen"
553
+
554
+ #~ msgid "Ajax Loader"
555
+ #~ msgstr "Ajax lader"
556
+
557
+ #~ msgid "Customize the AJAX loader icon"
558
+ #~ msgstr "Pas het AJAX lader icoon aan"
559
+
560
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
561
+ #~ msgid "Ajax WooCommerce Price Filter"
562
+ #~ msgstr "Ajax WooCommerce Prijs Filter"
563
+
564
+ #~ msgid "Use AJAX WooCommerce price filter"
565
+ #~ msgstr "Gebruik Ajax WooCommerce Prijs Filter"
566
+
567
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
568
+ #~ msgid "WooCommerce Price Filter slider"
569
+ #~ msgstr "WooCommerce Prijs Filter schuifbalk"
570
+
571
+ #~ msgid "Use WooCommerce price filter with slider"
572
+ #~ msgstr "Gebruik WooCommerce Prijs Filter met schuifbalk"
573
+
574
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
575
+ #~ msgid "Instant WooCommerce Price Filter slider"
576
+ #~ msgstr "Onmiddelijk WooCommerce Prijs Filter schuifbalk"
577
+
578
+ #~ msgid ""
579
+ #~ "Use WooCommerce price filter with ajax slider without \"Filter\" button"
580
+ #~ msgstr ""
581
+ #~ "Gebruik de WooCommerce price filter met Ajax schuifbalk zonder \"Filter\" "
582
+ #~ "knop"
583
+
584
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
585
+ #~ msgid "Dropdown for WooCommerce Price Filter"
586
+ #~ msgstr "Dropdown voor WooCommerce Price Filter"
587
+
588
+ #~ msgid "Add dropdown effect to original WooCommerce Price Filter widget"
589
+ #~ msgstr ""
590
+ #~ "Dropdown effect toevoegen aan originele WooCommerce Price Filter widget"
591
+
592
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
593
+ #~ msgid "Open/Close for WooCommerce Price Filter"
594
+ #~ msgstr "Openen/Sluiten voor WooCommerce Price Filter"
595
+
596
+ #~ msgid ""
597
+ #~ "Select this option if you want to show the dropdown as opened or closed "
598
+ #~ "when the page is loaded"
599
+ #~ msgstr ""
600
+ #~ "Selecteer deze optie als u het dropdown menu wilt weergeven als geopend "
601
+ #~ "of gesloten wanneer de pagina is geladen"
602
+
603
+ #~ msgid "Opened"
604
+ #~ msgstr "Geopend"
605
+
606
+ #~ msgid "Closed"
607
+ #~ msgstr "Gesloten"
608
+
609
+ #~ msgid "Enable SEO option"
610
+ #~ msgstr "SEO optie inschakelen"
611
+
612
+ #~ msgid ""
613
+ #~ "Add \"robots\" meta tag in head tag of HTML page if filters have been "
614
+ #~ "activated."
615
+ #~ msgstr ""
616
+ #~ "\"robots\" meta tag toevoegen in hoofd tag van HTML pagina, als de "
617
+ #~ "filters geactiveerd zijn."
618
+
619
+ #~ msgid "Meta tag options"
620
+ #~ msgstr "Meta tag opties"
621
+
622
+ #~ msgid "Change browser URL"
623
+ #~ msgstr "Verander URL browser"
624
+
625
+ #~ msgid ""
626
+ #~ "Enable this option if you want to update the URL after applying a filter."
627
+ #~ msgstr ""
628
+ #~ "Schakel deze optie in als u de URL wilt updaten nadat de filter is "
629
+ #~ "toegepast."
630
+
631
+ #~ msgctxt "Price filter option: price starts from"
632
+ #~ msgid "From"
633
+ #~ msgstr "Vanaf"
634
+
635
+ #~ msgctxt "Price filter option: price ends to"
636
+ #~ msgid "To"
637
+ #~ msgstr "Tot"
638
+
639
+ #~ msgid ""
640
+ #~ "Show a price filter widget with a list of preset price ranges that users "
641
+ #~ "can use to better narrow down the products"
642
+ #~ msgstr ""
643
+ #~ "Een prijsfilter widget weergeven, met een lijst van vooraf ingestelde "
644
+ #~ "prijsklassen, die gebruikers kunnen toepassen om de producten te beperken"
645
+
646
+ #~ msgid "YITH WooCommerce Ajax Price List Filter"
647
+ #~ msgstr "YITH WooCommerce Ajax Price List Filter"
648
+
649
+ #~ msgctxt "refer to: product price"
650
+ #~ msgid "Price Filter"
651
+ #~ msgstr "Prijs Filter"
652
+
653
+ #~ msgid "Show widget dropdown"
654
+ #~ msgstr "Widget dropdown weergeven"
655
+
656
+ #~ msgctxt "Select this if you want to show the widget as open or closed"
657
+ #~ msgid "Dropdown style:"
658
+ #~ msgstr "Dropdown stijl:"
659
+
660
+ #~ msgid "Price Range"
661
+ #~ msgstr "Prijsklasse"
662
+
663
+ #~ msgid "Add new range"
664
+ #~ msgstr "Nieuwe klasse toevoegen"
665
+
666
+ #~ msgid "\"See all categories/tags\" link text"
667
+ #~ msgstr "\"Toon alle categorieën/tags\" link tekst"
668
+
669
+ #~ msgid "Leave it empty to use the default text available"
670
+ #~ msgstr "Laat het open om de beschikbare default tekst te gebruiken"
671
+
672
+ #~ msgid "here"
673
+ #~ msgstr "hier"
674
+
675
+ #~ msgid "current categories text"
676
+ #~ msgstr "tekst huidige categorieën"
677
+
678
+ #~ msgid "current tags text"
679
+ #~ msgstr "tekst huidige tags"
680
+
681
+ #~ msgid "No tags found."
682
+ #~ msgstr "Geen tags gevonden."
683
+
684
+ #~ msgctxt "Admin: Section title"
685
+ #~ msgid "Tag List"
686
+ #~ msgstr "Tag lijst"
687
+
688
+ #~ msgid "Show Selected"
689
+ #~ msgstr "Geselecteerde weergeven"
690
+
691
+ #~ msgid "Hide Selected"
692
+ #~ msgstr "Geselecteerde verbergen"
693
+
694
+ #~ msgid "Select all"
695
+ #~ msgstr "Alles selecteren"
696
+
697
+ #~ msgid "Unselect all"
698
+ #~ msgstr "Alles deselecteren"
699
+
700
+ #~ msgctxt "Admin: user note"
701
+ #~ msgid ""
702
+ #~ "Note: tags with no products assigned will not be showed in the front end"
703
+ #~ msgstr ""
704
+ #~ "Notitie: tags met niet toegewezen producten zullen niet worden "
705
+ #~ "weergegeven in de frontend"
706
+
707
+ #~ msgid "Tag name"
708
+ #~ msgstr "Tagnaam"
709
+
710
+ #~ msgid "Count"
711
+ #~ msgstr "Tellen"
712
+
713
+ #~ msgctxt "Select if you want to show round color box or square color box"
714
+ #~ msgid "Color Style:"
715
+ #~ msgstr "Kleurstijl:"
716
+
717
+ #~ msgid "Square"
718
+ #~ msgstr "Vierkant"
719
+
720
+ #~ msgid "Round"
721
+ #~ msgstr "Rond"
722
+
723
+ #~ msgid "Hide product count"
724
+ #~ msgstr "Verberg product tellen"
725
+
726
+ #~ msgid "See all"
727
+ #~ msgstr "Alles weergeven"
728
+
729
+ #~ msgid "Categories"
730
+ #~ msgstr "Categorieën"
731
+
732
+ #~ msgid "BiColor"
733
+ #~ msgstr "Tweekleurig"
734
+
735
+ #~ msgid "Tag"
736
+ #~ msgstr "Tag"
737
+
738
+ #~ msgid "Brand"
739
+ #~ msgstr "Merk"
740
+
741
+ #~ msgid "Use custom style for reset button"
742
+ #~ msgstr "Gebruik aangepaste stijl voor reset knop"
743
+
744
+ #~ msgid "Background color"
745
+ #~ msgstr "Achtergrond kleur"
746
+
747
+ #~ msgid "Background color on hover"
748
+ #~ msgstr "Kleur van hover selector"
749
+
750
+ #~ msgid "Text color"
751
+ #~ msgstr "Tekstkleur"
752
+
753
+ #~ msgid "Text color on hover"
754
+ #~ msgstr "Kleur van hover selector"
755
+
756
+ #~ msgid "Border color"
757
+ #~ msgstr "Randkleur"
758
+
759
+ #~ msgid "Border color on hover"
760
+ #~ msgstr "Randkleur van hover selector"
761
+
762
+ #~ msgid "Choose how to sort WooCommerce products"
763
+ #~ msgstr "Kies hoe WooCommerce producten geselecteerd worden"
764
+
765
+ #~ msgid "YITH WooCommerce Ajax Sort By"
766
+ #~ msgstr "YITH WooCommerce Ajax sorteren op"
767
+
768
+ #~ msgctxt "Product sorting"
769
+ #~ msgid "Sort by"
770
+ #~ msgstr "Sorteren op"
771
+
772
+ #~ msgid "Display on sale and in stock WooCommerce products"
773
+ #~ msgstr "Sale en op voorraad WooCommerce producten weergeven"
774
+
775
+ #~ msgid "YITH WooCommerce Ajax In Stock/On Sale Filters"
776
+ #~ msgstr "YITH WooCommerce Ajax Op Voorraad/Sale Filters"
777
+
778
+ #~ msgid "Show only \"On Sale\" products"
779
+ #~ msgstr "Alleen \"Sale\" producten weergeven"
780
+
781
+ #~ msgid "Show only \"In Stock\" products"
782
+ #~ msgstr "Alleen \"Op Voorraad\" producten weergeven"
783
+
784
+ #~ msgctxt "Product sorting"
785
+ #~ msgid "Stock/On sale"
786
+ #~ msgstr "Op Voorraad/Sale"
787
+
788
+ #~ msgid "Show \"On Sale\" filter"
789
+ #~ msgstr "\"Sale\" filter weergeven"
790
+
791
+ #~ msgid "Show \"In Stock\" filter"
792
+ #~ msgstr "\"Op Voorraad\" filter weergeven"
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-tr_TR.mo CHANGED
Binary file
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation-tr_TR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-09-26 12:43+0200\n"
6
- "PO-Revision-Date: 2017-09-26 12:43+0200\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language: tr\n"
@@ -58,7 +58,7 @@ msgstr "Terim"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
- #: widgets/class.yith-wcan-navigation-widget.php:841
62
  msgid "Color"
63
  msgstr "Renk"
64
 
@@ -138,7 +138,7 @@ msgid "Enter here the CSS class or id for the results count container"
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
141
- msgid "Scroll top anchor (only for mobiles)"
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
@@ -360,72 +360,72 @@ msgctxt "Admin: Widget Title"
360
  msgid "YITH WooCommerce Ajax Product Filter"
361
  msgstr ""
362
 
363
- #: widgets/class.yith-wcan-navigation-widget.php:151
364
  msgid "Filters:"
365
  msgstr ""
366
 
367
  # @ yit
368
- #: widgets/class.yith-wcan-navigation-widget.php:840
369
  msgid "List"
370
  msgstr "Liste"
371
 
372
  # @ yit
373
- #: widgets/class.yith-wcan-navigation-widget.php:842
374
  msgid "Label"
375
  msgstr "Etiket"
376
 
377
- #: widgets/class.yith-wcan-navigation-widget.php:843
378
  msgid "Dropdown"
379
  msgstr "Açılır Menü"
380
 
381
  # @ yit
382
- #: widgets/class.yith-wcan-navigation-widget.php:850
383
- #: widgets/class.yith-wcan-reset-navigation-widget.php:114
384
  msgid "Title"
385
  msgstr "Başlık"
386
 
387
  # @ yit
388
- #: widgets/class.yith-wcan-navigation-widget.php:856
389
  msgid "Type:"
390
  msgstr "Tür:"
391
 
392
  # @ yit
393
- #: widgets/class.yith-wcan-navigation-widget.php:867
394
  msgid "Query Type:"
395
  msgstr "Sorgu Tipi:"
396
 
397
  # @ yit
398
- #: widgets/class.yith-wcan-navigation-widget.php:869
399
  msgid "AND"
400
  msgstr "VE"
401
 
402
  # @ yit
403
- #: widgets/class.yith-wcan-navigation-widget.php:870
404
  msgid "OR"
405
  msgstr "VEYA"
406
 
407
  # @ yit
408
- #: widgets/class.yith-wcan-navigation-widget.php:876
409
  msgid "Attribute:"
410
  msgstr "Özellikler:"
411
 
412
- #: widgets/class.yith-wcan-navigation-widget.php:883
413
  msgid "Display (default All):"
414
  msgstr "Görüntüleme (Varsayılan tümü):"
415
 
416
- #: widgets/class.yith-wcan-navigation-widget.php:885
417
  msgid "All (no hierarchical)"
418
  msgstr "Tümü"
419
 
420
- #: widgets/class.yith-wcan-navigation-widget.php:886
421
  msgid "All (hierarchical)"
422
  msgstr ""
423
 
424
- #: widgets/class.yith-wcan-navigation-widget.php:887
425
  msgid "Only Parent"
426
  msgstr "Sadece Ebeveyn"
427
 
428
- #: widgets/class.yith-wcan-navigation-widget.php:894
429
  msgid "CSS custom class"
430
  msgstr ""
431
 
@@ -437,11 +437,11 @@ msgstr ""
437
  msgid "YITH WooCommerce Ajax Reset Filter"
438
  msgstr ""
439
 
440
- #: widgets/class.yith-wcan-reset-navigation-widget.php:107
441
  msgid "Reset All Filters"
442
  msgstr "Tüm Filtreleri Sıfırla"
443
 
444
- #: widgets/class.yith-wcan-reset-navigation-widget.php:120
445
  msgid "Button Label"
446
  msgstr "Buton Metni"
447
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-02-01 14:36+0100\n"
6
+ "PO-Revision-Date: 2018-02-01 14:36+0100\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language: tr\n"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
+ #: widgets/class.yith-wcan-navigation-widget.php:867
62
  msgid "Color"
63
  msgstr "Renk"
64
 
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
141
+ msgid "Scroll top anchor"
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
360
  msgid "YITH WooCommerce Ajax Product Filter"
361
  msgstr ""
362
 
363
+ #: widgets/class.yith-wcan-navigation-widget.php:153
364
  msgid "Filters:"
365
  msgstr ""
366
 
367
  # @ yit
368
+ #: widgets/class.yith-wcan-navigation-widget.php:866
369
  msgid "List"
370
  msgstr "Liste"
371
 
372
  # @ yit
373
+ #: widgets/class.yith-wcan-navigation-widget.php:868
374
  msgid "Label"
375
  msgstr "Etiket"
376
 
377
+ #: widgets/class.yith-wcan-navigation-widget.php:869
378
  msgid "Dropdown"
379
  msgstr "Açılır Menü"
380
 
381
  # @ yit
382
+ #: widgets/class.yith-wcan-navigation-widget.php:876
383
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
384
  msgid "Title"
385
  msgstr "Başlık"
386
 
387
  # @ yit
388
+ #: widgets/class.yith-wcan-navigation-widget.php:882
389
  msgid "Type:"
390
  msgstr "Tür:"
391
 
392
  # @ yit
393
+ #: widgets/class.yith-wcan-navigation-widget.php:893
394
  msgid "Query Type:"
395
  msgstr "Sorgu Tipi:"
396
 
397
  # @ yit
398
+ #: widgets/class.yith-wcan-navigation-widget.php:895
399
  msgid "AND"
400
  msgstr "VE"
401
 
402
  # @ yit
403
+ #: widgets/class.yith-wcan-navigation-widget.php:896
404
  msgid "OR"
405
  msgstr "VEYA"
406
 
407
  # @ yit
408
+ #: widgets/class.yith-wcan-navigation-widget.php:902
409
  msgid "Attribute:"
410
  msgstr "Özellikler:"
411
 
412
+ #: widgets/class.yith-wcan-navigation-widget.php:909
413
  msgid "Display (default All):"
414
  msgstr "Görüntüleme (Varsayılan tümü):"
415
 
416
+ #: widgets/class.yith-wcan-navigation-widget.php:911
417
  msgid "All (no hierarchical)"
418
  msgstr "Tümü"
419
 
420
+ #: widgets/class.yith-wcan-navigation-widget.php:912
421
  msgid "All (hierarchical)"
422
  msgstr ""
423
 
424
+ #: widgets/class.yith-wcan-navigation-widget.php:913
425
  msgid "Only Parent"
426
  msgstr "Sadece Ebeveyn"
427
 
428
+ #: widgets/class.yith-wcan-navigation-widget.php:920
429
  msgid "CSS custom class"
430
  msgstr ""
431
 
437
  msgid "YITH WooCommerce Ajax Reset Filter"
438
  msgstr ""
439
 
440
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
441
  msgid "Reset All Filters"
442
  msgstr "Tüm Filtreleri Sıfırla"
443
 
444
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
445
  msgid "Button Label"
446
  msgstr "Buton Metni"
447
 
modules/yith-woocommerce-ajax-navigation/languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2017-09-26 12:43+0200\n"
7
  "PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language-Team: \n"
@@ -59,7 +59,7 @@ msgid "Term"
59
  msgstr ""
60
 
61
  #: includes/functions.yith-wcan.php:57
62
- #: widgets/class.yith-wcan-navigation-widget.php:841
63
  msgid "Color"
64
  msgstr ""
65
 
@@ -138,7 +138,7 @@ msgid "Enter here the CSS class or id for the results count container"
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
141
- msgid "Scroll top anchor (only for mobiles)"
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
@@ -365,64 +365,64 @@ msgctxt "Admin: Widget Title"
365
  msgid "YITH WooCommerce Ajax Product Filter"
366
  msgstr ""
367
 
368
- #: widgets/class.yith-wcan-navigation-widget.php:151
369
  msgid "Filters:"
370
  msgstr ""
371
 
372
- #: widgets/class.yith-wcan-navigation-widget.php:840
373
  msgid "List"
374
  msgstr ""
375
 
376
- #: widgets/class.yith-wcan-navigation-widget.php:842
377
  msgid "Label"
378
  msgstr ""
379
 
380
- #: widgets/class.yith-wcan-navigation-widget.php:843
381
  msgid "Dropdown"
382
  msgstr ""
383
 
384
- #: widgets/class.yith-wcan-navigation-widget.php:850
385
- #: widgets/class.yith-wcan-reset-navigation-widget.php:114
386
  msgid "Title"
387
  msgstr ""
388
 
389
- #: widgets/class.yith-wcan-navigation-widget.php:856
390
  msgid "Type:"
391
  msgstr ""
392
 
393
- #: widgets/class.yith-wcan-navigation-widget.php:867
394
  msgid "Query Type:"
395
  msgstr ""
396
 
397
- #: widgets/class.yith-wcan-navigation-widget.php:869
398
  msgid "AND"
399
  msgstr ""
400
 
401
- #: widgets/class.yith-wcan-navigation-widget.php:870
402
  msgid "OR"
403
  msgstr ""
404
 
405
- #: widgets/class.yith-wcan-navigation-widget.php:876
406
  msgid "Attribute:"
407
  msgstr ""
408
 
409
- #: widgets/class.yith-wcan-navigation-widget.php:883
410
  msgid "Display (default All):"
411
  msgstr ""
412
 
413
- #: widgets/class.yith-wcan-navigation-widget.php:885
414
  msgid "All (no hierarchical)"
415
  msgstr ""
416
 
417
- #: widgets/class.yith-wcan-navigation-widget.php:886
418
  msgid "All (hierarchical)"
419
  msgstr ""
420
 
421
- #: widgets/class.yith-wcan-navigation-widget.php:887
422
  msgid "Only Parent"
423
  msgstr ""
424
 
425
- #: widgets/class.yith-wcan-navigation-widget.php:894
426
  msgid "CSS custom class"
427
  msgstr ""
428
 
@@ -434,10 +434,10 @@ msgstr ""
434
  msgid "YITH WooCommerce Ajax Reset Filter"
435
  msgstr ""
436
 
437
- #: widgets/class.yith-wcan-reset-navigation-widget.php:107
438
  msgid "Reset All Filters"
439
  msgstr ""
440
 
441
- #: widgets/class.yith-wcan-reset-navigation-widget.php:120
442
  msgid "Button Label"
443
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2018-02-01 14:37+0100\n"
7
  "PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language-Team: \n"
59
  msgstr ""
60
 
61
  #: includes/functions.yith-wcan.php:57
62
+ #: widgets/class.yith-wcan-navigation-widget.php:867
63
  msgid "Color"
64
  msgstr ""
65
 
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
141
+ msgid "Scroll top anchor"
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
365
  msgid "YITH WooCommerce Ajax Product Filter"
366
  msgstr ""
367
 
368
+ #: widgets/class.yith-wcan-navigation-widget.php:153
369
  msgid "Filters:"
370
  msgstr ""
371
 
372
+ #: widgets/class.yith-wcan-navigation-widget.php:866
373
  msgid "List"
374
  msgstr ""
375
 
376
+ #: widgets/class.yith-wcan-navigation-widget.php:868
377
  msgid "Label"
378
  msgstr ""
379
 
380
+ #: widgets/class.yith-wcan-navigation-widget.php:869
381
  msgid "Dropdown"
382
  msgstr ""
383
 
384
+ #: widgets/class.yith-wcan-navigation-widget.php:876
385
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:104
386
  msgid "Title"
387
  msgstr ""
388
 
389
+ #: widgets/class.yith-wcan-navigation-widget.php:882
390
  msgid "Type:"
391
  msgstr ""
392
 
393
+ #: widgets/class.yith-wcan-navigation-widget.php:893
394
  msgid "Query Type:"
395
  msgstr ""
396
 
397
+ #: widgets/class.yith-wcan-navigation-widget.php:895
398
  msgid "AND"
399
  msgstr ""
400
 
401
+ #: widgets/class.yith-wcan-navigation-widget.php:896
402
  msgid "OR"
403
  msgstr ""
404
 
405
+ #: widgets/class.yith-wcan-navigation-widget.php:902
406
  msgid "Attribute:"
407
  msgstr ""
408
 
409
+ #: widgets/class.yith-wcan-navigation-widget.php:909
410
  msgid "Display (default All):"
411
  msgstr ""
412
 
413
+ #: widgets/class.yith-wcan-navigation-widget.php:911
414
  msgid "All (no hierarchical)"
415
  msgstr ""
416
 
417
+ #: widgets/class.yith-wcan-navigation-widget.php:912
418
  msgid "All (hierarchical)"
419
  msgstr ""
420
 
421
+ #: widgets/class.yith-wcan-navigation-widget.php:913
422
  msgid "Only Parent"
423
  msgstr ""
424
 
425
+ #: widgets/class.yith-wcan-navigation-widget.php:920
426
  msgid "CSS custom class"
427
  msgstr ""
428
 
434
  msgid "YITH WooCommerce Ajax Reset Filter"
435
  msgstr ""
436
 
437
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:97
438
  msgid "Reset All Filters"
439
  msgstr ""
440
 
441
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:110
442
  msgid "Button Label"
443
  msgstr ""
modules/yith-woocommerce-ajax-navigation/settings/custom-style-options.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/settings/frontend-options.php CHANGED
@@ -54,7 +54,7 @@ $frontend = array(
54
  ),
55
 
56
  array(
57
- 'name' => __( 'Scroll top anchor (only for mobiles)', 'yith-woocommerce-ajax-navigation' ),
58
  'desc' => __( 'Enter here the HTML tag for the scroll to top feature', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.yit-wcan-container</strong>)',
59
  'id' => 'yith_wcan_ajax_scroll_top_class',
60
  'type' => 'text',
54
  ),
55
 
56
  array(
57
+ 'name' => __( 'Scroll top anchor', 'yith-woocommerce-ajax-navigation' ),
58
  'desc' => __( 'Enter here the HTML tag for the scroll to top feature', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.yit-wcan-container</strong>)',
59
  'id' => 'yith_wcan_ajax_scroll_top_class',
60
  'type' => 'text',
modules/yith-woocommerce-ajax-navigation/settings/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -114,7 +114,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
114
 
115
  if ( in_array( $display_type, apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
116
 
117
- $ancestors = yith_wcan_wp_get_terms(
118
  array(
119
  'taxonomy' => $taxonomy,
120
  'parent' => 0,
@@ -134,7 +134,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
134
  }
135
 
136
  foreach( $ancestors as $ancestor ){
137
- $tree[ $ancestor->term_id ] = yit_reorder_hierachical_categories( $ancestor->term_id, $taxonomy );
138
  }
139
  }
140
 
@@ -144,16 +144,16 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
144
 
145
  // List display
146
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
147
-
148
  $this->get_list_html( $tree, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, 0, $filter_term_field );
149
 
150
  echo "</ul>";
151
  }
152
  elseif ( $display_type == 'select' ) {
153
- $dropdown_label = apply_filters( 'yith_wcan_dropdown_label', __( 'Filters:', 'yith-woocommerce-ajax-navigation' ), $this );
154
  ?>
155
 
156
- <a class="yit-wcan-select-open" href="#"><?php echo apply_filters( 'yith_wcan_dropdown_default_label', $dropdown_label ) ?></a>
157
 
158
  <?php
159
  // Select display
@@ -574,8 +574,22 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
574
  $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
575
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
576
 
577
- if ( ! empty( $instance['colors'][$term_id] ) ) {
578
- $li_style = apply_filters( "{$this->id}-li_style", 'background-color:' . $instance['colors'][$term_id] . ';', $instance );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
579
 
580
  echo '<li ' . $class . '>';
581
 
@@ -1249,6 +1263,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1249
 
1250
  else {
1251
  $to_print = apply_filters( 'yith_wcan_show_no_products_attributes', ( ! $filter_by_tags_hierarchical && $query_type != 'and' ), $count, $term );
 
1252
 
1253
  $to_print && printf( '<li %s><span>%s</span>', $class, $term->name );
1254
  $li_printed = true;
114
 
115
  if ( in_array( $display_type, apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
116
 
117
+ $ancestors = yith_wcan_wp_get_terms(
118
  array(
119
  'taxonomy' => $taxonomy,
120
  'parent' => 0,
134
  }
135
 
136
  foreach( $ancestors as $ancestor ){
137
+ $tree[ $ancestor->term_id ] = 'parent' == $terms_type_list ? array() : yit_reorder_hierachical_categories( $ancestor->term_id, $taxonomy );
138
  }
139
  }
140
 
144
 
145
  // List display
146
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
147
+
148
  $this->get_list_html( $tree, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, 0, $filter_term_field );
149
 
150
  echo "</ul>";
151
  }
152
  elseif ( $display_type == 'select' ) {
153
+ $dropdown_label = apply_filters( 'yith_wcan_dropdown_label', __( 'Filters:', 'yith-woocommerce-ajax-navigation' ), $this, $instance );
154
  ?>
155
 
156
+ <a class="yit-wcan-select-open" href="#"><?php echo apply_filters( 'yith_wcan_dropdown_default_label', $dropdown_label, $this ) ?></a>
157
 
158
  <?php
159
  // Select display
574
  $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
575
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
576
 
577
+ $color = '';
578
+
579
+ if( ! empty( $instance['colors'][$term_id] ) ){
580
+ $color = $instance['colors'][$term_id];
581
+ }
582
+
583
+ elseif( function_exists( 'ywccl_get_term_meta' ) && ! empty( $wc_product_attributes[ $term->taxonomy ]->attribute_type ) && 'colorpicker' == $wc_product_attributes[ $term->taxonomy ]->attribute_type ) {
584
+ $colors = ywccl_get_term_meta( $term->term_id, $term->taxonomy . '_yith_wccl_value' );
585
+ if( ! empty( $colors ) ){
586
+ $colors = explode( ',', $colors );
587
+ $color = $colors[0];
588
+ }
589
+ }
590
+
591
+ if ( $color ) {
592
+ $li_style = apply_filters( "{$this->id}-li_style", 'background-color:' . $color . ';', $instance );
593
 
594
  echo '<li ' . $class . '>';
595
 
1263
 
1264
  else {
1265
  $to_print = apply_filters( 'yith_wcan_show_no_products_attributes', ( ! $filter_by_tags_hierarchical && $query_type != 'and' ), $count, $term );
1266
+ $class = apply_filters( 'yith_wcan_list_type_empty_filter_class', $class );
1267
 
1268
  $to_print && printf( '<li %s><span>%s</span>', $class, $term->name );
1269
  $li_printed = true;
modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-reset-navigation-widget.php CHANGED
@@ -54,17 +54,7 @@ if ( ! class_exists( 'YITH_WCAN_Reset_Navigation_Widget' ) ) {
54
 
55
  //clean the url
56
  if( ! isset( $_GET['source_id'] ) ){
57
- //$link = yit_curPageURL();
58
- if( is_product_taxonomy() ){
59
- $queried_object = get_queried_object();
60
- $slug = $queried_object->slug;
61
- $taxonomy = $queried_object->taxonomy;
62
- $link = get_term_link( $slug, $taxonomy );
63
- }
64
-
65
- else {
66
- $link = get_post_type_archive_link( 'product' );//yit_get_woocommerce_layered_nav_link();
67
- }
68
 
69
  foreach ( (array) $_chosen_attributes as $taxonomy => $data ) {
70
  $taxonomy_filter = str_replace( 'pa_', '', $taxonomy );
54
 
55
  //clean the url
56
  if( ! isset( $_GET['source_id'] ) ){
57
+ $link = get_post_type_archive_link( 'product' ); //yit_get_woocommerce_layered_nav_link();
 
 
 
 
 
 
 
 
 
 
58
 
59
  foreach ( (array) $_chosen_attributes as $taxonomy => $data ) {
60
  $taxonomy_filter = str_replace( 'pa_', '', $taxonomy );
modules/yith-woocommerce-ajax-search/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/css/yith_wcas_ajax_search.css CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/01.jpg CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/03.jpg CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/ajax-loader.gif CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/ajax-search-premium.jpg CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-eight.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-five.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-fourth.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-one.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-seven.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-six.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-three.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/number-two.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/devbridge-jquery-autocomplete.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/devbridge-jquery-autocomplete.min.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/frontend.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/frontend.min.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/yith-autocomplete.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/assets/js/yith-autocomplete.min.js CHANGED
File without changes
modules/yith-woocommerce-ajax-search/class.yith-wcas-admin.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/class.yith-wcas-frontend.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/class.yith-wcas.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/functions.yith-wcas.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/init.php CHANGED
@@ -3,11 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
6
- * Version: 1.5.3
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
 
 
11
  */
12
 
13
 
@@ -32,6 +34,7 @@ if ( ! defined( 'YITH_WCAS_DIR' ) ) {
32
  define( 'YITH_WCAS_DIR', plugin_dir_path( __FILE__ ) );
33
  }
34
 
 
35
  if ( defined( 'YITH_WCAS_PREMIUM' ) ) {
36
  function yith_wcas_install_free_admin_notice() {
37
  ?>
@@ -58,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
58
  if ( defined( 'YITH_WCAS_VERSION' ) ){
59
  return;
60
  }else{
61
- define( 'YITH_WCAS_VERSION', '1.5.3' );
62
  }
63
 
64
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
6
+ * Version: 1.5.5
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
+ * WC requires at least: 3.0.0
12
+ * WC tested up to: 3.3.0
13
  */
14
 
15
 
34
  define( 'YITH_WCAS_DIR', plugin_dir_path( __FILE__ ) );
35
  }
36
 
37
+
38
  if ( defined( 'YITH_WCAS_PREMIUM' ) ) {
39
  function yith_wcas_install_free_admin_notice() {
40
  ?>
61
  if ( defined( 'YITH_WCAS_VERSION' ) ){
62
  return;
63
  }else{
64
+ define( 'YITH_WCAS_VERSION', '1.5.5' );
65
  }
66
 
67
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-pt_PT.mo CHANGED
File without changes
modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search-pt_PT.po CHANGED
File without changes
modules/yith-woocommerce-ajax-search/languages/yith-woocommerce-ajax-search.pot CHANGED
File without changes
modules/yith-woocommerce-ajax-search/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/plugin-options/settings-options.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/uninstall.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/widgets/class.yith-wcas-ajax-search.php CHANGED
File without changes
modules/yith-woocommerce-ajax-search/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/amex.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/diners.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/discover.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/jcb.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/mastercard.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/icons/credit-cards/visa.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/logo.jpg CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/images/yith-woocommerce-authorize-net.jpg CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/js/authorize-net.min.js CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/assets/js/unminified/authorize-net.js CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-admin.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-credit-card-gateway.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/includes/legacy/class.yith-wcauthnet-credit-card-gateway.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/init.php CHANGED
@@ -3,11 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Authorize.net Payment Gateway
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-authorize-net/
5
  * Description: YITH WooCommerce Authorize.net allows you to add Authorize.net payment gateway to WooCommerce
6
- * Version: 1.1.0
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcauthnet
10
  * Domain Path: /languages/
 
 
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Authorize.net
@@ -45,7 +47,7 @@ if ( ! defined( 'YITH_WCAUTHNET' ) ) {
45
  }
46
 
47
  if( ! defined( 'YITH_WCAUTHNET_VERSION' ) ){
48
- define( 'YITH_WCAUTHNET_VERSION', '1.1.0' );
49
  }
50
 
51
  if ( ! defined( 'YITH_WCAUTHNET_URL' ) ) {
3
  * Plugin Name: YITH WooCommerce Authorize.net Payment Gateway
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-authorize-net/
5
  * Description: YITH WooCommerce Authorize.net allows you to add Authorize.net payment gateway to WooCommerce
6
+ * Version: 1.1.3
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcauthnet
10
  * Domain Path: /languages/
11
+ * WC requires at least: 2.5.0
12
+ * WC tested up to: 3.3.0
13
  *
14
  * @author Your Inspiration Themes
15
  * @package YITH WooCommerce Authorize.net
47
  }
48
 
49
  if( ! defined( 'YITH_WCAUTHNET_VERSION' ) ){
50
+ define( 'YITH_WCAUTHNET_VERSION', '1.1.3' );
51
  }
52
 
53
  if ( ! defined( 'YITH_WCAUTHNET_URL' ) ) {
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-es_ES.mo ADDED
Binary file
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-es_ES.po ADDED
@@ -0,0 +1,581 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Authorize.net\n"
4
+ "POT-Creation-Date: 2018-02-01 12:59+0100\n"
5
+ "PO-Revision-Date: 2018-02-01 12:59+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "Language: es_ES\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7.1\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
14
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
20
+
21
+ #: ../includes/class.yith-wcauthnet-admin.php:78
22
+ msgid "Credit Card"
23
+ msgstr "Tarjeta de crédito"
24
+
25
+ #: ../includes/class.yith-wcauthnet-admin.php:79
26
+ #: ../includes/class.yith-wcauthnet-admin.php:178
27
+ msgid "Premium Version"
28
+ msgstr "Versión Premium"
29
+
30
+ #: ../includes/class.yith-wcauthnet-admin.php:120
31
+ #: ../includes/class.yith-wcauthnet-admin.php:121
32
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:88
33
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:88
34
+ msgid "Authorize.net"
35
+ msgstr "Authorize.net"
36
+
37
+ #: ../includes/class.yith-wcauthnet-admin.php:175
38
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:303
39
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:286
40
+ msgid "Settings"
41
+ msgstr "Ajustes"
42
+
43
+ #: ../includes/class.yith-wcauthnet-admin.php:201
44
+ msgid "Plugin Documentation"
45
+ msgstr "Documentación del Plugin"
46
+
47
+ #: ../includes/class.yith-wcauthnet-admin.php:223
48
+ msgid "YITH Authorize.net"
49
+ msgstr "YITH Authorize.net"
50
+
51
+ #: ../includes/class.yith-wcauthnet-admin.php:224
52
+ #, php-format
53
+ msgid ""
54
+ "In the YIT Plugins tab you can find the YITH WooCommerce Authorize.net "
55
+ "options. From this menu, you can access all the settings of the YITH plugins "
56
+ "activated. YITH Authorize.net is available in an outstanding PREMIUM version "
57
+ "with many new options, <a href=\"%s\">discover it now</a>."
58
+ msgstr ""
59
+ "Desde la pestaña YITH Plugins puedes encontrar las opciones de YITH "
60
+ "WooCommerce Authorize.net. Desde este menú, puedes acceder a todos los "
61
+ "ajustes de los plugin YITH activados. YITH Authorize.net está disponible en "
62
+ "una espectacular versión PREMIUM con muchas nuevas opciones, <a href=\"%s"
63
+ "\">descúbrela ahora</a>."
64
+
65
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:89
66
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:89
67
+ msgid "Pay with Authorize.net"
68
+ msgstr "Pagar con Authorize.net"
69
+
70
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:96
71
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:176
72
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:96
73
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:159
74
+ msgid "Proceed to Authorize.net"
75
+ msgstr "Continuar a Authorize.net"
76
+
77
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:154
78
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:137
79
+ msgid "Enable/Disable"
80
+ msgstr "Habilitar/Deshabilitar"
81
+
82
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:156
83
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:139
84
+ msgid "Enable Authorize.net Payment"
85
+ msgstr "Habilitar pago Authorize.net"
86
+
87
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:160
88
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:143
89
+ msgid "Title"
90
+ msgstr "Título"
91
+
92
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:162
93
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:145
94
+ msgid ""
95
+ "This option lets you change the title that users see during the checkout."
96
+ msgstr ""
97
+ "Esta opción te permite cambiar el título que los usuarios ven en la página "
98
+ "de pago."
99
+
100
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:163
101
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:146
102
+ msgid "Authorize.net Payment"
103
+ msgstr "Pago Authorize.net"
104
+
105
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:167
106
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:150
107
+ msgid "Description"
108
+ msgstr "Descripción"
109
+
110
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:169
111
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:152
112
+ msgid ""
113
+ "This option lets you change the description that users see during checkout."
114
+ msgstr ""
115
+ "Esta opción te permite cambiar la descripción que los usuarios ven en la "
116
+ "página de pago."
117
+
118
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:170
119
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:153
120
+ msgid "Accepts Payments. Anywhere"
121
+ msgstr "Acepta pagos. En cualquier lugar"
122
+
123
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:173
124
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:156
125
+ msgid "Order Button Text"
126
+ msgstr "Texto del botón de pedido"
127
+
128
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:175
129
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:158
130
+ msgid ""
131
+ "This option lets you change the label of the button that users see during "
132
+ "the checkout."
133
+ msgstr ""
134
+ "Esta opción de permite cambiar la etiqueta del botón que los usuarios ven en "
135
+ "la página de pago."
136
+
137
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:180
138
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:163
139
+ msgid "Acceptance logos"
140
+ msgstr "Logos de tarjetas aceptadas"
141
+
142
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:182
143
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:165
144
+ msgid "Select which credit card logo to display on your checkout page"
145
+ msgstr ""
146
+ "Selecciona el logo de tarjeta de crédito que quieres mostrar en la página de "
147
+ "pago"
148
+
149
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:188
150
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:171
151
+ msgid "Visa"
152
+ msgstr "Visa"
153
+
154
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:189
155
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:172
156
+ msgid "MasterCard"
157
+ msgstr "MasterCard"
158
+
159
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:190
160
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:173
161
+ msgid "American Express"
162
+ msgstr "American Express"
163
+
164
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:191
165
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:174
166
+ msgid "Discover"
167
+ msgstr "Discover"
168
+
169
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:192
170
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:175
171
+ msgid "Diner's Club"
172
+ msgstr "Diner's Club"
173
+
174
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:193
175
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:176
176
+ msgid "JCB"
177
+ msgstr "JCB"
178
+
179
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:198
180
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:181
181
+ msgid "Login ID"
182
+ msgstr "ID de inicio de sesión"
183
+
184
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:200
185
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:183
186
+ msgid ""
187
+ "Univocal ID login associated to the account of the admin (it can be "
188
+ "recovered in the \"API Login ID and Transaction Key\" section)"
189
+ msgstr ""
190
+ "ID de inicio de sesión univocal asociado a la cuenta del admin (se puede "
191
+ "recuperar en la sección de \"ID de inicio de sesión API y Clave de "
192
+ "transacción\")"
193
+
194
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:203
195
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:186
196
+ msgid "Transaction Key"
197
+ msgstr "Clave de transacción"
198
+
199
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:205
200
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:188
201
+ msgid ""
202
+ "A unique key used to validate requests to Authorize.net (it can be recovered "
203
+ "in the \"API Login ID and Transaction Key\" section)"
204
+ msgstr ""
205
+ "Una clave única que se usa para validar solicitudes a Authorize.net (se "
206
+ "puede recuperar en la sección \"ID de inicio de sesión API y Clave de "
207
+ "transacción\")"
208
+
209
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:208
210
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:191
211
+ msgid "Md5 Hash"
212
+ msgstr "Md5 Hash"
213
+
214
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:210
215
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:193
216
+ msgid ""
217
+ "A unique key used to validate the answers from Authorize.net (it can be set "
218
+ "in the \"MD5 Hash\" section). You can activate this mode and set these "
219
+ "details of your Authorize.net dashboard in Account -> Md5 Hash. The check "
220
+ "will be done only in redirect mode, as the API connection is already "
221
+ "protected with SSL."
222
+ msgstr ""
223
+ "Una clave única que se usa para validar las respuestas de Authorize.net (se "
224
+ "puede establecer en la sección \"MD5 Hash). Puedes activar este modo y "
225
+ "establecer estos detalles de tu tablero Authorize.net en Account -> Md5 "
226
+ "Hash. La comprobación se hará sólo en el modo de redirección, ya que la "
227
+ "conexión API ya está protegida con SSL."
228
+
229
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:213
230
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:196
231
+ msgid "Enable Authorize.net sandbox"
232
+ msgstr "Habilitar Sandbox de Authorize.net"
233
+
234
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:215
235
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:198
236
+ msgid "Activate the sandbox mode to test the configuration"
237
+ msgstr "Activar el modo sandbox para probar la configuración"
238
+
239
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:218
240
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:201
241
+ msgid "Transaction type"
242
+ msgstr "Tipo de transacción"
243
+
244
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:220
245
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:203
246
+ msgid "Select which type of transaction you want to send"
247
+ msgstr "Selecciona qué tipo de transacción quieres enviar"
248
+
249
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:225
250
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:208
251
+ msgid "Authorize & Capture"
252
+ msgstr "Authorize & Capture"
253
+
254
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:226
255
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:209
256
+ msgid "Authorize only"
257
+ msgstr "Sólo Authorize"
258
+
259
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:231
260
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:214
261
+ msgid "Debug Log"
262
+ msgstr "Registro de depuración"
263
+
264
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:233
265
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:216
266
+ #, php-format
267
+ msgid "Log of the Authorize.net events inside <code>%s</code>"
268
+ msgstr "Registro de los eventos de Authorize.net dentro de <code>%s</code>"
269
+
270
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:291
271
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:274
272
+ msgid "Please enter Login ID and Transaction Key for Authorize.net gateway."
273
+ msgstr ""
274
+ "Por favor, introduce el ID de inicio de sesión y la Clave de transacción "
275
+ "para la pasarela de pago Authorize.net."
276
+
277
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:308
278
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:291
279
+ msgid "Getting started"
280
+ msgstr "Empezando"
281
+
282
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:309
283
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:292
284
+ msgid ""
285
+ "An Authorize.Net Payment Gateway account allows you to accept credit cards "
286
+ "and electronic checks from websites and Internet auction sites. Our "
287
+ "solutions are designed to save time and money for small- to medium-sized "
288
+ "businesses."
289
+ msgstr ""
290
+ "Una cuenta en la pasarela de pago Authorize.net te permite aceptar tarjetas "
291
+ "de crédito y comprobaciones electrónicas de sitios web y sitios de subastas "
292
+ "en Internet. Nuestras soluciones están diseñadas para ahorrar tiempo y "
293
+ "dinero a negocios de pequeños a medianos."
294
+
295
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:311
296
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:294
297
+ msgid "Sign up now"
298
+ msgstr "Inscríbete ahora"
299
+
300
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:311
301
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:294
302
+ msgid "Learn more"
303
+ msgstr "Saber más"
304
+
305
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:365
306
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:348
307
+ msgid "Cancel Payment"
308
+ msgstr "Cancelar pago"
309
+
310
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:434
311
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:417
312
+ msgid "N/D"
313
+ msgstr "N/D"
314
+
315
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:445
316
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:428
317
+ msgid "Authorize.net API error: unknown error."
318
+ msgstr "Error API de Authorize.net: error desconocido."
319
+
320
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:446
321
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:429
322
+ msgid "Unknown error"
323
+ msgstr "Error desconocido"
324
+
325
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:466
326
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:468
327
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:449
328
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:451
329
+ #, php-format
330
+ msgid "Validation error: Authorize.net amounts do not match with (%s)."
331
+ msgstr ""
332
+ "Error de validación: las cuentas de Authorize.net no coinciden con (%s)."
333
+
334
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:479
335
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:481
336
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:462
337
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:464
338
+ #, php-format
339
+ msgid ""
340
+ "Validation error: Authorize.net responses from a different email address "
341
+ "than (%s)."
342
+ msgstr ""
343
+ "Error de validación: Authorize.net responde de una dirección email distinta "
344
+ "de (%s)."
345
+
346
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:495
347
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:497
348
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:478
349
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:480
350
+ msgid "Validation error: MD5 Hash control failed."
351
+ msgstr "Error de validación: el control MD5 Hash ha fallado."
352
+
353
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:504
354
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:487
355
+ #, php-format
356
+ msgid "Authorize.net payment completed (message: %s). Transaction ID: %s"
357
+ msgstr "Pago Authorize.net completado (mensaje: %s). ID de transacción: %s"
358
+
359
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:520
360
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:503
361
+ #, php-format
362
+ msgid "Payment error: %s"
363
+ msgstr "Error de pago: %s"
364
+
365
+ #: ../init.php:123
366
+ msgid ""
367
+ "YITH WooCommerce Authorize.net Payment Gateway is enabled but not effective. "
368
+ "It requires WooCommerce in order to work."
369
+ msgstr ""
370
+ "YITH WooCommerce Authorize.net Payment Gateway está habilitado pero no es "
371
+ "efectivo. Requiere WooCommerce para funcionar."
372
+
373
+ #: ../plugin-options/video-box.php:23
374
+ msgid "Upgrade to the PREMIUM VERSION"
375
+ msgstr ""
376
+
377
+ #: ../plugin-options/video-box.php:26 ../plugin-options/video-box.php:33
378
+ msgid "YITH WooCommerce Authorize.net"
379
+ msgstr ""
380
+
381
+ #: ../plugin-options/video-box.php:27
382
+ msgid "Discover the Advanced Features"
383
+ msgstr ""
384
+
385
+ #: ../plugin-options/video-box.php:28
386
+ msgid ""
387
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Authorize.net to benefit "
388
+ "from all features!"
389
+ msgstr ""
390
+
391
+ #: ../plugin-options/video-box.php:35 ../plugin-options/video-box.php:39
392
+ msgid "Get Support and Pro Features"
393
+ msgstr ""
394
+
395
+ #: ../plugin-options/video-box.php:36
396
+ msgid ""
397
+ "By purchasing the premium version of the plugin, you will take advantage of "
398
+ "the advanced features of the product and you will get one year of free "
399
+ "updates and support through our platform available 24h/24."
400
+ msgstr ""
401
+
402
+ #: ../templates/admin/settings-tab.php:21
403
+ msgid "Save changes"
404
+ msgstr "Guardar cambios"
405
+
406
+ #~ msgid "eCheck"
407
+ #~ msgstr "eCheck"
408
+
409
+ #~ msgid ""
410
+ #~ "In the YIT Plugins tab you can find the YITH WooCommerce Authorize.net "
411
+ #~ "options. From this menu, you can access all the settings of the YITH "
412
+ #~ "plugins activated"
413
+ #~ msgstr ""
414
+ #~ "En la pestaña YITH Plugins puedes encontrar las opciones de YITH "
415
+ #~ "WooCommerce Authorize.net. Desde este menú, puedes acceder a todos los "
416
+ #~ "ajustes de los plugin YITH activados"
417
+
418
+ #~ msgid "Taxes"
419
+ #~ msgstr "Impuestos"
420
+
421
+ #~ msgid "Shipping"
422
+ #~ msgstr "Envío"
423
+
424
+ #~ msgid "Request mode"
425
+ #~ msgstr "Modo de solicitud"
426
+
427
+ #~ msgid ""
428
+ #~ "Selecting \"Redirect\", users will be able to complete the payment on the "
429
+ #~ "pages of Authorize.net; on the contrary, the option \"API\" will allow "
430
+ #~ "using the potentialities of the APIs to complete the purchase without "
431
+ #~ "external redirects."
432
+ #~ msgstr ""
433
+ #~ "Seleccionando \"Redirigir\", los usuarios podrán completar el pago en las "
434
+ #~ "páginas de Authorize.net; por el contrario, la opción \"API\" permitirá "
435
+ #~ "usar las potencialidades de las APIs para completar la compra sin "
436
+ #~ "redireccionamiento externo."
437
+
438
+ #~ msgid "Redirect"
439
+ #~ msgstr "Redirigir"
440
+
441
+ #~ msgid "API"
442
+ #~ msgstr "API"
443
+
444
+ #~ msgid "Enable Customer Information Manager (CIM)"
445
+ #~ msgstr "Habilitar Customer Information Manager (CIM)"
446
+
447
+ #~ msgid ""
448
+ #~ "It allows the system to store the payment methods of the users, in order "
449
+ #~ "to use them in the future without the need to write the details again."
450
+ #~ msgstr ""
451
+ #~ "Permite que el sistema almacene los métodos de pago de los usuarios, para "
452
+ #~ "usarlos en el futuro sin necesidad de escribir los detalles de nuevo."
453
+
454
+ #~ msgid "Enable itemized transaction"
455
+ #~ msgstr "Habilitar transacción de artículos"
456
+
457
+ #~ msgid ""
458
+ #~ "Enable the registration of the items in the cart during the transaction "
459
+ #~ "(up to a maximum of 30 items)"
460
+ #~ msgstr ""
461
+ #~ "Habilita el registro de los artículos del carrito durante la transacción "
462
+ #~ "(hasta 30 artículos)"
463
+
464
+ #~ msgid "Authorize.net refund failed: No transaction ID"
465
+ #~ msgstr "Reembolso Authorize.net fallido. Ninguna transacción ID"
466
+
467
+ #~ msgid "Authorize.net refund approved"
468
+ #~ msgstr "Reembolso Authorize.net aprobado"
469
+
470
+ #~ msgid "Refund error: %s"
471
+ #~ msgstr "Error de reembolso: %s"
472
+
473
+ #~ msgid "Refund error: unknown error"
474
+ #~ msgstr "Error de reembolso: error desconocido"
475
+
476
+ #~ msgid "Missing required information"
477
+ #~ msgstr "Falta información obligatoria"
478
+
479
+ #~ msgid ""
480
+ #~ "An error occurred while processing the payment; please try again later"
481
+ #~ msgstr ""
482
+ #~ "Ha ocurrido un error mientras se procesaba el pago; por favor, inténtalo "
483
+ #~ "de nuevo más tarde"
484
+
485
+ #~ msgid "There was a problem adding this card."
486
+ #~ msgstr "Ha ocurrido un problema al añadir esta tarjeta."
487
+
488
+ #~ msgid "Authorize.net eCheck"
489
+ #~ msgstr "Authorize.net eCheck"
490
+
491
+ #~ msgid "Enable Authorize.net eCheck Payment"
492
+ #~ msgstr "Habilitar pago Authorize.net eCheck"
493
+
494
+ #~ msgid "eCheck on Authorize.net"
495
+ #~ msgstr "eCheck en Authorize.net"
496
+
497
+ #~ msgid ""
498
+ #~ "Univocal ID login associated to the account of the admin (it can be "
499
+ #~ "recovered in the \"API Login ID and Transaction Key\" section). If no "
500
+ #~ "detail is stated, the system will try to use the parameter of the "
501
+ #~ "\"Authorize.net Credit Card\" payment gateway."
502
+ #~ msgstr ""
503
+ #~ "ID de inicio de sesión univocal asociado a la cuenta del admin (se puede "
504
+ #~ "recuperar en la sección de \"ID de inicio de sesión API y Clave de "
505
+ #~ "transacción\"). Si no se establecen detalles, el sistema intentará usar "
506
+ #~ "el parámetro de la pasarela de pago \"Authorize.net tarjeta de crédito\"."
507
+
508
+ #~ msgid ""
509
+ #~ "A unique key used to validate requests to Authorize.net (it can be "
510
+ #~ "recovered in the \"API Login ID and Transaction Key\" section). If no "
511
+ #~ "detail is stated, the system will try to use the parameter of the "
512
+ #~ "\"Authorize.net Credit Card\" payment gateway."
513
+ #~ msgstr ""
514
+ #~ "Una clave única que se usa para validar solicitudes a Authorize.net (se "
515
+ #~ "puede recuperar en la sección \"ID de inicio de sesión API y Clave de "
516
+ #~ "transacción\"). Si no se han establecido detalles, el sistema intentará "
517
+ #~ "usar el parámetro de pasarela de pago \"Tarjeta de crédito Authorize.net"
518
+ #~ "\"."
519
+
520
+ #~ msgid ""
521
+ #~ "A unique key used to validate the answers from Authorize.net (it can be "
522
+ #~ "set in the \" MD5 Hash \" section). If no detail is stated, the system "
523
+ #~ "will try to use the parameter of the \"Authorize.net Credit Card\" "
524
+ #~ "payment gateway."
525
+ #~ msgstr ""
526
+ #~ "Una clave única para validar las respuestas desde Authorize.net (se puede "
527
+ #~ "establecer en la sección \"MD5 Hash\"). Si no hay detalles seleccionados, "
528
+ #~ "el sistema intentará usar el parámetro de la pasarela \"Authorize.net "
529
+ #~ "Tarjeta de crédito\"."
530
+
531
+ #~ msgid ""
532
+ #~ "Please enter Login ID and Transaction Key for Authorize.net eCheck "
533
+ #~ "gateway."
534
+ #~ msgstr ""
535
+ #~ "Por favor, introduce el ID de inicio de sesión y la clave de transacción "
536
+ #~ "para la pasarela de pago Authorize.net eCheck."
537
+
538
+ #~ msgid "Saved cards"
539
+ #~ msgstr "Tarjetas guardadas"
540
+
541
+ #~ msgid "Manage cards"
542
+ #~ msgstr "Administrar tarjetas"
543
+
544
+ #~ msgid "Card deleted successful."
545
+ #~ msgstr "Tarjeta borrada con éxito."
546
+
547
+ #~ msgid "Card updated successful."
548
+ #~ msgstr "Tarjeta actualizada satisfactoriamente."
549
+
550
+ #~ msgid "Bank Routing Number"
551
+ #~ msgstr "Número de ruta de banco"
552
+
553
+ #~ msgid "Bank Account Number"
554
+ #~ msgstr "Número de cuenta bancaria"
555
+
556
+ #~ msgid "Your credit cards"
557
+ #~ msgstr "Tus tarjetas de crédito"
558
+
559
+ #~ msgid "New card"
560
+ #~ msgstr "Nueva tarjeta"
561
+
562
+ #~ msgid "Card"
563
+ #~ msgstr "Tarjeta"
564
+
565
+ #~ msgid "Expire"
566
+ #~ msgstr "Caducidad"
567
+
568
+ #~ msgid "Account Number"
569
+ #~ msgstr "Número de cuenta"
570
+
571
+ #~ msgid "default"
572
+ #~ msgstr "por defecto"
573
+
574
+ #~ msgid "set default"
575
+ #~ msgstr "establecer predeterminado"
576
+
577
+ #~ msgid "Delete"
578
+ #~ msgstr "Borrar"
579
+
580
+ #~ msgid "No cards saved"
581
+ #~ msgstr "Ninguna tarjeta guardada"
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-nl_NL.mo ADDED
Binary file
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet-nl_NL.po ADDED
@@ -0,0 +1,572 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Authorize.net\n"
4
+ "POT-Creation-Date: 2018-02-01 13:00+0100\n"
5
+ "PO-Revision-Date: 2018-02-01 13:00+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "Language: nl_NL\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7.1\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
14
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
20
+
21
+ #: ../includes/class.yith-wcauthnet-admin.php:78
22
+ msgid "Credit Card"
23
+ msgstr "Creditcard"
24
+
25
+ #: ../includes/class.yith-wcauthnet-admin.php:79
26
+ #: ../includes/class.yith-wcauthnet-admin.php:178
27
+ msgid "Premium Version"
28
+ msgstr "Premium Versie"
29
+
30
+ #: ../includes/class.yith-wcauthnet-admin.php:120
31
+ #: ../includes/class.yith-wcauthnet-admin.php:121
32
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:88
33
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:88
34
+ msgid "Authorize.net"
35
+ msgstr "Authorize.net"
36
+
37
+ #: ../includes/class.yith-wcauthnet-admin.php:175
38
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:303
39
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:286
40
+ msgid "Settings"
41
+ msgstr "Instellingen"
42
+
43
+ #: ../includes/class.yith-wcauthnet-admin.php:201
44
+ msgid "Plugin Documentation"
45
+ msgstr "Plugin Documentatie"
46
+
47
+ #: ../includes/class.yith-wcauthnet-admin.php:223
48
+ msgid "YITH Authorize.net"
49
+ msgstr "YITH Authorize.net"
50
+
51
+ #: ../includes/class.yith-wcauthnet-admin.php:224
52
+ #, php-format
53
+ msgid ""
54
+ "In the YIT Plugins tab you can find the YITH WooCommerce Authorize.net "
55
+ "options. From this menu, you can access all the settings of the YITH plugins "
56
+ "activated. YITH Authorize.net is available in an outstanding PREMIUM version "
57
+ "with many new options, <a href=\"%s\">discover it now</a>."
58
+ msgstr ""
59
+ "In het tabblad YIT Plugins vindt u de opties YITH WooCommerce Authorize.net. "
60
+ "Vanuit dit menu kunt u toegang krijgen tot alle instellingen van de "
61
+ "geactiveerde YITH plugins. YITH Authorize.net is beschikbaar in een "
62
+ "geweldige PREMIUM versie met vele nieuwe opties, <a href=\"%s\">ontdek het "
63
+ "nu</a>."
64
+
65
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:89
66
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:89
67
+ msgid "Pay with Authorize.net"
68
+ msgstr "Betaal met Authorize.net"
69
+
70
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:96
71
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:176
72
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:96
73
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:159
74
+ msgid "Proceed to Authorize.net"
75
+ msgstr "Doorgaan naar Authorize.net"
76
+
77
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:154
78
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:137
79
+ msgid "Enable/Disable"
80
+ msgstr "Inschakelen/Uitschakelen"
81
+
82
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:156
83
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:139
84
+ msgid "Enable Authorize.net Payment"
85
+ msgstr "Authorize.net betaling inschakelen"
86
+
87
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:160
88
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:143
89
+ msgid "Title"
90
+ msgstr "Titel"
91
+
92
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:162
93
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:145
94
+ msgid ""
95
+ "This option lets you change the title that users see during the checkout."
96
+ msgstr ""
97
+ "Hiermee kunt u de titel wijzigen die gebruikers zien tijdens de check out."
98
+
99
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:163
100
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:146
101
+ msgid "Authorize.net Payment"
102
+ msgstr "Authorize.net betaling"
103
+
104
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:167
105
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:150
106
+ msgid "Description"
107
+ msgstr "Beschrijving"
108
+
109
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:169
110
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:152
111
+ msgid ""
112
+ "This option lets you change the description that users see during checkout."
113
+ msgstr ""
114
+ "Hiermee kunt u de beschrijving wijzigen die gebruikers zien tijdens de check "
115
+ "out."
116
+
117
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:170
118
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:153
119
+ msgid "Accepts Payments. Anywhere"
120
+ msgstr "Accepteer betalingen, overal"
121
+
122
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:173
123
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:156
124
+ msgid "Order Button Text"
125
+ msgstr "Order knop tekst"
126
+
127
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:175
128
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:158
129
+ msgid ""
130
+ "This option lets you change the label of the button that users see during "
131
+ "the checkout."
132
+ msgstr ""
133
+ "Hiermee kunt u het label van de knop wijzigen die gebruikers zien tijdens de "
134
+ "check out."
135
+
136
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:180
137
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:163
138
+ msgid "Acceptance logos"
139
+ msgstr "Goedkeuring logos"
140
+
141
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:182
142
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:165
143
+ msgid "Select which credit card logo to display on your checkout page"
144
+ msgstr "Selecteer welk creditcard logo u wilt weergeven in uw check out pagina"
145
+
146
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:188
147
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:171
148
+ msgid "Visa"
149
+ msgstr "Visa"
150
+
151
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:189
152
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:172
153
+ msgid "MasterCard"
154
+ msgstr "MasterCard"
155
+
156
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:190
157
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:173
158
+ msgid "American Express"
159
+ msgstr "American Express"
160
+
161
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:191
162
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:174
163
+ msgid "Discover"
164
+ msgstr "Discover"
165
+
166
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:192
167
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:175
168
+ msgid "Diner's Club"
169
+ msgstr "Diner's Club"
170
+
171
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:193
172
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:176
173
+ msgid "JCB"
174
+ msgstr "JCB"
175
+
176
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:198
177
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:181
178
+ msgid "Login ID"
179
+ msgstr "Login ID"
180
+
181
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:200
182
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:183
183
+ msgid ""
184
+ "Univocal ID login associated to the account of the admin (it can be "
185
+ "recovered in the \"API Login ID and Transaction Key\" section)"
186
+ msgstr ""
187
+ "Eenduidige ID Login gelinkt aan het account van de admin (het kan worden "
188
+ "hersteld in de \"API Login ID en Transactie Key\" sectie)"
189
+
190
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:203
191
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:186
192
+ msgid "Transaction Key"
193
+ msgstr "Transactie Key"
194
+
195
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:205
196
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:188
197
+ msgid ""
198
+ "A unique key used to validate requests to Authorize.net (it can be recovered "
199
+ "in the \"API Login ID and Transaction Key\" section)"
200
+ msgstr ""
201
+ "Er wordt een unieke Key gebruikt om Authorize.net verzoeken goed te keuren "
202
+ "(het kan worden hersteld in de \"API Login ID en Transactie Key\" sectie)"
203
+
204
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:208
205
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:191
206
+ msgid "Md5 Hash"
207
+ msgstr "Md5 Hash"
208
+
209
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:210
210
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:193
211
+ msgid ""
212
+ "A unique key used to validate the answers from Authorize.net (it can be set "
213
+ "in the \"MD5 Hash\" section). You can activate this mode and set these "
214
+ "details of your Authorize.net dashboard in Account -> Md5 Hash. The check "
215
+ "will be done only in redirect mode, as the API connection is already "
216
+ "protected with SSL."
217
+ msgstr ""
218
+ "Er wordt een unieke Key gebruikt om antwoorden van Authorize.net goed te "
219
+ "keuren (het kan worden ingesteld in de \"MD5 Hash\" sectie). U kunt deze "
220
+ "modus activeren en de details van uw Authorize.net dashboard instellen in "
221
+ "Account -> Md5 Hash. De controle wordt alleen gedaan in de doorsturen modus, "
222
+ "aangezien de API verbinding al wordt beschermd door SSL."
223
+
224
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:213
225
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:196
226
+ msgid "Enable Authorize.net sandbox"
227
+ msgstr "Authorize.net sandbox inschakelen"
228
+
229
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:215
230
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:198
231
+ msgid "Activate the sandbox mode to test the configuration"
232
+ msgstr "Activeer de sandbox modus om de configuratie te testen"
233
+
234
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:218
235
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:201
236
+ msgid "Transaction type"
237
+ msgstr "Transactie type"
238
+
239
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:220
240
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:203
241
+ msgid "Select which type of transaction you want to send"
242
+ msgstr "Selecteer welk type transactie u wilt versturen"
243
+
244
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:225
245
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:208
246
+ msgid "Authorize & Capture"
247
+ msgstr "Autoriseren & Vastleggen"
248
+
249
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:226
250
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:209
251
+ msgid "Authorize only"
252
+ msgstr "Alleen autoriseren"
253
+
254
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:231
255
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:214
256
+ msgid "Debug Log"
257
+ msgstr "Debug log"
258
+
259
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:233
260
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:216
261
+ #, php-format
262
+ msgid "Log of the Authorize.net events inside <code>%s</code>"
263
+ msgstr "Log van de Authorize.net gebeurtenissen binnen <code>%s</code>"
264
+
265
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:291
266
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:274
267
+ msgid "Please enter Login ID and Transaction Key for Authorize.net gateway."
268
+ msgstr "Vul de Login ID en Transactie Key voor Authorize.net gateway in."
269
+
270
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:308
271
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:291
272
+ msgid "Getting started"
273
+ msgstr "Begin"
274
+
275
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:309
276
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:292
277
+ msgid ""
278
+ "An Authorize.Net Payment Gateway account allows you to accept credit cards "
279
+ "and electronic checks from websites and Internet auction sites. Our "
280
+ "solutions are designed to save time and money for small- to medium-sized "
281
+ "businesses."
282
+ msgstr ""
283
+ "Een Authorize.Net betaal gateway account zorgt ervoor dat u creditcards en "
284
+ "elektronische checks kunt accepteren van website en internet veiling sites. "
285
+ "Onze oplossingen zijn ontworpen om tijd en geld te besparen voor midden- en "
286
+ "kleinbedrijf."
287
+
288
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:311
289
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:294
290
+ msgid "Sign up now"
291
+ msgstr "Schrijf je nu in"
292
+
293
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:311
294
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:294
295
+ msgid "Learn more"
296
+ msgstr "Leer meer"
297
+
298
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:365
299
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:348
300
+ msgid "Cancel Payment"
301
+ msgstr "Annuleer betaling"
302
+
303
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:434
304
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:417
305
+ msgid "N/D"
306
+ msgstr "Z/J"
307
+
308
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:445
309
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:428
310
+ msgid "Authorize.net API error: unknown error."
311
+ msgstr "Authorize.net API fout: onbekende fout."
312
+
313
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:446
314
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:429
315
+ msgid "Unknown error"
316
+ msgstr "Onbekende fout"
317
+
318
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:466
319
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:468
320
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:449
321
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:451
322
+ #, php-format
323
+ msgid "Validation error: Authorize.net amounts do not match with (%s)."
324
+ msgstr "Validatie fout: Authorize.net bedragen komen niet overeen met (%s)."
325
+
326
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:479
327
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:481
328
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:462
329
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:464
330
+ #, php-format
331
+ msgid ""
332
+ "Validation error: Authorize.net responses from a different email address "
333
+ "than (%s)."
334
+ msgstr ""
335
+ "Validatie fout; Authorize.net antwoordt vanuit een ander e-mailadres dan (%s)"
336
+
337
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:495
338
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:497
339
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:478
340
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:480
341
+ msgid "Validation error: MD5 Hash control failed."
342
+ msgstr "Validatie fout: MD5 Hash controle mislukt."
343
+
344
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:504
345
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:487
346
+ #, php-format
347
+ msgid "Authorize.net payment completed (message: %s). Transaction ID: %s"
348
+ msgstr "Authorize.net betaling compleet (bericht: %s). Transactie ID: %s"
349
+
350
+ #: ../includes/class.yith-wcauthnet-credit-card-gateway.php:520
351
+ #: ../includes/legacy/class.yith-wcauthnet-credit-card-gateway.php:503
352
+ #, php-format
353
+ msgid "Payment error: %s"
354
+ msgstr "Betaling fout: %s"
355
+
356
+ #: ../init.php:123
357
+ msgid ""
358
+ "YITH WooCommerce Authorize.net Payment Gateway is enabled but not effective. "
359
+ "It requires WooCommerce in order to work."
360
+ msgstr ""
361
+ "YITH WooCommerce Authorize.net Payment Gateway is ingeschakeld maar werkt "
362
+ "niet. Het heeft WooCommerce nodig om te werken."
363
+
364
+ #: ../plugin-options/video-box.php:23
365
+ msgid "Upgrade to the PREMIUM VERSION"
366
+ msgstr ""
367
+
368
+ #: ../plugin-options/video-box.php:26 ../plugin-options/video-box.php:33
369
+ msgid "YITH WooCommerce Authorize.net"
370
+ msgstr ""
371
+
372
+ #: ../plugin-options/video-box.php:27
373
+ msgid "Discover the Advanced Features"
374
+ msgstr ""
375
+
376
+ #: ../plugin-options/video-box.php:28
377
+ msgid ""
378
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Authorize.net to benefit "
379
+ "from all features!"
380
+ msgstr ""
381
+
382
+ #: ../plugin-options/video-box.php:35 ../plugin-options/video-box.php:39
383
+ msgid "Get Support and Pro Features"
384
+ msgstr ""
385
+
386
+ #: ../plugin-options/video-box.php:36
387
+ msgid ""
388
+ "By purchasing the premium version of the plugin, you will take advantage of "
389
+ "the advanced features of the product and you will get one year of free "
390
+ "updates and support through our platform available 24h/24."
391
+ msgstr ""
392
+
393
+ #: ../templates/admin/settings-tab.php:21
394
+ msgid "Save changes"
395
+ msgstr "Wijzigingen opslaan"
396
+
397
+ #~ msgid "eCheck"
398
+ #~ msgstr "eCheck"
399
+
400
+ #~ msgid ""
401
+ #~ "In the YIT Plugins tab you can find the YITH WooCommerce Authorize.net "
402
+ #~ "options. From this menu, you can access all the settings of the YITH "
403
+ #~ "plugins activated"
404
+ #~ msgstr ""
405
+ #~ "In het tabblad YIT Plugins vindt u de opties YITH WooCommerce Authorize."
406
+ #~ "net. Vanuit dit menu kunt u toegang krijgen tot alle instellingen van de "
407
+ #~ "geactiveerde YITH plugins"
408
+
409
+ #~ msgid "Taxes"
410
+ #~ msgstr "Belastingen"
411
+
412
+ #~ msgid "Shipping"
413
+ #~ msgstr "Verzending"
414
+
415
+ #~ msgid "Request mode"
416
+ #~ msgstr "Verzoek modus"
417
+
418
+ #~ msgid ""
419
+ #~ "Selecting \"Redirect\", users will be able to complete the payment on the "
420
+ #~ "pages of Authorize.net; on the contrary, the option \"API\" will allow "
421
+ #~ "using the potentialities of the APIs to complete the purchase without "
422
+ #~ "external redirects."
423
+ #~ msgstr ""
424
+ #~ "Selecteer \"Doorsturen\", gebruikers kunnen de betaling afronden op de "
425
+ #~ "pagina's van Authorize.net. Daarentegen, met de optie \"API\" wordt "
426
+ #~ "gebruik gemaakt van de APIs gegevens, om de betaling af te ronden zonder "
427
+ #~ "doorgestuurd te worden."
428
+
429
+ #~ msgid "Redirect"
430
+ #~ msgstr "Doorsturen"
431
+
432
+ #~ msgid "API"
433
+ #~ msgstr "API"
434
+
435
+ #~ msgid "Enable Customer Information Manager (CIM)"
436
+ #~ msgstr ""
437
+ #~ "Customer Information Manager (CIM) Klant informatie beheer inschakelen"
438
+
439
+ #~ msgid ""
440
+ #~ "It allows the system to store the payment methods of the users, in order "
441
+ #~ "to use them in the future without the need to write the details again."
442
+ #~ msgstr ""
443
+ #~ "Staat toe dat het systeem de betaalwijze van de gebruikers opslaat, zodat "
444
+ #~ "deze in de toekomst wederom gebruikt kunnen worden zonder alles opnieuw "
445
+ #~ "in te vullen."
446
+
447
+ #~ msgid "Enable itemized transaction"
448
+ #~ msgstr "Gespecificeerde transactie inschakelen"
449
+
450
+ #~ msgid ""
451
+ #~ "Enable the registration of the items in the cart during the transaction "
452
+ #~ "(up to a maximum of 30 items)"
453
+ #~ msgstr ""
454
+ #~ "Registratie van items in de winkelwagen tijdens de transactie inschakelen "
455
+ #~ "(tot een maximum van 30 items)"
456
+
457
+ #~ msgid "Authorize.net refund failed: No transaction ID"
458
+ #~ msgstr "Authorize.net restitutie mislukt: Geen transactie ID"
459
+
460
+ #~ msgid "Authorize.net refund approved"
461
+ #~ msgstr "Authorize.net restitutie goedgekeurd"
462
+
463
+ #~ msgid "Refund error: %s"
464
+ #~ msgstr "Restitutie fout: %s"
465
+
466
+ #~ msgid "Refund error: unknown error"
467
+ #~ msgstr "Restitutie fout: onbekende fout"
468
+
469
+ #~ msgid "Missing required information"
470
+ #~ msgstr "Noodzakelijke informatie ontbreekt"
471
+
472
+ #~ msgid ""
473
+ #~ "An error occurred while processing the payment; please try again later"
474
+ #~ msgstr ""
475
+ #~ "Er is een fout opgetreden bij het verwerken van de betaling; probeert u "
476
+ #~ "het later opnieuw"
477
+
478
+ #~ msgid "There was a problem adding this card."
479
+ #~ msgstr "Er was een probleem bij het toevoegen van deze kaart."
480
+
481
+ #~ msgid "Authorize.net eCheck"
482
+ #~ msgstr "Authorize.net eCheck"
483
+
484
+ #~ msgid "Enable Authorize.net eCheck Payment"
485
+ #~ msgstr "Authorize.net eCheck betaling inschakelen"
486
+
487
+ #~ msgid "eCheck on Authorize.net"
488
+ #~ msgstr "eCheck op Authorize.net"
489
+
490
+ #~ msgid ""
491
+ #~ "Univocal ID login associated to the account of the admin (it can be "
492
+ #~ "recovered in the \"API Login ID and Transaction Key\" section). If no "
493
+ #~ "detail is stated, the system will try to use the parameter of the "
494
+ #~ "\"Authorize.net Credit Card\" payment gateway."
495
+ #~ msgstr ""
496
+ #~ "Eenduidige ID Login gelinkt aan het account van de admin (het kan worden "
497
+ #~ "hersteld in de \"API Login ID en Transactie Key\" sectie) Als er geen "
498
+ #~ "details zijn vermeld, zal het systeem de parameters van \"Authorize.net "
499
+ #~ "Creditcard\" betaling gateway proberen te gebruiken."
500
+
501
+ #~ msgid ""
502
+ #~ "A unique key used to validate requests to Authorize.net (it can be "
503
+ #~ "recovered in the \"API Login ID and Transaction Key\" section). If no "
504
+ #~ "detail is stated, the system will try to use the parameter of the "
505
+ #~ "\"Authorize.net Credit Card\" payment gateway."
506
+ #~ msgstr ""
507
+ #~ "Er wordt een unieke Key gebruikt om Authorize.net verzoeken goed te "
508
+ #~ "keuren (het kan worden hersteld in de \"API Login ID en Transactie Key\" "
509
+ #~ "sectie) Als er geen details zijn vermeld, zal het systeem de parameters "
510
+ #~ "van \"Authorize.net Creditcard\" betaling gateway proberen te gebruiken."
511
+
512
+ #~ msgid ""
513
+ #~ "A unique key used to validate the answers from Authorize.net (it can be "
514
+ #~ "set in the \" MD5 Hash \" section). If no detail is stated, the system "
515
+ #~ "will try to use the parameter of the \"Authorize.net Credit Card\" "
516
+ #~ "payment gateway."
517
+ #~ msgstr ""
518
+ #~ "Er wordt een unieke Key gebruikt om antwoorden van Authorize.net goed te "
519
+ #~ "keuren (het kan worden ingesteld in de \"MD5 Hash\" sectie). Als er geen "
520
+ #~ "details zijn vermeld, zal het systeem de parameters van \"Authorize.net "
521
+ #~ "Creditcard\" betaling gateway proberen te gebruiken."
522
+
523
+ #~ msgid ""
524
+ #~ "Please enter Login ID and Transaction Key for Authorize.net eCheck "
525
+ #~ "gateway."
526
+ #~ msgstr ""
527
+ #~ "Voer de Login ID en Transactie Key in voor Authorize.net eCheck gateway."
528
+
529
+ #~ msgid "Saved cards"
530
+ #~ msgstr "Opgeslagen kaarten"
531
+
532
+ #~ msgid "Manage cards"
533
+ #~ msgstr "Beheer kaarten"
534
+
535
+ #~ msgid "Card deleted successful."
536
+ #~ msgstr "Kaart succesvol verwijderd."
537
+
538
+ #~ msgid "Card updated successful."
539
+ #~ msgstr "Card succesvol geüpdatet."
540
+
541
+ #~ msgid "Bank Routing Number"
542
+ #~ msgstr "Bank Routing Number"
543
+
544
+ #~ msgid "Bank Account Number"
545
+ #~ msgstr "Bankrekeningnummer"
546
+
547
+ #~ msgid "Your credit cards"
548
+ #~ msgstr "Uw creditcards"
549
+
550
+ #~ msgid "New card"
551
+ #~ msgstr "Nieuwe kaart"
552
+
553
+ #~ msgid "Card"
554
+ #~ msgstr "Kaart"
555
+
556
+ #~ msgid "Expire"
557
+ #~ msgstr "Verloopt"
558
+
559
+ #~ msgid "Account Number"
560
+ #~ msgstr "Bankrekeningnummer"
561
+
562
+ #~ msgid "default"
563
+ #~ msgstr "default"
564
+
565
+ #~ msgid "set default"
566
+ #~ msgstr "stel default in"
567
+
568
+ #~ msgid "Delete"
569
+ #~ msgstr "Verwijderen"
570
+
571
+ #~ msgid "No cards saved"
572
+ #~ msgstr "Geen kaarten opgeslagen"
modules/yith-woocommerce-authorizenet-payment-gateway/languages/yith-wcauthnet.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Authorize.net\n"
5
- "POT-Creation-Date: 2017-04-04 15:41+0200\n"
6
  "PO-Revision-Date: 2015-04-29 15:09+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
@@ -330,7 +330,7 @@ msgstr ""
330
  msgid "Payment error: %s"
331
  msgstr ""
332
 
333
- #: ../init.php:121
334
  msgid ""
335
  "YITH WooCommerce Authorize.net Payment Gateway is enabled but not effective. "
336
  "It requires WooCommerce in order to work."
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Authorize.net\n"
5
+ "POT-Creation-Date: 2018-02-01 13:02+0100\n"
6
  "PO-Revision-Date: 2015-04-29 15:09+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
330
  msgid "Payment error: %s"
331
  msgstr ""
332
 
333
+ #: ../init.php:123
334
  msgid ""
335
  "YITH WooCommerce Authorize.net Payment Gateway is enabled but not effective. "
336
  "It requires WooCommerce in order to work."
modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/credit_card-options.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/plugin-options/video-box.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/templates/admin/settings-tab.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/templates/authorize-net-payment-form.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/uninstall.php CHANGED
File without changes
modules/yith-woocommerce-authorizenet-payment-gateway/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/css/frontend.css CHANGED
@@ -5,6 +5,20 @@
5
  * @version 1.0.0
6
  */
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  .yith-wcbm-badge {
9
  position : absolute;
10
  box-sizing : border-box;
@@ -38,13 +52,14 @@ span.onsale {
38
  }
39
 
40
  .yith-wcbm-badge-advanced .yith-wcbm-badge-text,
41
- .yith-wcbm-on-sale-badge-advanced .yith-wcbm-badge-text-advanced{
42
- position: absolute;
43
- left: 0;
44
- top: 0;
45
- width: 100%;
46
- height: 100%;
47
- z-index: 14;
 
48
  }
49
 
50
  /* Shortcode */
@@ -68,10 +83,7 @@ span.onsale {
68
  }
69
 
70
  /* ----- Flatsome ----- */
71
- .iosSlider.product-thumbnails .yith-wcbm-badge {
72
- display : none !important;
73
- }
74
-
75
  #mini-cart-content .container-image-and-badge .yith-wcbm-badge {
76
  display : none !important;
77
  }
@@ -120,9 +132,10 @@ span.onsale {
120
  .ssatc-sticky-add-to-cart .yith-wcbm-badge {
121
  display : none !important;
122
  }
 
123
  /* ------ Request a Quote ------- */
124
  .yith-ywraq-list-widget-wrapper .yith-wcbm-badge {
125
- display: none !important;
126
  }
127
 
128
  /* ------ Basel Theme -------- */
5
  * @version 1.0.0
6
  */
7
 
8
+ .yith-wcbm-clearfix:before,
9
+ .yith-wcbm-clearfix:after {
10
+ content : "";
11
+ display : table;
12
+ }
13
+
14
+ .yith-wcbm-clearfix:after {
15
+ clear : both;
16
+ }
17
+
18
+ .yith-wcbm-clearfix {
19
+ zoom : 1; /* For IE 6/7 (trigger hasLayout) */
20
+ }
21
+
22
  .yith-wcbm-badge {
23
  position : absolute;
24
  box-sizing : border-box;
52
  }
53
 
54
  .yith-wcbm-badge-advanced .yith-wcbm-badge-text,
55
+ .yith-wcbm-badge-advanced .yith-wcbm-badge-text-advanced,
56
+ .yith-wcbm-on-sale-badge-advanced .yith-wcbm-badge-text-advanced {
57
+ position : absolute;
58
+ left : 0;
59
+ top : 0;
60
+ width : 100%;
61
+ height : 100%;
62
+ z-index : 14;
63
  }
64
 
65
  /* Shortcode */
83
  }
84
 
85
  /* ----- Flatsome ----- */
86
+ .iosSlider.product-thumbnails .yith-wcbm-badge,
 
 
 
87
  #mini-cart-content .container-image-and-badge .yith-wcbm-badge {
88
  display : none !important;
89
  }
132
  .ssatc-sticky-add-to-cart .yith-wcbm-badge {
133
  display : none !important;
134
  }
135
+
136
  /* ------ Request a Quote ------- */
137
  .yith-ywraq-list-widget-wrapper .yith-wcbm-badge {
138
+ display : none !important;
139
  }
140
 
141
  /* ------ Basel Theme -------- */
modules/yith-woocommerce-badges-management/assets/css/jquery-ui.css CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/1.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/11-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/11-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/11.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/12-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/12-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/12.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/13-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/13-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/13.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/14-bg.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/14-icon.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/14.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/2.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/3.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/4.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-badges-management/assets/js/metabox_options.js CHANGED
File without changes
modules/yith-woocommerce-badges-management/class.yith-wcbm-admin.php CHANGED
@@ -67,9 +67,9 @@ if ( !class_exists( 'YITH_WCBM_Admin' ) ) {
67
  * @access public
68
  * @since 1.0.0
69
  */
70
- public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-badge-management/';
71
- public $demo_url = 'http://plugins.yithemes.com/yith-woocommerce-badge-management';
72
- public $yith_url = 'http://www.yithemes.com';
73
  public $plugin_url = 'https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/';
74
 
75
  /**
@@ -300,6 +300,10 @@ if ( !class_exists( 'YITH_WCBM_Admin' ) ) {
300
  'options-path' => YITH_WCBM_DIR . '/plugin-options',
301
  );
302
 
 
 
 
 
303
 
304
  /* === Fixed: not updated theme === */
305
  if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
@@ -310,18 +314,26 @@ if ( !class_exists( 'YITH_WCBM_Admin' ) ) {
310
  }
311
 
312
  public function admin_enqueue_scripts() {
313
- wp_enqueue_style( 'yith_wcbm_admin_style', YITH_WCBM_ASSETS_URL . '/css/admin.css', array(), YITH_WCBM_VERSION );
314
- wp_enqueue_style( 'wp-color-picker' );
315
- wp_enqueue_style( 'jquery-ui-style-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css' );
316
- wp_enqueue_style( 'googleFontsOpenSans', '//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300' );
 
 
 
 
 
 
 
 
 
 
317
 
318
- wp_enqueue_script( 'wp-color-picker' );
319
- wp_enqueue_script( 'jquery-ui-tabs' );
320
 
321
- $screen = get_current_screen();
322
- $metabox_js = defined( 'YITH_WCBM_PREMIUM' ) ? 'metabox_options_premium.js' : 'metabox_options.js';
323
 
324
- if ( 'yith-wcbm-badge' == $screen->id ) {
325
  wp_enqueue_script( 'yith_wcbm_metabox_options', YITH_WCBM_ASSETS_URL . '/js/' . $metabox_js, array( 'jquery', 'wp-color-picker' ), YITH_WCBM_VERSION, true );
326
  wp_localize_script( 'yith_wcbm_metabox_options', 'ajax_object', array( 'assets_url' => YITH_WCBM_ASSETS_URL, 'wp_ajax_url' => admin_url( 'admin-ajax.php' ) ) );
327
 
67
  * @access public
68
  * @since 1.0.0
69
  */
70
+ public $doc_url = 'https://docs.yithemes.com/yith-woocommerce-badge-management/';
71
+ public $demo_url = 'https://plugins.yithemes.com/yith-woocommerce-badge-management';
72
+ public $yith_url = 'https://www.yithemes.com';
73
  public $plugin_url = 'https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/';
74
 
75
  /**
300
  'options-path' => YITH_WCBM_DIR . '/plugin-options',
301
  );
302
 
303
+ $enable_shop_manager = get_option( 'yith-wcbm-enable-shop-manager', 'no' ) === 'yes';
304
+ if ( $enable_shop_manager ) {
305
+ $args[ 'capability' ] = 'manage_woocommerce';
306
+ }
307
 
308
  /* === Fixed: not updated theme === */
309
  if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
314
  }
315
 
316
  public function admin_enqueue_scripts() {
317
+ $screen = get_current_screen();
318
+
319
+ if ( in_array( $screen->id, array( 'yith-wcbm-badge', 'edit-yith-wcbm-badge', 'product' ) ) ) {
320
+ wp_enqueue_style( 'yith_wcbm_admin_style', YITH_WCBM_ASSETS_URL . '/css/admin.css', array(), YITH_WCBM_VERSION );
321
+ }
322
+
323
+ if ( in_array( $screen->id, array( 'yith-wcbm-badge', 'edit-yith-wcbm-badge' ) ) ) {
324
+ wp_enqueue_style( 'googleFontsOpenSans', '//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300' );
325
+
326
+ }
327
+
328
+ if ( in_array( $screen->id, array( 'yith-wcbm-badge' ) ) ) {
329
+ wp_enqueue_style( 'wp-color-picker' );
330
+ wp_enqueue_style( 'jquery-ui-style-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css' );
331
 
332
+ wp_enqueue_script( 'wp-color-picker' );
333
+ wp_enqueue_script( 'jquery-ui-tabs' );
334
 
335
+ $metabox_js = defined( 'YITH_WCBM_PREMIUM' ) ? 'metabox_options_premium.js' : 'metabox_options.js';
 
336
 
 
337
  wp_enqueue_script( 'yith_wcbm_metabox_options', YITH_WCBM_ASSETS_URL . '/js/' . $metabox_js, array( 'jquery', 'wp-color-picker' ), YITH_WCBM_VERSION, true );
338
  wp_localize_script( 'yith_wcbm_metabox_options', 'ajax_object', array( 'assets_url' => YITH_WCBM_ASSETS_URL, 'wp_ajax_url' => admin_url( 'admin-ajax.php' ) ) );
339
 
modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php CHANGED
@@ -38,6 +38,12 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
38
  */
39
  private $is_in_minicart = false;
40
 
 
 
 
 
 
 
41
  /**
42
  * Returns single instance of the class
43
  *
@@ -57,14 +63,16 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
57
  * @since 1.0.0
58
  */
59
  public function __construct() {
60
- // Action to add custom badge in single product page
61
- add_filter( 'woocommerce_single_product_image_html', array( $this, 'show_badge_on_product' ), 99, 2 );
62
- add_filter( 'woocommerce_single_product_image_thumbnail_html', array( $this, 'show_badge_on_product_thumbnail' ), 99, 2 );
 
 
63
 
64
- // POST Thumbnail [to add custom badge in shop page]
65
- add_filter( 'post_thumbnail_html', array( $this, 'show_badge_on_product' ), 999, 2 );
66
  add_filter( 'yith_wcbm_product_thumbnail_container', array( $this, 'show_badge_on_product' ), 999, 2 );
67
 
 
 
68
  // edit sale flash badge
69
  add_filter( 'woocommerce_sale_flash', array( $this, 'sale_flash' ), 10, 2 );
70
 
@@ -87,6 +95,28 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
87
  add_action( 'yith_wcbm_theme_badge_container_end', array( $this, 'theme_badge_container_end' ) );
88
  }
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  /**
91
  * THEME SUPPORT
92
  * start the container and start an OB
@@ -95,9 +125,7 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
95
  if ( !apply_filters( 'yith_wcbm_theme_badge_container_start_check', true ) )
96
  return;
97
 
98
- remove_filter( 'post_thumbnail_html', array( $this, 'show_badge_on_product' ), 999 );
99
- remove_filter( 'woocommerce_single_product_image_html', array( $this, 'show_badge_on_product' ), 10 );
100
-
101
  $this->badge_container_start();
102
  }
103
 
@@ -110,9 +138,7 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
110
  return;
111
 
112
  $this->badge_container_end();
113
-
114
- add_filter( 'post_thumbnail_html', array( $this, 'show_badge_on_product' ), 999, 2 );
115
- add_filter( 'woocommerce_single_product_image_html', array( $this, 'show_badge_on_product' ), 10, 2 );
116
  }
117
 
118
  /**
@@ -227,9 +253,12 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
227
  $hide_in_sidebar = get_option( 'yith-wcbm-hide-in-sidebar', 'yes' ) == 'yes';
228
  $show_in_sidebar = !$hide_in_sidebar;
229
 
 
 
 
230
  $allowed = ( !$this->is_in_sidebar() || $show_in_sidebar );
231
  $allowed = $allowed && !$this->is_in_minicart;
232
- $allowed = $allowed && ( !is_cart() || ( apply_filters( 'yith_wcbm_allow_badges_in_cart_page', false ) ) );
233
  $allowed = $allowed && ( !is_checkout() || ( apply_filters( 'yith_wcbm_allow_badges_in_checkout_page', false ) ) );
234
  $allowed = $allowed && !$this->is_in_email();
235
  $allowed = $allowed && !is_feed();
@@ -323,7 +352,9 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
323
  $bm_meta = yit_get_prop( $product, '_yith_wcbm_product_meta', true );
324
  $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
325
 
326
- $badge_container = "<div class='container-image-and-badge'>" . $val;
 
 
327
  $badge_content = '';
328
 
329
  if ( !defined( 'YITH_WCBM_PREMIUM' ) ) {
@@ -345,8 +376,32 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
345
  global $product;
346
  if ( !did_action( 'woocommerce_product_thumbnails' ) && $product ) {
347
  $product_id = yit_get_base_product_id( $product );
348
- if ( $product_id )
349
- $val = $this->show_badge_on_product( $val, $product_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  }
351
 
352
  return $val;
@@ -438,11 +493,26 @@ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
438
  return ob_get_clean();
439
  }
440
 
441
- public function get_wpml_parent_id( $id ) {
442
- /** @var WPML_Post_Translation $wpml_post_translations */
443
- global $wpml_post_translations;
444
- if ( $wpml_post_translations && $parent_id = $wpml_post_translations->get_original_element( $id ) )
445
- $id = $parent_id;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446
 
447
  return $id;
448
  }
38
  */
39
  private $is_in_minicart = false;
40
 
41
+ /**
42
+ * @since 1.3.7
43
+ * @var array
44
+ */
45
+ public $badge_filters = array();
46
+
47
  /**
48
  * Returns single instance of the class
49
  *
63
  * @since 1.0.0
64
  */
65
  public function __construct() {
66
+ $this->badge_filters = array(
67
+ array( 'woocommerce_single_product_image_html', array( $this, 'show_badge_on_product' ), 99, 2 ),
68
+ array( 'woocommerce_single_product_image_thumbnail_html', array( $this, 'show_badge_on_product_thumbnail' ), 99, 2 ),
69
+ array( 'post_thumbnail_html', array( $this, 'show_badge_on_product' ), 999, 2 ),
70
+ );
71
 
 
 
72
  add_filter( 'yith_wcbm_product_thumbnail_container', array( $this, 'show_badge_on_product' ), 999, 2 );
73
 
74
+ $this->add_badge_filters();
75
+
76
  // edit sale flash badge
77
  add_filter( 'woocommerce_sale_flash', array( $this, 'sale_flash' ), 10, 2 );
78
 
95
  add_action( 'yith_wcbm_theme_badge_container_end', array( $this, 'theme_badge_container_end' ) );
96
  }
97
 
98
+ /**
99
+ * Add Badge Filters
100
+ *
101
+ * @since 1.3.7
102
+ */
103
+ public function add_badge_filters() {
104
+ foreach ( $this->badge_filters as $badge_filter ) {
105
+ add_filter( $badge_filter[ 0 ], $badge_filter[ 1 ], $badge_filter[ 2 ], $badge_filter[ 3 ] );
106
+ }
107
+ }
108
+
109
+ /**
110
+ * Remove Badge Filters
111
+ *
112
+ * @since 1.3.7
113
+ */
114
+ public function remove_badge_filters() {
115
+ foreach ( $this->badge_filters as $badge_filter ) {
116
+ remove_filter( $badge_filter[ 0 ], $badge_filter[ 1 ], $badge_filter[ 2 ] );
117
+ }
118
+ }
119
+
120
  /**
121
  * THEME SUPPORT
122
  * start the container and start an OB
125
  if ( !apply_filters( 'yith_wcbm_theme_badge_container_start_check', true ) )
126
  return;
127
 
128
+ $this->remove_badge_filters();
 
 
129
  $this->badge_container_start();
130
  }
131
 
138
  return;
139
 
140
  $this->badge_container_end();
141
+ $this->add_badge_filters();
 
 
142
  }
143
 
144
  /**
253
  $hide_in_sidebar = get_option( 'yith-wcbm-hide-in-sidebar', 'yes' ) == 'yes';
254
  $show_in_sidebar = !$hide_in_sidebar;
255
 
256
+ // not use is_cart() function to prevent issues with mini-cart
257
+ $is_cart = is_page( wc_get_page_id( 'cart' ) ) || wc_post_content_has_shortcode( 'woocommerce_cart' );
258
+
259
  $allowed = ( !$this->is_in_sidebar() || $show_in_sidebar );
260
  $allowed = $allowed && !$this->is_in_minicart;
261
+ $allowed = $allowed && ( !$is_cart || ( apply_filters( 'yith_wcbm_allow_badges_in_cart_page', false ) ) );
262
  $allowed = $allowed && ( !is_checkout() || ( apply_filters( 'yith_wcbm_allow_badges_in_checkout_page', false ) ) );
263
  $allowed = $allowed && !$this->is_in_email();
264
  $allowed = $allowed && !is_feed();
352
  $bm_meta = yit_get_prop( $product, '_yith_wcbm_product_meta', true );
353
  $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
354
 
355
+ $clearfix_class = apply_filters( 'yith_wcbm_clearfix_class', '' ); // through this filter you can set yith-wcbm-clearfix
356
+ $extra_classes = apply_filters( 'yith_wcbm_container_image_and_badge_extra_classes', '' );
357
+ $badge_container = "<div class='container-image-and-badge $clearfix_class $extra_classes'>" . $val;
358
  $badge_content = '';
359
 
360
  if ( !defined( 'YITH_WCBM_PREMIUM' ) ) {
376
  global $product;
377
  if ( !did_action( 'woocommerce_product_thumbnails' ) && $product ) {
378
  $product_id = yit_get_base_product_id( $product );
379
+ if ( $product_id ) {
380
+ $print_badges_directly = false;
381
+ $div_close = '</div>';
382
+ if ( version_compare( WC()->version, '3.0', '>=' ) && get_theme_support( 'wc-product-gallery-slider' ) ) {
383
+ $_val = $val;
384
+ $_val = rtrim( $_val );
385
+ if ( strrpos( $_val, $div_close ) === strlen( $_val ) - strlen( $div_close ) ) {
386
+ $print_badges_directly = true;
387
+ $val = $_val;
388
+ }
389
+ }
390
+
391
+ if ( $print_badges_directly ) {
392
+ $bm_meta = yit_get_prop( $product, '_yith_wcbm_product_meta', true );
393
+ $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
394
+ $val = substr( $val, 0, -strlen( $div_close ) );
395
+ if ( !defined( 'YITH_WCBM_PREMIUM' ) ) {
396
+ $val .= yith_wcbm_get_badge( $id_badge, $product_id );
397
+ } else {
398
+ $val .= yith_wcbm_get_badges_premium( $id_badge, $product_id );
399
+ }
400
+ $val .= $div_close;
401
+ } else {
402
+ $val = $this->show_badge_on_product( $val, $product_id );
403
+ }
404
+ }
405
  }
406
 
407
  return $val;
493
  return ob_get_clean();
494
  }
495
 
496
+ public function get_wpml_parent_id( $id, $post_type = 'product' ) {
497
+ if ( !yith_wcmb_is_wpml_parent_based_on_default_language() ) {
498
+ /** @var WPML_Post_Translation $wpml_post_translations */
499
+ global $wpml_post_translations;
500
+ if ( $wpml_post_translations && $parent_id = $wpml_post_translations->get_original_element( $id ) )
501
+ $id = $parent_id;
502
+ } else {
503
+ // get the id in the default language
504
+ global $sitepress;
505
+ if ( isset( $sitepress ) ) {
506
+ $default_language = $sitepress->get_default_language();
507
+ if ( function_exists( 'icl_object_id' ) ) {
508
+ $id = icl_object_id( $id, $post_type, true, $default_language );
509
+ } else {
510
+ if ( function_exists( 'wpml_object_id_filter' ) ) {
511
+ $id = wpml_object_id_filter( $id, $post_type, true, $default_language );
512
+ }
513
+ }
514
+ }
515
+ }
516
 
517
  return $id;
518
  }
modules/yith-woocommerce-badges-management/class.yith-wcbm-post-types.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/class.yith-wcbm.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/functions.yith-wcbm.php CHANGED
@@ -290,4 +290,10 @@ if ( !function_exists( 'yith_wcbm_get_badges' ) ) {
290
 
291
  return get_posts( $args );
292
  }
 
 
 
 
 
 
293
  }
290
 
291
  return get_posts( $args );
292
  }
293
+ }
294
+
295
+ if ( !function_exists( 'yith_wcmb_is_wpml_parent_based_on_default_language' ) ) {
296
+ function yith_wcmb_is_wpml_parent_based_on_default_language() {
297
+ return apply_filters( 'yith_wcmb_is_wpml_parent_based_on_default_language', false );
298
+ }
299
  }
modules/yith-woocommerce-badges-management/init.php CHANGED
@@ -3,17 +3,17 @@
3
  * Plugin Name: YITH WooCommerce Badge Management
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/
5
  * Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
6
- * Version: 1.3.6
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-badges-management
10
  * Domain Path: /languages/
11
- * WC requires at least: 2.6.0
12
- * WC tested up to: 3.2.0
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Badge Management
16
- * @version 1.3.6
17
  */
18
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
@@ -63,7 +63,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
63
 
64
 
65
  if ( ! defined( 'YITH_WCBM_VERSION' ) ){
66
- define( 'YITH_WCBM_VERSION', '1.3.6' );
67
  }
68
 
69
  if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Badge Management
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/
5
  * Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
6
+ * Version: 1.3.9
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-badges-management
10
  * Domain Path: /languages/
11
+ * WC requires at least: 3.0.0
12
+ * WC tested up to: 3.3.x
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Badge Management
16
+ * @version 1.3.9
17
  */
18
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
63
 
64
 
65
  if ( ! defined( 'YITH_WCBM_VERSION' ) ){
66
+ define( 'YITH_WCBM_VERSION', '1.3.9' );
67
  }
68
 
69
  if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
modules/yith-woocommerce-badges-management/languages/yith-badge-management-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-badges-management/languages/yith-badges-management-it_IT.pot CHANGED
File without changes
modules/yith-woocommerce-badges-management/languages/yith-woocommerce-badges-management.pot CHANGED
File without changes
modules/yith-woocommerce-badges-management/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/plugin-options/settings-options.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/templates/badge_content.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/templates/badge_styles.php CHANGED
File without changes
modules/yith-woocommerce-badges-management/templates/premium.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/3.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-cart-messages/assets/images/yith-woocommerce-cart-messages.jpg CHANGED
File without changes
modules/yith-woocommerce-cart-messages/class.yith-woocommerce-cart-message.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/class.yith-woocommerce-cart-messages.php CHANGED
@@ -79,7 +79,7 @@ if ( !class_exists( 'YWCM_Cart_Messages' ) ) {
79
  add_action( 'admin_init', array( $this, 'register_pointer' ) );
80
  }
81
 
82
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
83
  }
84
 
85
 
@@ -133,6 +133,12 @@ if ( !class_exists( 'YWCM_Cart_Messages' ) ) {
133
  wp_enqueue_script( 'jquery-ui-slider' );
134
  wp_enqueue_script( 'ywcm_timepicker', YITH_YWCM_ASSETS_URL . '/js/jquery-ui-timepicker-addon.min.js', array( 'jquery' ), YITH_YWCM_VERSION, true );
135
  wp_enqueue_script( 'yith_ywcm_admin', YITH_YWCM_ASSETS_URL . '/js/ywcm-admin' . YITH_YWCM_SUFFIX . '.js', array( 'ywcm_timepicker' ), YITH_YWCM_VERSION, true );
 
 
 
 
 
 
136
  }
137
  /**
138
  * Load YIT Plugin Framework
79
  add_action( 'admin_init', array( $this, 'register_pointer' ) );
80
  }
81
 
82
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ), 20 );
83
  }
84
 
85
 
133
  wp_enqueue_script( 'jquery-ui-slider' );
134
  wp_enqueue_script( 'ywcm_timepicker', YITH_YWCM_ASSETS_URL . '/js/jquery-ui-timepicker-addon.min.js', array( 'jquery' ), YITH_YWCM_VERSION, true );
135
  wp_enqueue_script( 'yith_ywcm_admin', YITH_YWCM_ASSETS_URL . '/js/ywcm-admin' . YITH_YWCM_SUFFIX . '.js', array( 'ywcm_timepicker' ), YITH_YWCM_VERSION, true );
136
+
137
+ if( !wp_script_is('selectWoo' ) ){
138
+ wp_enqueue_script( 'selectWoo' );
139
+ wp_enqueue_script( 'wc-enhanced-select' );
140
+ }
141
+
142
  }
143
  /**
144
  * Load YIT Plugin Framework
modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-cart-messages/languages/yith-woocommerce-cart-messages.pot CHANGED
File without changes
modules/yith-woocommerce-cart-messages/plugin-options/metabox/ywcm_metabox.php CHANGED
@@ -97,7 +97,8 @@ return array(
97
  'ywcm_message_category_cart_categories' => array(
98
  'label' => __( 'Select categories', 'yith-woocommerce-cart-messages' ),
99
  'desc' => '',
100
- 'type' => 'chosen',
 
101
  'multiple' => true,
102
  'options' => ywcm_get_shop_categories(false),
103
  'std' => array(),
97
  'ywcm_message_category_cart_categories' => array(
98
  'label' => __( 'Select categories', 'yith-woocommerce-cart-messages' ),
99
  'desc' => '',
100
+ 'type' => 'select',
101
+ 'class' => 'wc-enhanced-select',
102
  'multiple' => true,
103
  'options' => ywcm_get_shop_categories(false),
104
  'std' => array(),
modules/yith-woocommerce-cart-messages/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/plugin-options/settings-options.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/templates/layouts/layout.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-cart-messages/yith-cart-messages-functions.php CHANGED
File without changes
modules/yith-woocommerce-cart-messages/yith-cart-messages.php CHANGED
@@ -5,8 +5,10 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-cart-messages
5
  Description: WooCommerce plugin for add custom messages to your customers
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-cart-messages
8
- Version: 1.2.2
9
  Author URI: http://yithemes.com/
 
 
10
  */
11
 
12
 
@@ -49,7 +51,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
49
  if ( defined( 'YITH_YWCM_VERSION' ) ) {
50
  return;
51
  }else{
52
- define( 'YITH_YWCM_VERSION', '1.2.2' );
53
  }
54
 
55
  if ( ! defined( 'YITH_YWCM_SUFFIX' ) ) {
5
  Description: WooCommerce plugin for add custom messages to your customers
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-cart-messages
8
+ Version: 1.3.1
9
  Author URI: http://yithemes.com/
10
+ WC requires at least: 3.0.0
11
+ WC tested up to: 3.3.0
12
  */
13
 
14
 
51
  if ( defined( 'YITH_YWCM_VERSION' ) ) {
52
  return;
53
  }else{
54
+ define( 'YITH_YWCM_VERSION', '1.3.1' );
55
  }
56
 
57
  if ( ! defined( 'YITH_YWCM_SUFFIX' ) ) {
modules/yith-woocommerce-catalog-mode/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/assets/images/yith-woocommerce-catalog-mode.jpg CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/class.yith-woocommerce-catalog-mode.php CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/init.php CHANGED
@@ -5,10 +5,10 @@
5
  * Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
  * Author: YITHEMES
7
  * Text Domain: yith-woocommerce-catalog-mode
8
- * Version: 1.5.7
9
  * Author URI: http://yithemes.com/
10
- * WC requires at least: 2.6.0
11
- * WC tested up to: 3.1.2
12
  */
13
 
14
  if ( ! defined( 'ABSPATH' ) ) {
@@ -36,7 +36,7 @@ function ywctm_install_free_admin_notice() {
36
  }
37
 
38
  if ( ! defined( 'YWCTM_VERSION' ) ) {
39
- define( 'YWCTM_VERSION', '1.5.7' );
40
  }
41
 
42
  if ( ! defined( 'YWCTM_FREE_INIT' ) ) {
5
  * Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
  * Author: YITHEMES
7
  * Text Domain: yith-woocommerce-catalog-mode
8
+ * Version: 1.5.9
9
  * Author URI: http://yithemes.com/
10
+ * WC requires at least: 3.0.0
11
+ * WC tested up to: 3.3.0 RC2
12
  */
13
 
14
  if ( ! defined( 'ABSPATH' ) ) {
36
  }
37
 
38
  if ( ! defined( 'YWCTM_VERSION' ) ) {
39
+ define( 'YWCTM_VERSION', '1.5.9' );
40
  }
41
 
42
  if ( ! defined( 'YWCTM_FREE_INIT' ) ) {
modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.mo CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.po CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode.pot CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/plugin-options/premium-landing-options.php CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/plugin-options/settings-options.php CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-catalog-mode/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/css/frontend.css CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/js/admin.js CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/js/frontend.js CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/assets/js/frontend.min.js CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/changelog.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ = 1.3.0 = Released on Oct 10, 2017
2
+ * New: Support to WooCommerce 3.2 RC2.
3
+ * Update: Plugin Core
4
+ * Update: Changed text domain from ywcl to yith-woocommerce-color-label-variations.
5
+
6
+ = 1.2.6 = Released on Mar 09, 2017
7
+ * New: Support to WooCommerce 2.7.0 RC1
8
+ * Update: Plugin Core
9
+ * Fix: Removed double woocommerce_before_add_to_cart_form action
10
+ * Fix: Fix upload image button on edit term missing.
11
+
12
+ = 1.2.5 = Released on Oct 12, 2016
13
+ * New: Support to WooCommerce 2.6.4
14
+ * Update: Template variable-wccl
15
+ * Update: Language Files
16
+ * Update: Plugin Core
17
+
18
+ = 1.2.4 = Released on Jun 13, 2016
19
+ * New: Support to WooCommerce 2.6 RC1
20
+ * Update: Plugin Core
21
+
22
+ = 1.2.3 = Released on Jan 08, 2016
23
+ * New: Ready to WooCommerce 2.5
24
+ * Update: Template file variable-wccl.php
25
+ * Update: Plugin Core
26
+
27
+ = 1.2.2 = Released on Nov 02, 2015
28
+ * Update: Plugin Core
29
+
30
+ = 1.2.1 = Released on Sep 10, 2015
31
+ * Fix: Issue with default variation attributes
32
+
33
+ = 1.2.0 = Released on Sep 01, 2015
34
+ * Fix: Error with WooCommerce 2.3.x
35
+
36
+ = 1.1.9 = Released on Aug 21, 2015
37
+ * New: ITA Language
38
+ * Fix: Error with attributes created directly from edit product page
39
+
40
+ = 1.1.8 = Released on Aug 20, 2015
41
+ Fix: Missing attributes when adding to cart variation
42
+
43
+ = 1.1.7 = Released on Aug 19, 2015
44
+ * New: Support Wordpress 4.3
45
+ * Fix: WooCommerce variation issue
46
+
47
+ = 1.1.6 = Released on Aug 12, 2015
48
+ * New: Support to WooCommerce 2.4
49
+ * Update: Templare variable-wccl to 2.4 wc version
50
+ * Update: Plugin Core Framework
51
+
52
+ = 1.1.5 = Released on Jun 09, 2015
53
+ * New: Support to wordpress 4.2
54
+ * Update Plugin Core Framework
55
+
56
+ = 1.1.4 = Released on Apr 23, 2015
57
+ * New: Support to WooCommerce 2.3.8
58
+ * Update: Plugin Core Framework
59
+ * Fix: add_query_arg() and remove_query_arg() usage
60
+
61
+ = 1.1.3 = Released on Feb 24, 2015
62
+ * New: Support to WooCommerce 2.3.x
63
+ * Fix: Issue with variations when the attributes are inserted inside the edit product page
64
+
65
+ = 1.1.2 = Released on Sep 16, 2014
66
+ * New: Support to WooCommerce 2.2.2
67
+ * Update: Plugin Core Framework
68
+ * Fix: name parameter not defined
69
+
70
+ = 1.1.1 = Released on Sep 03, 2014
71
+ * Update: Plugin core framework
72
+
73
+ = 1.1.1 = Released on Jun 17, 2014
74
+ * New: Support to WooCommerce 2.1.x
75
+ * Fix: Various bugs
76
+
77
+ = 1.0.0 =
78
+ Initial Release
modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-admin.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-frontend.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/class.yith-wccl.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/functions.yith-wccl.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/init.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/languages/ yith-woocommerce-color-label-variations.pot ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: YITH WooCommerce Color and Label Variations\n"
5
+ "POT-Creation-Date: 2017-10-10 14:49+0200\n"
6
+ "PO-Revision-Date: 2015-06-25 17:07+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: YIThemes <plugins@yithemes.com>\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.7.1\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
16
+ "X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: ..\n"
20
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
+
22
+ #: ../class.yith-wccl-admin.php:226
23
+ msgid "Value"
24
+ msgstr ""
25
+
26
+ #: ../class.yith-wccl-admin.php:287
27
+ msgid "Videotutorial"
28
+ msgstr ""
29
+
30
+ #: ../class.yith-wccl-admin.php:313
31
+ msgid "Select terms"
32
+ msgstr ""
33
+
34
+ #: ../class.yith-wccl-admin.php:323
35
+ msgid "Select all"
36
+ msgstr ""
37
+
38
+ #: ../class.yith-wccl-admin.php:324
39
+ msgid "Select none"
40
+ msgstr ""
41
+
42
+ #: ../class.yith-wccl-admin.php:325
43
+ msgid "Add new"
44
+ msgstr ""
45
+
46
+ #: ../class.yith-wccl-admin.php:385
47
+ msgid "Premium Version"
48
+ msgstr ""
49
+
50
+ #: ../class.yith-wccl-admin.php:391
51
+ msgctxt "plugin name in admin page title"
52
+ msgid "Color and Label Variations"
53
+ msgstr ""
54
+
55
+ #: ../class.yith-wccl-admin.php:392
56
+ msgctxt "plugin name in admin WP menu"
57
+ msgid "Color and Label Variations"
58
+ msgstr ""
59
+
60
+ #: ../class.yith-wccl-frontend.php:180
61
+ msgid "Add to cart"
62
+ msgstr ""
63
+
64
+ #: ../functions.yith-wccl.php:76
65
+ msgid "Colorpicker"
66
+ msgstr ""
67
+
68
+ #: ../functions.yith-wccl.php:77
69
+ msgid "Image"
70
+ msgstr ""
71
+
72
+ #: ../functions.yith-wccl.php:78
73
+ msgid "Label"
74
+ msgstr ""
75
+
76
+ #: ../init.php:42
77
+ msgid ""
78
+ "You can't activate the free version of YITH WooCommerce Colors and Labels "
79
+ "Variations while you are using the premium one."
80
+ msgstr ""
81
+
82
+ #: ../templates/admin/premium.php:246 ../templates/admin/premium.php:359
83
+ #, php-format
84
+ msgid ""
85
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Color and "
86
+ "Label Variations%2$s to benefit from all features!"
87
+ msgstr ""
88
+
89
+ #: ../templates/admin/premium.php:249 ../templates/admin/premium.php:362
90
+ msgid "UPGRADE"
91
+ msgstr ""
92
+
93
+ #: ../templates/admin/premium.php:250 ../templates/admin/premium.php:363
94
+ msgid "to the premium version"
95
+ msgstr ""
96
+
97
+ #: ../templates/admin/premium.php:256
98
+ msgid "Premium Features"
99
+ msgstr ""
100
+
101
+ #: ../templates/admin/premium.php:259 ../templates/admin/premium.php:264
102
+ msgid "Dual color attribute"
103
+ msgstr ""
104
+
105
+ #: ../templates/admin/premium.php:267
106
+ #, php-format
107
+ msgid ""
108
+ "How many times did you have to deal with the handling of a %1$stwo-colored"
109
+ "%2$s t-shirt and the decision of how to set its color or with the use of "
110
+ "a label because the color didn’t satisfy your needs? %3$s Now things have "
111
+ "changed! You could select up to two colors for each attribute and create "
112
+ "the right matches for the products of your shop."
113
+ msgstr ""
114
+
115
+ #: ../templates/admin/premium.php:270
116
+ #, php-format
117
+ msgid ""
118
+ "You could select up to two colors for each attribute and %1$screate the "
119
+ "right matches%2$s for the products of your shop."
120
+ msgstr ""
121
+
122
+ #: ../templates/admin/premium.php:280 ../templates/admin/premium.php:287
123
+ msgid "Tooltip"
124
+ msgstr ""
125
+
126
+ #: ../templates/admin/premium.php:283
127
+ #, php-format
128
+ msgid ""
129
+ "Tooltips are often used on the web: they are an %1$selegant way to give a "
130
+ "preview about the content%2$s and they offer a useful information to the "
131
+ "users. Take advantage of the plugin power to add tooltips to your product "
132
+ "attributes."
133
+ msgstr ""
134
+
135
+ #: ../templates/admin/premium.php:294 ../templates/admin/premium.php:299
136
+ msgid "Attribute description"
137
+ msgstr ""
138
+
139
+ #: ../templates/admin/premium.php:302
140
+ #, php-format
141
+ msgid ""
142
+ "Show the attribute description in product page and %1$sgive users as many "
143
+ "information as possible%2$s in order to clear their doubts."
144
+ msgstr ""
145
+
146
+ #: ../templates/admin/premium.php:312
147
+ msgid "A richer shop page…"
148
+ msgstr ""
149
+
150
+ #: ../templates/admin/premium.php:315
151
+ #, php-format
152
+ msgid ""
153
+ "All the %1$svariations%2$s configured on products will be shown in \"Shop"
154
+ "\" page too: users will have a complete overview about your e-commerce. "
155
+ msgstr ""
156
+
157
+ #: ../templates/admin/premium.php:319
158
+ msgid "Shop page"
159
+ msgstr ""
160
+
161
+ #: ../templates/admin/premium.php:326 ../templates/admin/premium.php:331
162
+ msgid "Mouse-over"
163
+ msgstr ""
164
+
165
+ #: ../templates/admin/premium.php:334
166
+ #, php-format
167
+ msgid ""
168
+ "Now your wishes come true: by %1$schoosing the variation and hovering "
169
+ "your mouse over it%2$s, the product image will dynamically turn into the "
170
+ "variation image. %3$sA dedicated option will allow enabling or disabling "
171
+ "this feature."
172
+ msgstr ""
173
+
174
+ #: ../templates/admin/premium.php:344 ../templates/admin/premium.php:351
175
+ msgid "Additional Information"
176
+ msgstr ""
177
+
178
+ #: ../templates/admin/premium.php:347
179
+ #, php-format
180
+ msgid ""
181
+ "Enhance the WooCommerce \"Additional Information\" tab in product page by "
182
+ "showing the complete %1$slist of the attributes%2$s associated with the "
183
+ "product."
184
+ msgstr ""
185
+
186
+ #: ../templates/single-product/add-to-cart/variable-wccl.php:39
187
+ msgid "This product is currently out of stock and unavailable."
188
+ msgstr ""
189
+
190
+ #: ../templates/single-product/add-to-cart/variable-wccl.php:57
191
+ msgid "Choose an option"
192
+ msgstr ""
193
+
194
+ #: ../templates/single-product/add-to-cart/variable-wccl.php:103
195
+ msgid "Clear selection"
196
+ msgstr ""
modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/languages/yith-woocommerce-color-label-variations.pot CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-colors-labels-variations/templates/single-product/add-to-cart/variable-wccl.php CHANGED
File without changes
modules/yith-woocommerce-compare/assets/css/admin.css CHANGED
File without changes
modules/yith-woocommerce-compare/assets/css/colorbox.css CHANGED
File without changes
modules/yith-woocommerce-compare/assets/css/jquery.dataTables.css CHANGED
File without changes
modules/yith-woocommerce-compare/assets/css/style.css CHANGED
File without changes
modules/yith-woocommerce-compare/assets/css/widget.css CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/11-bg.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/11-icon.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/11.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/bg-pattern.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/box-bottom.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/colorbox/border.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/colorbox/controls.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/colorbox/loading.gif CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/colorbox/loading_background.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/loader.gif CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/logo.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/mascotte.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/behance.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/dribble.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/email.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/facebook.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/flickr.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/gplus.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/instagram.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/linkedin.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/pinterest.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/rss.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/skype.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/tumblr.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/twitter.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/socials/youtube.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/FixedColumns.min.js CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/jquery.colorbox-min.js CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/jquery.dataTables.min.js CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/woocompare-admin.js CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/woocompare.js CHANGED
File without changes
modules/yith-woocommerce-compare/assets/js/woocompare.min.js CHANGED
File without changes
modules/yith-woocommerce-compare/includes/class.yith-woocompare-admin.php CHANGED
File without changes
modules/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php CHANGED
@@ -369,6 +369,11 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
369
  }
370
  $product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $availability['availability'] ) );
371
  break;
 
 
 
 
 
372
  case 'weight':
373
  if( $weight = $product->get_weight() ){
374
  $weight = wc_format_localized_decimal( $weight ) . ' ' . esc_attr( get_option( 'woocommerce_weight_unit' ) );
@@ -755,6 +760,11 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
755
  }
756
  }
757
 
 
 
 
 
 
758
  // if product ID is 0, maybe the product doesn't exists or is wrong.. in this case, doesn't show the button
759
  if ( empty( $product_id ) )
760
  return '';
369
  }
370
  $product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $availability['availability'] ) );
371
  break;
372
+ case 'sku':
373
+ $sku = $product->get_sku();
374
+ ! $sku && $sku = '-';
375
+ $product->fields[$field] = $sku;
376
+ break;
377
  case 'weight':
378
  if( $weight = $product->get_weight() ){
379
  $weight = wc_format_localized_decimal( $weight ) . ' ' . esc_attr( get_option( 'woocommerce_weight_unit' ) );
760
  }
761
  }
762
 
763
+ // make sure to get always the product id of current language
764
+ if( function_exists( 'wpml_object_id_filter' ) ) {
765
+ $product_id = wpml_object_id_filter( $product_id, 'product', false );
766
+ }
767
+
768
  // if product ID is 0, maybe the product doesn't exists or is wrong.. in this case, doesn't show the button
769
  if ( empty( $product_id ) )
770
  return '';
modules/yith-woocommerce-compare/includes/class.yith-woocompare-helper.php CHANGED
@@ -38,6 +38,7 @@ if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
38
  *
39
  * @since 1.0.0
40
  * @access public
 
41
  */
42
  public static function standard_fields( $with_attr = true ) {
43
 
@@ -47,6 +48,7 @@ if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
47
  'price' => __( 'Price', 'yith-woocommerce-compare' ),
48
  'add-to-cart' => __( 'Add to cart', 'yith-woocommerce-compare' ),
49
  'description' => __( 'Description', 'yith-woocommerce-compare' ),
 
50
  'stock' => __( 'Availability', 'yith-woocommerce-compare' ),
51
  'weight' => __( 'Weight', 'yith-woocommerce-compare' ),
52
  'dimensions' => __( 'Dimensions', 'yith-woocommerce-compare' )
@@ -55,7 +57,7 @@ if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
55
  if( $with_attr )
56
  $fields = array_merge( $fields, YITH_Woocompare_Helper::attribute_taxonomies() );
57
 
58
- return $fields;
59
  }
60
 
61
  /*
38
  *
39
  * @since 1.0.0
40
  * @access public
41
+ * @param Boolean $with_attr
42
  */
43
  public static function standard_fields( $with_attr = true ) {
44
 
48
  'price' => __( 'Price', 'yith-woocommerce-compare' ),
49
  'add-to-cart' => __( 'Add to cart', 'yith-woocommerce-compare' ),
50
  'description' => __( 'Description', 'yith-woocommerce-compare' ),
51
+ 'sku' => __( 'Sku', 'yith-woocommerce-compare' ),
52
  'stock' => __( 'Availability', 'yith-woocommerce-compare' ),
53
  'weight' => __( 'Weight', 'yith-woocommerce-compare' ),
54
  'dimensions' => __( 'Dimensions', 'yith-woocommerce-compare' )
57
  if( $with_attr )
58
  $fields = array_merge( $fields, YITH_Woocompare_Helper::attribute_taxonomies() );
59
 
60
+ return apply_filters( 'yith_woocompare_standard_fields_array', $fields );
61
  }
62
 
63
  /*
modules/yith-woocommerce-compare/includes/class.yith-woocompare.php CHANGED
File without changes
modules/yith-woocommerce-compare/init.php CHANGED
@@ -3,17 +3,17 @@
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
5
  * Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
6
- * Version: 2.2.2
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
- * WC requires at least: 2.4.0
12
- * WC tested up to: 3.2.1
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Compare
16
- * @version 2.2.2
17
  */
18
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
@@ -58,7 +58,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
58
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
61
- define( 'YITH_WOOCOMPARE_VERSION', '2.2.2' );
62
  }
63
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
64
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
5
  * Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
6
+ * Version: 2.3.0
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
+ * WC requires at least: 2.5.0
12
+ * WC tested up to: 3.3.0
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Compare
16
+ * @version 2.3.0
17
  */
18
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
58
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
61
+ define( 'YITH_WOOCOMPARE_VERSION', '2.3.0' );
62
  }
63
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
64
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-bg_BG.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-bg_BG.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-es_ES.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-es_ES.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fa_IR.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fa_IR.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fr_FR.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-fr_FR.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-nl_NL.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-nl_NL.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-pt_BR.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-pt_BR.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-ru_RU.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-ru_RU.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sk_SK.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sk_SK.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sl_SI.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-sl_SI.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-tr_TR.mo CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare-tr_TR.po CHANGED
File without changes
modules/yith-woocommerce-compare/languages/yith-woocommerce-compare.pot CHANGED
File without changes
modules/yith-woocommerce-compare/plugin-options/general-options.php CHANGED
File without changes
modules/yith-woocommerce-compare/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-compare/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-compare/templates/compare.php CHANGED
File without changes
modules/yith-woocommerce-compare/widgets/class.yith-woocompare-widget.php CHANGED
File without changes
modules/yith-woocommerce-compare/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/css/ywev_admin.css CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-eu-vat/assets/images/yith-woocommerce-eu-vat.jpg CHANGED
File without changes
modules/yith-woocommerce-eu-vat/functions.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/init.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/languages/yith-woocommerce-eu-vat.pot CHANGED
File without changes
modules/yith-woocommerce-eu-vat/lib/class.yith-tax-rates.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/lib/class.yith-woocommerce-eu-vat.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-custom-types.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-plugin-fw-loader.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/plugin-options/general-options.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/plugin-options/premium-landing-options.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/plugin-options/tax-options.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/templates/admin/eu-vat-tax-list.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/templates/admin/eu-vat-tax-report.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/templates/report/class.yith-ywev-report-eu-vat-taxes.php CHANGED
File without changes
modules/yith-woocommerce-eu-vat/templates/report/yith-html-report-eu-vat.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/css/admin/yith-wcmc.css CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/images/video-thumb.jpg CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/js/admin/unminified/yith-wcmc.js CHANGED
File without changes
modules/yith-woocommerce-mailchimp/assets/js/admin/yith-wcmc.min.js CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/class.yith-wcmc-admin.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/class.yith-wcmc.php CHANGED
@@ -49,11 +49,16 @@ if ( ! class_exists( 'YITH_WCMC' ) ) {
49
  * @since 1.0.0
50
  */
51
  public static function get_instance(){
52
- if( is_null( self::$instance ) ){
53
- self::$instance = new self;
54
  }
 
 
 
 
55
 
56
- return self::$instance;
 
57
  }
58
 
59
  /**
49
  * @since 1.0.0
50
  */
51
  public static function get_instance(){
52
+ if( class_exists( 'YITH_WCMC_Premium' ) ) {
53
+ return YITH_WCMC_Premium::get_instance();
54
  }
55
+ else{
56
+ if ( is_null( YITH_WCMC::$instance ) ) {
57
+ YITH_WCMC::$instance = new YITH_WCMC;
58
+ }
59
 
60
+ return YITH_WCMC::$instance;
61
+ }
62
  }
63
 
64
  /**
modules/yith-woocommerce-mailchimp/includes/functions.yith-wcmc.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Campaigns.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Conversations.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Ecomm.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Exceptions.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Folders.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Gallery.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Goal.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Helper.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Lists.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Mobile.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Neapolitan.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Reports.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Templates.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Users.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/includes/mailchimp/Mailchimp/Vip.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/init.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Mailchimp
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-mailchimp/
5
  * Description: YITH WooCommerce Mailchimp allows you to integrate the most popular newsletter campaign manager on your ecommerce.
6
- * Version: 1.1.1
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcmc
10
  * Domain Path: /languages/
11
  * WC requires at least: 2.5.0
12
- * WC tested up to: 3.2.1
13
  *
14
  * @author Your Inspiration Themes
15
  * @package YITH WooCommerce Mailchimp
@@ -46,7 +46,7 @@ if ( ! defined( 'YITH_WCMC' ) ) {
46
  }
47
 
48
  if ( ! defined( 'YITH_WCMC_VERSION' ) ) {
49
- define( 'YITH_WCMC_VERSION', '1.1.1' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WCMC_URL' ) ) {
3
  * Plugin Name: YITH WooCommerce Mailchimp
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-mailchimp/
5
  * Description: YITH WooCommerce Mailchimp allows you to integrate the most popular newsletter campaign manager on your ecommerce.
6
+ * Version: 1.1.2
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcmc
10
  * Domain Path: /languages/
11
  * WC requires at least: 2.5.0
12
+ * WC tested up to: 3.3.0
13
  *
14
  * @author Your Inspiration Themes
15
  * @package YITH WooCommerce Mailchimp
46
  }
47
 
48
  if ( ! defined( 'YITH_WCMC_VERSION' ) ) {
49
+ define( 'YITH_WCMC_VERSION', '1.1.2' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WCMC_URL' ) ) {
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-es_ES.mo CHANGED
Binary file
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
4
- "POT-Creation-Date: 2017-05-05 13:15+0200\n"
5
- "PO-Revision-Date: 2017-05-05 13:15+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_ES\n"
@@ -58,7 +58,7 @@ msgstr "Live Demo"
58
  msgid "Plugin Documentation"
59
  msgstr "Documentación del Plugin"
60
 
61
- #: includes/class.yith-wcmc.php:503
62
  #, php-format
63
  msgid "MAILCHIMP ERROR: (%s) %s"
64
  msgstr "ERROR DE MAILCHIMP: (%s) %s"
@@ -130,7 +130,7 @@ msgctxt "MailChimp error translation (214)"
130
  msgid "You submitted an email address that is already subscribed to the list."
131
  msgstr "Has enviado una dirección de email que ya está suscrita a la lista."
132
 
133
- #: init.php:123
134
  msgid ""
135
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
136
  "WooCommerce in order to work."
@@ -138,7 +138,7 @@ msgstr ""
138
  "YITH WooCommerce Mailchimp esta activado pero no es efectivo. Requiere "
139
  "WooCommerce para funcionar."
140
 
141
- #: init.php:133
142
  msgid ""
143
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
144
  "are using the premium one."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
4
+ "POT-Creation-Date: 2018-02-01 11:58+0100\n"
5
+ "PO-Revision-Date: 2018-02-01 11:58+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_ES\n"
58
  msgid "Plugin Documentation"
59
  msgstr "Documentación del Plugin"
60
 
61
+ #: includes/class.yith-wcmc.php:546
62
  #, php-format
63
  msgid "MAILCHIMP ERROR: (%s) %s"
64
  msgstr "ERROR DE MAILCHIMP: (%s) %s"
130
  msgid "You submitted an email address that is already subscribed to the list."
131
  msgstr "Has enviado una dirección de email que ya está suscrita a la lista."
132
 
133
+ #: init.php:125
134
  msgid ""
135
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
136
  "WooCommerce in order to work."
138
  "YITH WooCommerce Mailchimp esta activado pero no es efectivo. Requiere "
139
  "WooCommerce para funcionar."
140
 
141
+ #: init.php:135
142
  msgid ""
143
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
144
  "are using the premium one."
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-it_IT.mo CHANGED
Binary file
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
4
- "POT-Creation-Date: 2017-05-05 13:15+0200\n"
5
- "PO-Revision-Date: 2017-05-05 13:15+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: it\n"
@@ -58,7 +58,7 @@ msgstr ""
58
  msgid "Plugin Documentation"
59
  msgstr ""
60
 
61
- #: includes/class.yith-wcmc.php:503
62
  #, php-format
63
  msgid "MAILCHIMP ERROR: (%s) %s"
64
  msgstr ""
@@ -124,13 +124,13 @@ msgctxt "MailChimp error translation (214)"
124
  msgid "You submitted an email address that is already subscribed to the list."
125
  msgstr ""
126
 
127
- #: init.php:123
128
  msgid ""
129
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
130
  "WooCommerce in order to work."
131
  msgstr ""
132
 
133
- #: init.php:133
134
  msgid ""
135
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
136
  "are using the premium one."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
4
+ "POT-Creation-Date: 2018-02-01 11:58+0100\n"
5
+ "PO-Revision-Date: 2018-02-01 11:58+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: it\n"
58
  msgid "Plugin Documentation"
59
  msgstr ""
60
 
61
+ #: includes/class.yith-wcmc.php:546
62
  #, php-format
63
  msgid "MAILCHIMP ERROR: (%s) %s"
64
  msgstr ""
124
  msgid "You submitted an email address that is already subscribed to the list."
125
  msgstr ""
126
 
127
+ #: init.php:125
128
  msgid ""
129
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
130
  "WooCommerce in order to work."
131
  msgstr ""
132
 
133
+ #: init.php:135
134
  msgid ""
135
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
136
  "are using the premium one."
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-nl_NL.mo ADDED
Binary file
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp-nl_NL.po ADDED
@@ -0,0 +1,997 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Mailchimp\n"
4
+ "POT-Creation-Date: 2018-02-01 11:59+0100\n"
5
+ "PO-Revision-Date: 2018-02-01 11:59+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "Language: nl\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7.1\n"
13
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;__ngettext_noop:1,2;_n_noop:1,2;"
14
+ "_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Poedit-Basepath: ..\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
+
20
+ #: includes/class.yith-wcmc-admin.php:86
21
+ msgid "Integration"
22
+ msgstr "Integratie"
23
+
24
+ #: includes/class.yith-wcmc-admin.php:87
25
+ msgid "Checkout"
26
+ msgstr "Uitchecken"
27
+
28
+ #: includes/class.yith-wcmc-admin.php:88 includes/class.yith-wcmc-admin.php:223
29
+ msgid "Premium Version"
30
+ msgstr "Premium Versie"
31
+
32
+ #: includes/class.yith-wcmc-admin.php:135
33
+ msgid "Update Lists"
34
+ msgstr "Lijst updaten"
35
+
36
+ #: includes/class.yith-wcmc-admin.php:136
37
+ msgid "Update Groups"
38
+ msgstr "Groepen updaten"
39
+
40
+ #: includes/class.yith-wcmc-admin.php:137
41
+ msgid "Update Fields"
42
+ msgstr "Velden updaten"
43
+
44
+ #: includes/class.yith-wcmc-admin.php:157
45
+ #: includes/class.yith-wcmc-admin.php:158
46
+ msgid "Mailchimp"
47
+ msgstr "Mailchimp"
48
+
49
+ #: includes/class.yith-wcmc-admin.php:219
50
+ msgid "Settings"
51
+ msgstr "Instellingen"
52
+
53
+ #: includes/class.yith-wcmc-admin.php:224
54
+ msgid "Live Demo"
55
+ msgstr "Live Demo"
56
+
57
+ #: includes/class.yith-wcmc-admin.php:242
58
+ msgid "Plugin Documentation"
59
+ msgstr "Plugin Documentatie"
60
+
61
+ #: includes/class.yith-wcmc.php:546
62
+ #, php-format
63
+ msgid "MAILCHIMP ERROR: (%s) %s"
64
+ msgstr "MAILCHIMP ERROR: (%s) %s"
65
+
66
+ #: includes/functions.yith-wcmc.php:18
67
+ msgctxt "Mailchimp error translation (-50)"
68
+ msgid "You have made too many connections on the MailChimp server."
69
+ msgstr "U hebt te veel verbindingen gemaakt op de MailChimp-server."
70
+
71
+ #: includes/functions.yith-wcmc.php:19
72
+ msgctxt "MailChimp error translation (101)"
73
+ msgid ""
74
+ "You cannot use your APIs, because your user profile has been deactivated."
75
+ msgstr ""
76
+ "U kunt uw API's niet gebruiken, omdat uw gebruikersprofiel is gedeactiveerd."
77
+
78
+ #: includes/functions.yith-wcmc.php:20
79
+ msgctxt "MailChimp error translation (104)"
80
+ msgid ""
81
+ "Your API key may be invalid, or you've attempted to access the wrong "
82
+ "datacenter."
83
+ msgstr ""
84
+ "Uw API-sleutel is mogelijk ongeldig of u heeft geprobeerd toegang te krijgen "
85
+ "tot het verkeerde datacenter."
86
+
87
+ #: includes/functions.yith-wcmc.php:21
88
+ msgctxt "MailChimp error translation (105)"
89
+ msgid ""
90
+ "You cannot use your APIs, because your user profile is under maintenance."
91
+ msgstr ""
92
+ "U kunt uw API's niet gebruiken, omdat uw gebruikersprofiel in onderhoud is."
93
+
94
+ #: includes/functions.yith-wcmc.php:22
95
+ msgctxt "MailChimp error translation (109)"
96
+ msgid ""
97
+ "You cannot complete your operation, because you don't have the necessary "
98
+ "authorization."
99
+ msgstr ""
100
+ "U kunt uw bewerking niet voltooien, omdat u niet over de benodigde "
101
+ "autorisatie beschikt."
102
+
103
+ #: includes/functions.yith-wcmc.php:23
104
+ msgctxt "MailChimp error translation (120)"
105
+ msgid "You have requested an invalid operation."
106
+ msgstr "U hebt een ongeldige bewerking aangevraagd."
107
+
108
+ #: includes/functions.yith-wcmc.php:24
109
+ msgctxt "MailChimp error translation (232)"
110
+ msgid "The email you have written is not valid, please try to write it again."
111
+ msgstr ""
112
+ "De e-mail die je hebt geschreven is niet geldig, probeer het opnieuw te "
113
+ "schrijven."
114
+
115
+ #: includes/functions.yith-wcmc.php:25
116
+ msgctxt "MailChimp error translation (500)"
117
+ msgid "The sent information are not valid, please double check them."
118
+ msgstr "De verzonden informatie is niet geldig, controleer ze alstublieft."
119
+
120
+ #: includes/functions.yith-wcmc.php:28
121
+ msgctxt "MailChimp error translation (-99)"
122
+ msgid "You submitted an invalid email address that cannot be imported."
123
+ msgstr ""
124
+ "U heeft een ongeldig e-mailadres verzonden dat niet kan worden geïmporteerd."
125
+
126
+ #: includes/functions.yith-wcmc.php:29
127
+ msgctxt "MailChimp error translation (200)"
128
+ msgid "Invalid MailChimp List ID."
129
+ msgstr "Ongeldige MailChimp-lijst-ID."
130
+
131
+ #: includes/functions.yith-wcmc.php:30
132
+ msgctxt "MailChimp error translation (214)"
133
+ msgid "You submitted an email address that is already subscribed to the list."
134
+ msgstr "U heeft een e-mailadres opgegeven dat al op de lijst is geabonneerd."
135
+
136
+ #: init.php:125
137
+ msgid ""
138
+ "YITH WooCommerce MailChimp is enabled but not effective. It requires "
139
+ "WooCommerce in order to work."
140
+ msgstr ""
141
+ "YITH WooCommerce MailChimp is ingeschakeld, maar niet effectief. Het vereist "
142
+ "WooCommerce om te kunnen werken."
143
+
144
+ #: init.php:135
145
+ msgid ""
146
+ "You can't activate the free version of YITH WooCommerce MailChimp while you "
147
+ "are using the premium one."
148
+ msgstr ""
149
+ "Je kunt de gratis versie van YITH WooCommerce MailChimp niet activeren "
150
+ "terwijl je de premium versie gebruikt."
151
+
152
+ #: plugin-options/checkout-options.php:21
153
+ msgid "Mailchimp Options"
154
+ msgstr "Mailchimp Opties"
155
+
156
+ #: plugin-options/checkout-options.php:28
157
+ msgid "Register after"
158
+ msgstr "Registreer na"
159
+
160
+ #: plugin-options/checkout-options.php:30
161
+ msgid "Select when the user should be added to the list"
162
+ msgstr "Selecteer wanneer de gebruiker aan de lijst moet worden toegevoegd"
163
+
164
+ #: plugin-options/checkout-options.php:33
165
+ msgid "Never"
166
+ msgstr "Nooit"
167
+
168
+ #: plugin-options/checkout-options.php:34
169
+ msgid "Order completed"
170
+ msgstr "Bestelling voltooid"
171
+
172
+ #: plugin-options/checkout-options.php:35
173
+ msgid "Order placed"
174
+ msgstr "Bestelling geplaatst"
175
+
176
+ #: plugin-options/checkout-options.php:41
177
+ msgid "Show \"Newsletter subscription\" checkbox"
178
+ msgstr "Schakel het selectievakje \"Abonnement nieuwsbrief\" in"
179
+
180
+ #: plugin-options/checkout-options.php:44
181
+ msgid ""
182
+ "When you select this option, a checkbox will be added to the checkout form, "
183
+ "inviting users to subscribe to the newsletter; otherwise, users will be "
184
+ "subscribed automatically"
185
+ msgstr ""
186
+ "Wanneer u deze optie selecteert, wordt een selectievakje toegevoegd aan het "
187
+ "uitcheckformulier, waarin gebruikers worden uitgenodigd zich te abonneren op "
188
+ "de nieuwsbrief; anders worden gebruikers automatisch ingeschreven"
189
+
190
+ #: plugin-options/checkout-options.php:49
191
+ msgid "\"Newsletter subscription\" label"
192
+ msgstr "Label 'Nieuwsbrief-abonnement'"
193
+
194
+ #: plugin-options/checkout-options.php:51
195
+ msgid ""
196
+ "Enter here the label you want to use for the \"Newsletter subscription\" "
197
+ "checkbox"
198
+ msgstr ""
199
+ "Voer hier het label in dat u wilt gebruiken voor het selectievakje "
200
+ "\"Abonnement nieuwsbrief\" "
201
+
202
+ #: plugin-options/checkout-options.php:53
203
+ msgid "Subscribe to our cool newsletter"
204
+ msgstr "Abonneer u op onze coole nieuwsbrief"
205
+
206
+ #: plugin-options/checkout-options.php:58
207
+ msgid "Position for \"Newsletter subscription\""
208
+ msgstr "Functie voor \"nieuwsbrief-abonnement\""
209
+
210
+ #: plugin-options/checkout-options.php:60
211
+ msgid "Select position for \"Newsletter subscription\" checkbox in the page"
212
+ msgstr ""
213
+ "Selecteer de optie \"Abonnement nieuwsbrief\" in het selectievakje op de "
214
+ "pagina"
215
+
216
+ #: plugin-options/checkout-options.php:63
217
+ msgid "Above customer details"
218
+ msgstr "Boven klant details"
219
+
220
+ #: plugin-options/checkout-options.php:64
221
+ msgid "Below customer details"
222
+ msgstr "Onder klant details"
223
+
224
+ #: plugin-options/checkout-options.php:65
225
+ msgid "Above \"Place order\" button"
226
+ msgstr "Boven \"Plaats bestelling\" knop"
227
+
228
+ #: plugin-options/checkout-options.php:66
229
+ msgid "Below \"Place order\" button"
230
+ msgstr "Onder \"Plaats bestelling\" knop"
231
+
232
+ #: plugin-options/checkout-options.php:67
233
+ msgid "Above \"Review order\" total"
234
+ msgstr "Boven \"Bekijk bestelling\" knop"
235
+
236
+ #: plugin-options/checkout-options.php:68
237
+ msgid "Above billing details"
238
+ msgstr "Boven rekening details"
239
+
240
+ #: plugin-options/checkout-options.php:69
241
+ msgid "Below billing details"
242
+ msgstr "Onder rekening details"
243
+
244
+ #: plugin-options/checkout-options.php:70
245
+ msgid "Above shipping details"
246
+ msgstr "Boven verzend informatie"
247
+
248
+ #: plugin-options/checkout-options.php:77
249
+ msgid "Show \"Newsletter subscription\" checked"
250
+ msgstr "Schakel het selectievakje \"Abonnement nieuwsbrief\" in"
251
+
252
+ #: plugin-options/checkout-options.php:80
253
+ msgid ""
254
+ "When you check this option, \"Newsletter subscription\" checkbox will be "
255
+ "printed as already checked"
256
+ msgstr ""
257
+ "Wanneer u deze optie aanvinkt, wordt het selectievakje \"Abonnement "
258
+ "nieuwsbrief\" afgedrukt zoals reeds aangevinkt"
259
+
260
+ #: plugin-options/checkout-options.php:85
261
+ msgid "Email type"
262
+ msgstr "E-mail type"
263
+
264
+ #: plugin-options/checkout-options.php:88
265
+ msgid "User's preferential email type (HTML or plain text)"
266
+ msgstr "Het voorkeurstype van de gebruiker (HTML of platte tekst)"
267
+
268
+ #: plugin-options/checkout-options.php:90
269
+ msgid "HTML"
270
+ msgstr "HTML"
271
+
272
+ #: plugin-options/checkout-options.php:91
273
+ msgid "Text"
274
+ msgstr "Tekst"
275
+
276
+ #: plugin-options/checkout-options.php:97
277
+ msgid "Double Opt-in"
278
+ msgstr "Dubbele opt-in"
279
+
280
+ #: plugin-options/checkout-options.php:100
281
+ msgid ""
282
+ "When you check this option, MailChimp will send a confirmation email before "
283
+ "adding the user to the list"
284
+ msgstr ""
285
+ "Wanneer u deze optie aanvinkt, stuurt MailChimp een bevestigingsmail voordat "
286
+ "de gebruiker aan de lijst wordt toegevoegd"
287
+
288
+ #: plugin-options/checkout-options.php:105
289
+ msgid "Update existing"
290
+ msgstr "Update bestaande"
291
+
292
+ #: plugin-options/checkout-options.php:108
293
+ msgid ""
294
+ "When you check this option, existing users will be updated and MailChimp "
295
+ "servers will not show errors"
296
+ msgstr ""
297
+ "Wanneer u deze optie aanvinkt, worden bestaande gebruikers bijgewerkt en "
298
+ "laten MailChimp-servers geen fouten zien"
299
+
300
+ #: plugin-options/checkout-options.php:113
301
+ msgid "Send welcome email"
302
+ msgstr "Verstuur welkomst E-mail"
303
+
304
+ #: plugin-options/checkout-options.php:116
305
+ msgid ""
306
+ "Send a welcome email to the user (only available when double opt-in is "
307
+ "disabled)"
308
+ msgstr ""
309
+ "Stuur een welkomst-e-mail naar de gebruiker (alleen beschikbaar als double-"
310
+ "opt-in is uitgeschakeld)"
311
+
312
+ #: plugin-options/checkout-options.php:126
313
+ msgid "List Options"
314
+ msgstr "Lijst Opties"
315
+
316
+ #: plugin-options/checkout-options.php:133
317
+ msgid "MailChimp list"
318
+ msgstr "Mailchimp lijst"
319
+
320
+ #: plugin-options/checkout-options.php:135
321
+ msgid "Select a list for the new user"
322
+ msgstr "Selecteer een lijst voor de nieuwe gebruiker"
323
+
324
+ #: plugin-options/integration-options.php:17
325
+ msgid "Upgrade to the PREMIUM VERSION"
326
+ msgstr "Upgrade naar de PREMIUM VERSIE"
327
+
328
+ #: plugin-options/integration-options.php:20
329
+ msgid "YITH WooCommerce Mailchimp"
330
+ msgstr "YITH WooCommerce Mailchimp"
331
+
332
+ #: plugin-options/integration-options.php:21
333
+ msgid "Discover the Advanced Features"
334
+ msgstr "Ontdek de geavanceerde functies"
335
+
336
+ #: plugin-options/integration-options.php:22
337
+ msgid ""
338
+ "Upgrade to the PREMIUM VERSION of YITH WOOCOMMERCE MAILCHIMP to benefit from "
339
+ "all features!"
340
+ msgstr ""
341
+ "Upgrade naar de PREMIUM VERSIE van YITH WOOCOMMERCE MAILCHIMP om te "
342
+ "profiteren van alle functies!"
343
+
344
+ #: plugin-options/integration-options.php:28
345
+ msgid "Get Support and Pro Features"
346
+ msgstr "Krijg ondersteuning en Pro Functies"
347
+
348
+ #: plugin-options/integration-options.php:29
349
+ msgid ""
350
+ "By purchasing the premium version of the plugin, you will take advantage of "
351
+ "the advanced features of the product and you will get one year of free "
352
+ "updates and support through our platform available 24h/24."
353
+ msgstr ""
354
+ "Door de premium-versie van de plug-in te kopen, profiteert u van de "
355
+ "geavanceerde functies van het product en krijgt u een jaar gratis updates en "
356
+ "ondersteuning via ons platform 24 uur per dag beschikbaar."
357
+
358
+ #: plugin-options/integration-options.php:39
359
+ msgid "MailChimp Options"
360
+ msgstr "Mailchimp Opties"
361
+
362
+ #: plugin-options/integration-options.php:46
363
+ msgid "MailChimp API Key"
364
+ msgstr "Mailchimp API Key"
365
+
366
+ #: plugin-options/integration-options.php:49
367
+ msgid ""
368
+ "API key used to access MailChimp account; you can get one <a href=\"//admin."
369
+ "mailchimp.com/account/api/\">here</a>"
370
+ msgstr ""
371
+ "API-sleutel gebruikt voor toegang tot MailChimp-account; U kunt hier een <a "
372
+ "href=\"//admin.mailchimp.com/account/api/\"> hier </a> krijgen"
373
+
374
+ #: plugin-options/integration-options.php:55
375
+ msgid "Integration status"
376
+ msgstr "Integratie Status"
377
+
378
+ #: templates/admin/types/integration-status.php:17
379
+ msgid "MailChimp user"
380
+ msgstr "Mailchimp gebruiker"
381
+
382
+ #: templates/admin/types/integration-status.php:17
383
+ msgid "No user can be found with this API key"
384
+ msgstr "Er is geen gebruiker te vinden met deze API-sleutel"
385
+
386
+ #: templates/admin/types/integration-status.php:18
387
+ #: templates/admin/types/integration-status.php:35
388
+ #: templates/admin/types/integration-status.php:41
389
+ msgid "&lt; Not Found &gt;"
390
+ msgstr "&lt; Niet gevonden &gt;"
391
+
392
+ #: templates/admin/types/integration-status.php:23
393
+ msgid "Status:"
394
+ msgstr "Status:"
395
+
396
+ #: templates/admin/types/integration-status.php:26
397
+ msgid "Correctly synchronized"
398
+ msgstr "Correct gesynchroniseerd"
399
+
400
+ #: templates/admin/types/integration-status.php:26
401
+ msgid "OK"
402
+ msgstr "OK"
403
+
404
+ #: templates/admin/types/integration-status.php:28
405
+ msgid "Wrong API key"
406
+ msgstr "Verkeerde API-sleutel"
407
+
408
+ #: templates/admin/types/integration-status.php:28
409
+ msgid "KO"
410
+ msgstr "KO"
411
+
412
+ #: templates/admin/types/integration-status.php:33
413
+ msgid "Name:"
414
+ msgstr "Naam:"
415
+
416
+ #: templates/admin/types/integration-status.php:39
417
+ msgid "Email:"
418
+ msgstr "E-mail:"
419
+
420
+ #~ msgid "Export Users"
421
+ #~ msgstr "Exporteer Gebruikers"
422
+
423
+ #~ msgid "Download CSV"
424
+ #~ msgstr "CSV downloaden"
425
+
426
+ #~ msgid "Shortcode"
427
+ #~ msgstr "Verkorte code"
428
+
429
+ #~ msgid "Widget"
430
+ #~ msgstr "Widget"
431
+
432
+ #~ msgid "Export"
433
+ #~ msgstr "Exporteren"
434
+
435
+ #~ msgid "eCommerce 360"
436
+ #~ msgstr "eCommerce 360"
437
+
438
+ #~ msgid "Enable eCommerce 360 integration"
439
+ #~ msgstr "E-commerce 360 integratie inschakelen"
440
+
441
+ #~ msgid ""
442
+ #~ "When you check this option, data of the orders made by users coming from "
443
+ #~ "a campaign will be collected and sent to MailChimp servers, for "
444
+ #~ "segmentation purpose"
445
+ #~ msgstr ""
446
+ #~ "Als u deze optie inschakelt, worden gegevens van de bestellingen gemaakt "
447
+ #~ "door gebruikers uit een campagne verzameld en verzonden naar MailChimp "
448
+ #~ "servers, voor segmentatie doel"
449
+
450
+ #~ msgid "eCommerce 360 cookie lifetime"
451
+ #~ msgstr "levensduur van de cookie van de e-commerce 360"
452
+
453
+ #~ msgid "Seconds that have to pass before eCommerce 360 cookies expire"
454
+ #~ msgstr ""
455
+ #~ "Seconden dat verstrijken moeten voordat de 360 e-commerce-cookies verlopen"
456
+
457
+ #~ msgid "Replace interests"
458
+ #~ msgstr "Interesse vervangen"
459
+
460
+ #~ msgid ""
461
+ #~ "When you check this option, interest group of an already registered user "
462
+ #~ "will be replaced by the one selected in the new subscription"
463
+ #~ msgstr ""
464
+ #~ "Als u deze optie aanvinkt, wordt de interessegroep van een reeds "
465
+ #~ "geregistreerde gebruiker vervangen door de groep die is geselecteerd in "
466
+ #~ "het nieuwe abonnement"
467
+
468
+ #~ msgid "Integration mode"
469
+ #~ msgstr "Integratie mode"
470
+
471
+ #~ msgid ""
472
+ #~ "Select whether to use a basic set of options or add integration settings"
473
+ #~ msgstr ""
474
+ #~ "Selecteer of u een standaardset met opties wilt gebruiken of voeg "
475
+ #~ "integratie-instellingen toe"
476
+
477
+ #~ msgid "Simple"
478
+ #~ msgstr "Simpel"
479
+
480
+ #~ msgid "Advanced"
481
+ #~ msgstr "Geavanceerd"
482
+
483
+ #~ msgid "Interest groups"
484
+ #~ msgstr "Belangengroepen"
485
+
486
+ #~ msgid "Select an interest group for the new user"
487
+ #~ msgstr "Selecteer een interessegroep voor de nieuwe gebruiker"
488
+
489
+ #~ msgid "Advanced options"
490
+ #~ msgstr "Geavanceerde opties"
491
+
492
+ #~ msgid "Shipping method name"
493
+ #~ msgstr "Naam verzendmethode"
494
+
495
+ #~ msgid "Payment method name"
496
+ #~ msgstr "Naam betalingsmethode"
497
+
498
+ #~ msgid "User ID"
499
+ #~ msgstr "Gebruikers ID"
500
+
501
+ #~ msgid "Custom"
502
+ #~ msgstr "Aangepast"
503
+
504
+ #~ msgid "Email added: "
505
+ #~ msgstr "E-mail toegevoegd: "
506
+
507
+ #~ msgid "Email updated: "
508
+ #~ msgstr "E-mail geupdate: "
509
+
510
+ #~ msgid "Error encountered: "
511
+ #~ msgstr "Er is een fout opgetreden: "
512
+
513
+ #~ msgid "Required arguments missing"
514
+ #~ msgstr "Vereiste argumenten ontbreken"
515
+
516
+ #~ msgid "Ops! It seems you are not allowed to do this"
517
+ #~ msgstr "Oeps! Het lijkt erop dat je dit niet mag doen"
518
+
519
+ #~ msgid "Great! You're now subscribed to our newsletter"
520
+ #~ msgstr "Super goed! U bent nu ingeschreven voor onze nieuwsbrief"
521
+
522
+ #~ msgid "Display a Mailchimp subscription form in sidebars"
523
+ #~ msgstr "Toon een Mailchimp-inschrijvingsformulier in zijbalken"
524
+
525
+ #~ msgid "YITH Mailchimp Subscription Form"
526
+ #~ msgstr "YITH Mailchimp-inschrijfformulier"
527
+
528
+ #~ msgid ""
529
+ #~ "You can customize options for <b>Mailchimp Subscription Form</b> widget "
530
+ #~ "from YITH WooCommerce Mailchimp <a href=\"%s\">admin page</a>"
531
+ #~ msgstr ""
532
+ #~ "U kunt de opties aanpassen voor de <b> Mailchimp-abonnementsvorm </ b> -"
533
+ #~ "widget van YITH WooCommerce Mailchimp <a href=\"%s\"> beheerderspagina </"
534
+ #~ "a>"
535
+
536
+ #~ msgid "Export a set of users from your store to one of your MailChimp lists"
537
+ #~ msgstr ""
538
+ #~ "Exporteer een set gebruikers vanuit uw winkel naar een van uw MailChimp-"
539
+ #~ "lijsten"
540
+
541
+ #~ msgid "User preferential email type (HTML or plain text)"
542
+ #~ msgstr "Voorkeurstype van de gebruiker (HTML of platte tekst)"
543
+
544
+ #~ msgid "Users set"
545
+ #~ msgstr "Gebruikers set"
546
+
547
+ #~ msgid "Select a set of users to export"
548
+ #~ msgstr "Selecteer een set gebruikers om te exporteren"
549
+
550
+ #~ msgid "All Users"
551
+ #~ msgstr "Alle Gebruikers"
552
+
553
+ #~ msgid "All Customers"
554
+ #~ msgstr "Alle klanten"
555
+
556
+ #~ msgid "Select manually a set of users"
557
+ #~ msgstr "Selecteer manueel een groep users"
558
+
559
+ #~ msgid "Filter users using custom conditions"
560
+ #~ msgstr "Filter gebruikers met aangepaste voorwaarden"
561
+
562
+ #~ msgid "Waiting Lists"
563
+ #~ msgstr "Wachtlijst"
564
+
565
+ #~ msgid "Customers to export"
566
+ #~ msgstr "Klanten om te exporteren"
567
+
568
+ #~ msgid "Select customers to export"
569
+ #~ msgstr "Selecteer klanten om te exporteren"
570
+
571
+ #~ msgid "Select customers"
572
+ #~ msgstr "Selecteer klanten"
573
+
574
+ #~ msgid "Filter by product"
575
+ #~ msgstr "Filter per product"
576
+
577
+ #~ msgid "Export users that bought at least one of the selected products"
578
+ #~ msgstr ""
579
+ #~ "Exporteer gebruikers die ten minste één van de geselecteerde producten "
580
+ #~ "hebben gekocht"
581
+
582
+ #~ msgid "Select products"
583
+ #~ msgstr "Selecteer producten"
584
+
585
+ #~ msgid "Filter by categories"
586
+ #~ msgstr "Filteren op categorieën"
587
+
588
+ #~ msgid ""
589
+ #~ "Export users that bought a product belonging at least to one of the "
590
+ #~ "selected categories"
591
+ #~ msgstr ""
592
+ #~ "Exporteer gebruikers die een product hebben gekocht dat ten minste tot "
593
+ #~ "een van de geselecteerde categorieën behoort"
594
+
595
+ #~ msgid "Select categories"
596
+ #~ msgstr "Selecteer categorieën"
597
+
598
+ #~ msgid "Filter by tags"
599
+ #~ msgstr "Filter per tag"
600
+
601
+ #~ msgid ""
602
+ #~ "Export users that bought a product with at least one of the selected tags"
603
+ #~ msgstr ""
604
+ #~ "Exporteer gebruikers die een product hebben gekocht met ten minste een "
605
+ #~ "van de geselecteerde tags"
606
+
607
+ #~ msgid "Select tags"
608
+ #~ msgstr "Selecteer tags"
609
+
610
+ #~ msgid "Filter by date"
611
+ #~ msgstr "Filter per datum"
612
+
613
+ #~ msgid "Export users that purchased within this date range"
614
+ #~ msgstr "Exporteer gebruikers die in deze periode hebben gekocht"
615
+
616
+ #~ msgid "Waiting products"
617
+ #~ msgstr "Wachtende producten"
618
+
619
+ #~ msgid "MailChimp field where all products users are waiting for appear"
620
+ #~ msgstr ""
621
+ #~ "Het veld MailChimp waar alle gebruikers van producten op wachten, wordt "
622
+ #~ "weergegeven"
623
+
624
+ #~ msgid "Export a set of users from your store to a CVS file"
625
+ #~ msgstr "Exporteer een set gebruikers vanuit uw winkel naar een CVS-bestand"
626
+
627
+ #~ msgid "Users to export"
628
+ #~ msgstr "Gebruikers om te exporteren"
629
+
630
+ #~ msgid "Select users to export"
631
+ #~ msgstr "Selecteer gebruikers om te exporteren"
632
+
633
+ #~ msgid "Select users"
634
+ #~ msgstr "Selecteer gebruikers"
635
+
636
+ #~ msgid "Export users that bought a specific product"
637
+ #~ msgstr "Exporteer gebruikers die een specifiek product hebben gekocht"
638
+
639
+ #~ msgid "Export users that bought a product belonging to a specific category"
640
+ #~ msgstr ""
641
+ #~ "Exporteer gebruikers die een product hebben gekocht dat tot een "
642
+ #~ "specifieke categorie behoort"
643
+
644
+ #~ msgid "Filter by tag"
645
+ #~ msgstr "Filteren op tag"
646
+
647
+ #~ msgid "Export users that bought a product with a specific tag"
648
+ #~ msgstr "Exporteer gebruikers die een product kochten met een specifieke tag"
649
+
650
+ #~ msgid "Shortcode Options"
651
+ #~ msgstr "Shortcode Opties"
652
+
653
+ #~ msgid ""
654
+ #~ "Insert <b>[yith_wcmc_subscription_form]</b> shortcode in your pages, to "
655
+ #~ "print a subscription form; set here the options for your form"
656
+ #~ msgstr ""
657
+ #~ "Voer <b> [yith_wcmc_subscription_form] </ b> shortcode in uw pagina's in "
658
+ #~ "om een abonnementsformulier af te drukken; stel hier de opties voor uw "
659
+ #~ "formulier in"
660
+
661
+ #~ msgid "Form title"
662
+ #~ msgstr "Titel van formulier"
663
+
664
+ #~ msgid "Select a title for the newsletter subscription form"
665
+ #~ msgstr "Selecteer een titel voor het nieuwsbriefabonnement"
666
+
667
+ #~ msgid "Newsletter"
668
+ #~ msgstr "Nieuwsbrief"
669
+
670
+ #~ msgid "\"Submit\" button label"
671
+ #~ msgstr "Knoplabel \"Verzenden\" "
672
+
673
+ #~ msgid "Select a label for the \"Submit\" button found in the form"
674
+ #~ msgstr "Selecteer een label voor de knop \"Verzenden\" in het formulier"
675
+
676
+ #~ msgid "SUBMIT"
677
+ #~ msgstr "INVOEREN"
678
+
679
+ #~ msgid "\"Successfully Registered\" message"
680
+ #~ msgstr "Bericht voor Gebruiker %s is succesvol toegevoegd"
681
+
682
+ #~ msgid ""
683
+ #~ "Select a message to display to users when registration has been completed "
684
+ #~ "successfully"
685
+ #~ msgstr ""
686
+ #~ "Selecteer een bericht om weer te geven aan gebruikers wanneer de "
687
+ #~ "registratie met succes is voltooid"
688
+
689
+ #~ msgid "Hide form after registration"
690
+ #~ msgstr "Formulier verbergen na registratie"
691
+
692
+ #~ msgid ""
693
+ #~ "When you select this option, the registration form will be hidden after a "
694
+ #~ "successful registration"
695
+ #~ msgstr ""
696
+ #~ "Wanneer u deze optie selecteert, wordt het registratieformulier verborgen "
697
+ #~ "na een geslaagde registratie"
698
+
699
+ #~ msgid ""
700
+ #~ "When you check this option, existing users will be updated, and MailChimp "
701
+ #~ "servers will not show errors"
702
+ #~ msgstr ""
703
+ #~ "Wanneer u deze optie aanvinkt, worden bestaande gebruikers bijgewerkt en "
704
+ #~ "laten MailChimp-servers geen fouten zien"
705
+
706
+ #~ msgid ""
707
+ #~ "When you check this option, interest group of an already registered user "
708
+ #~ "will be replaced with the one in the new subscription"
709
+ #~ msgstr ""
710
+ #~ "Als u deze optie aanvinkt, wordt de interessegroep van een reeds "
711
+ #~ "geregistreerde gebruiker vervangen door die van het nieuwe abonnement"
712
+
713
+ #~ msgid "Auto-subscribe interest groups"
714
+ #~ msgstr "Interesse groepen automatisch abonneren"
715
+
716
+ #~ msgid "Select an interest group to which new users are automatically added"
717
+ #~ msgstr ""
718
+ #~ "Selecteer een interessegroep waaraan nieuwe gebruikers automatisch worden "
719
+ #~ "toegevoegd"
720
+
721
+ #~ msgid "Show the following interest groups"
722
+ #~ msgstr "Toon de volgende belangengroepen"
723
+
724
+ #~ msgid "Select interests groups that user can choose among"
725
+ #~ msgstr "Selecteer interessegroepen waaruit de gebruiker kan kiezen"
726
+
727
+ #~ msgid "Field Options"
728
+ #~ msgstr "Veld Opties"
729
+
730
+ #~ msgid "Fields"
731
+ #~ msgstr "Velden"
732
+
733
+ #~ msgid "Style Options"
734
+ #~ msgstr "Stijl Opties"
735
+
736
+ #~ msgid "Enable custom CSS"
737
+ #~ msgstr "Aangepaste CSS instellen"
738
+
739
+ #~ msgid "Check this option to enable custom CSS handling"
740
+ #~ msgstr "Schakel deze optie in om aangepaste CSS-afhandeling in te schakelen"
741
+
742
+ #~ msgid "Round Corners for \"Subscribe\" Button"
743
+ #~ msgstr "Ronde hoeken voor knop \"Abonneren\" "
744
+
745
+ #~ msgid "Check this option to make button corners round"
746
+ #~ msgstr "Vink deze optie aan om knoophoeken rond te maken"
747
+
748
+ #~ msgid "\"Subscribe\" Button Background Color"
749
+ #~ msgstr "Achtergrondkleur knop \"Abonneren\" "
750
+
751
+ #~ msgid "\"Subscribe\" Button Text Color"
752
+ #~ msgstr "Tekstkleur knop \"Abonneren\""
753
+
754
+ #~ msgid "\"Subscribe\" Button Border Color"
755
+ #~ msgstr "Knop Randkleur \"Abonneren\""
756
+
757
+ #~ msgid "\"Subscribe\" Button Hover Background Color"
758
+ #~ msgstr "Achtergrondkleur verbergen \"Abonneren\" knop"
759
+
760
+ #~ msgid "\"Subscribe\" Button Hover Text Color"
761
+ #~ msgstr "\"Abonneren\"Bewegende Tekstkleur knop"
762
+
763
+ #~ msgid "\"Subscribe\" Button Hover Border Color"
764
+ #~ msgstr "\"Abonneren\" randkleur knop"
765
+
766
+ #~ msgid "Custom CSS"
767
+ #~ msgstr "Aangepaste CSS"
768
+
769
+ #~ msgid "Insert here your custom CSS that has to be applied to the shortcode"
770
+ #~ msgstr ""
771
+ #~ "Voer hier uw aangepaste CSS in die moet worden toegepast op de shortcode"
772
+
773
+ #~ msgid "Widget Options"
774
+ #~ msgstr "Widget Opties"
775
+
776
+ #~ msgid ""
777
+ #~ "Set here the options for <b>YITH MailChimp Subscription Form</b> widget; "
778
+ #~ "use the widget in you sidebars, by selecting it from <a href=\"%s"
779
+ #~ "\">Appearance > Widgets</a>"
780
+ #~ msgstr ""
781
+ #~ "Stel hier de opties voor <b> YITH MailChimp Subscription Form </ b> "
782
+ #~ "widget in; gebruik de widget in uw zijbalken, door deze te selecteren in "
783
+ #~ "<a href=\"%s\"> Uiterlijk> Widgets </a>"
784
+
785
+ #~ msgid ""
786
+ #~ "When you check this option, interest group of an already registered user "
787
+ #~ "will be replaced with the one selected in the new subscription"
788
+ #~ msgstr ""
789
+ #~ "Als u deze optie aanvinkt, wordt de interessegroep van een reeds "
790
+ #~ "geregistreerde gebruiker vervangen door de groep die in het nieuwe "
791
+ #~ "abonnement is geselecteerd"
792
+
793
+ #~ msgid "Custom css"
794
+ #~ msgstr "Aangepaste css"
795
+
796
+ #~ msgid "Insert here your custom CSS for the widget"
797
+ #~ msgstr ""
798
+ #~ "Voer hier uw aangepaste CSS in die moet worden toegepast op de widget"
799
+
800
+ #~ msgid "Prev"
801
+ #~ msgstr "Vorige"
802
+
803
+ #~ msgid "Next"
804
+ #~ msgstr "Volgende"
805
+
806
+ #~ msgid "Member count"
807
+ #~ msgstr "Tel de members"
808
+
809
+ #~ msgid "total"
810
+ #~ msgstr "totaal"
811
+
812
+ #~ msgid "Avg sub rate"
813
+ #~ msgstr "Gemiddelde sub rate"
814
+
815
+ #~ msgid "per month"
816
+ #~ msgstr "per maand"
817
+
818
+ #~ msgid "Avg unsub rate"
819
+ #~ msgstr "Gemiddelde unsub rate"
820
+
821
+ #~ msgid "Open rate"
822
+ #~ msgstr "Open rate"
823
+
824
+ #~ msgid "per campaign"
825
+ #~ msgstr "per campagne"
826
+
827
+ #~ msgid "Click rate"
828
+ #~ msgstr "Klik rate"
829
+
830
+ #~ msgid "Refresh stats"
831
+ #~ msgstr "Statistieken vernieuwen"
832
+
833
+ #~ msgid "Condition"
834
+ #~ msgstr "Conditie"
835
+
836
+ #~ msgid "Product in cart"
837
+ #~ msgstr "Producten in de winkelwagen"
838
+
839
+ #~ msgid "Product category in cart"
840
+ #~ msgstr "Product categorie in de winkelwagen"
841
+
842
+ #~ msgid "Order total"
843
+ #~ msgstr "Bestellingstotaal"
844
+
845
+ #~ msgid "Details"
846
+ #~ msgstr "Details"
847
+
848
+ #~ msgid "Contains at least one of"
849
+ #~ msgstr "Bevat minstens één van"
850
+
851
+ #~ msgid "Contains all of"
852
+ #~ msgstr "Bevat alle"
853
+
854
+ #~ msgid "Does not contain"
855
+ #~ msgstr "Bevat niks"
856
+
857
+ #~ msgid "Less than"
858
+ #~ msgstr "Minder dan"
859
+
860
+ #~ msgid "Less than or equal to"
861
+ #~ msgstr "Minder dan of gelijk aan"
862
+
863
+ #~ msgid "Equals to"
864
+ #~ msgstr "Gelijk aan"
865
+
866
+ #~ msgid "Greater than or equal to"
867
+ #~ msgstr "Groter dan of gelijk aan"
868
+
869
+ #~ msgid "Greater than"
870
+ #~ msgstr "Groter dan"
871
+
872
+ #~ msgid "Search for a product&hellip;"
873
+ #~ msgstr "Zoek voor een product&hellip;"
874
+
875
+ #~ msgid "Select a category"
876
+ #~ msgstr "Selecteer een categorie"
877
+
878
+ #~ msgid "Threshold"
879
+ #~ msgstr "Threshold"
880
+
881
+ #~ msgid "Field name in checkout page"
882
+ #~ msgstr "Veldnaam op de afrekenpagina"
883
+
884
+ #~ msgid "String operator"
885
+ #~ msgstr "String-operator"
886
+
887
+ #~ msgid "Is"
888
+ #~ msgstr "Is"
889
+
890
+ #~ msgid "Is not"
891
+ #~ msgstr "Is niet"
892
+
893
+ #~ msgid "Contains"
894
+ #~ msgstr "Bevat"
895
+
896
+ #~ msgid "Number"
897
+ #~ msgstr "Nummer"
898
+
899
+ #~ msgid "Equal to"
900
+ #~ msgstr "Gelijk aan"
901
+
902
+ #~ msgid "Field value in checkout page"
903
+ #~ msgstr "Veld waarde op de afrekenpagina"
904
+
905
+ #~ msgid "Remove"
906
+ #~ msgstr "Verwijder"
907
+
908
+ #~ msgid "Checkout field"
909
+ #~ msgstr "Afreken veld"
910
+
911
+ #~ msgid "MailChimp field"
912
+ #~ msgstr "Mailchimp veld"
913
+
914
+ #~ msgid "Update fields"
915
+ #~ msgstr "Update velden"
916
+
917
+ #~ msgid "toggle"
918
+ #~ msgstr "toggle"
919
+
920
+ #~ msgid "remove"
921
+ #~ msgstr "verwijder"
922
+
923
+ #~ msgid "Options Set #"
924
+ #~ msgstr "Opties ingesteld #"
925
+
926
+ #~ msgid "Lists & Groups"
927
+ #~ msgstr "Lijst & Groepen"
928
+
929
+ #~ msgid "Select an interest group for the user"
930
+ #~ msgstr "Selecteer een interessegroep voor de gebruiker"
931
+
932
+ #~ msgid "+ Add New Field"
933
+ #~ msgstr "+ Voeg nieuw veld toe"
934
+
935
+ #~ msgid ""
936
+ #~ "Select the checkout field to connect with the MailChimp list merge var"
937
+ #~ msgstr ""
938
+ #~ "Selecteer het uitcheckveld om verbinding te maken met de Mailchimp-lijst "
939
+ #~ "samenvoegvariabele"
940
+
941
+ #~ msgid "Conditions"
942
+ #~ msgstr "Condities"
943
+
944
+ #~ msgid "+ Add New Condition"
945
+ #~ msgstr "+ Voeg nieuwe Conditie toe"
946
+
947
+ #~ msgid ""
948
+ #~ "Select order matching conditions for user's subscription; all conditions "
949
+ #~ "selected must be matched in order to complete subscription"
950
+ #~ msgstr ""
951
+ #~ "Selecteer de voorwaarden voor het matchen van de bestelling voor het "
952
+ #~ "abonnement van de gebruiker; alle geselecteerde voorwaarden moeten "
953
+ #~ "overeenkomen om het abonnement te voltooien"
954
+
955
+ #~ msgid "+ Add option set"
956
+ #~ msgstr "+ Voeg nieuwe optie set toe"
957
+
958
+ #~ msgid ""
959
+ #~ "Click \"Add option set\" button to add a bunch of options; don't forget "
960
+ #~ "to save, when you're done"
961
+ #~ msgstr ""
962
+ #~ "Klik op de knop \"Add option set\" om een aantal opties toe te voegen; "
963
+ #~ "vergeet niet te bewaren, als je klaar bent"
964
+
965
+ #~ msgid "Field name"
966
+ #~ msgstr "Veld naam"
967
+
968
+ #~ msgid "Merge var"
969
+ #~ msgstr "voeg "
970
+
971
+ #~ msgid ""
972
+ #~ "Select the checkout field that will be connected to MailChimp's list "
973
+ #~ "merge var"
974
+ #~ msgstr ""
975
+ #~ "Selecteer het afrekeningsveld dat zal worden verbonden met de lijst "
976
+ #~ "samenvoegen van MailChimp's"
977
+
978
+ #~ msgid "From"
979
+ #~ msgstr "Van"
980
+
981
+ #~ msgid "To"
982
+ #~ msgstr "Naar"
983
+
984
+ #~ msgid "Street Address"
985
+ #~ msgstr "Addres"
986
+
987
+ #~ msgid "Address Line 2"
988
+ #~ msgstr "Addres Lijn 2"
989
+
990
+ #~ msgid "City"
991
+ #~ msgstr "Stad"
992
+
993
+ #~ msgid "State/Province"
994
+ #~ msgstr "Staat/Provincie"
995
+
996
+ #~ msgid "Zip"
997
+ #~ msgstr "Postcode"
modules/yith-woocommerce-mailchimp/languages/yith-woocommerce-mailchimp.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
5
- "POT-Creation-Date: 2017-05-05 13:15+0200\n"
6
  "PO-Revision-Date: 2015-04-20 10:10+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
@@ -59,7 +59,7 @@ msgstr ""
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
- #: includes/class.yith-wcmc.php:503
63
  #, php-format
64
  msgid "MAILCHIMP ERROR: (%s) %s"
65
  msgstr ""
@@ -125,13 +125,13 @@ msgctxt "MailChimp error translation (214)"
125
  msgid "You submitted an email address that is already subscribed to the list."
126
  msgstr ""
127
 
128
- #: init.php:123
129
  msgid ""
130
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
131
  "WooCommerce in order to work."
132
  msgstr ""
133
 
134
- #: init.php:133
135
  msgid ""
136
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
137
  "are using the premium one."
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Mailchimp\n"
5
+ "POT-Creation-Date: 2018-02-01 11:58+0100\n"
6
  "PO-Revision-Date: 2015-04-20 10:10+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: includes/class.yith-wcmc.php:546
63
  #, php-format
64
  msgid "MAILCHIMP ERROR: (%s) %s"
65
  msgstr ""
125
  msgid "You submitted an email address that is already subscribed to the list."
126
  msgstr ""
127
 
128
+ #: init.php:125
129
  msgid ""
130
  "YITH WooCommerce MailChimp is enabled but not effective. It requires "
131
  "WooCommerce in order to work."
132
  msgstr ""
133
 
134
+ #: init.php:135
135
  msgid ""
136
  "You can't activate the free version of YITH WooCommerce MailChimp while you "
137
  "are using the premium one."
modules/yith-woocommerce-mailchimp/plugin-options/checkout-options.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/plugin-options/integration-options.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/templates/admin/mailchimp-panel-premium.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/templates/admin/types/integration-status.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/templates/mailchimp-subscription-checkbox.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/uninstall.php CHANGED
File without changes
modules/yith-woocommerce-mailchimp/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/css/tooltipster.css CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/css/ywot_style.css CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  /* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
2
  .tooltipster-default {
3
  border-radius: 5px;
1
+ .woocommerce table.my_account_orders .button.track-button{
2
+ margin-left: 0!important;
3
+ top: 0!important;
4
+ }
5
+
6
+
7
  /* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
8
  .tooltipster-default {
9
  border-radius: 5px;
modules/yith-woocommerce-order-tracking/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/order-picked-up.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/shipping-icon.jpg CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/images/yith-woocommerce-order-tracking-video.jpg CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/js/jquery.tooltipster.min.js CHANGED
File without changes
modules/yith-woocommerce-order-tracking/assets/js/ywot.js CHANGED
File without changes
modules/yith-woocommerce-order-tracking/class.yith-woocommerce-order-tracking.php CHANGED
@@ -91,7 +91,7 @@ if ( ! class_exists ( 'YITH_WooCommerce_Order_Tracking' ) ) {
91
  /**
92
  * Show icon on order list for picked up orders
93
  */
94
- add_action ( 'manage_shop_order_posts_custom_column', array( $this, 'prepare_picked_up_icon' ) );
95
 
96
  /**
97
  * Set default carrier name on new orders
@@ -264,7 +264,7 @@ if ( ! class_exists ( 'YITH_WooCommerce_Order_Tracking' ) ) {
264
  }
265
 
266
  $message = $this->get_picked_up_message ( $data );
267
- echo '<a class="track-button ' . $css_class . ' " style="display:inline-block;height:25px; padding-top:0; padding-bottom:0" href="#" data-title="' . $message . '"><img class="track-button" style="height:25px;" src="' . YITH_YWOT_ASSETS_URL . '/images/order-picked-up.png" data-title="' . $message . '" /></a>';
268
  }
269
 
270
  /**
@@ -295,15 +295,20 @@ if ( ! class_exists ( 'YITH_WooCommerce_Order_Tracking' ) ) {
295
  * @return void
296
  */
297
  public function register_order_tracking_actions() {
298
-
299
  if ( ! isset( $this->order_text_position ) || ( 1 == $this->order_text_position ) ) {
300
- add_action ( 'woocommerce_order_items_table', array( $this, 'add_order_shipping_details' ) );
 
 
 
 
 
301
  } else {
302
- add_action ( 'woocommerce_order_details_after_order_table', array(
303
  $this,
304
  'add_order_shipping_details',
305
  ) );
306
-
307
  }
308
  }
309
 
91
  /**
92
  * Show icon on order list for picked up orders
93
  */
94
+ add_action ( 'manage_shop_order_posts_custom_column', array( $this, 'prepare_picked_up_icon' ),50 );
95
 
96
  /**
97
  * Set default carrier name on new orders
264
  }
265
 
266
  $message = $this->get_picked_up_message ( $data );
267
+ echo '<a class="track-button ' . $css_class . ' " style="display:inline-block;height:25px; padding-top:0; padding-bottom:0; top: 10px; position: relative; margin-left:10px" href="#" data-title="' . $message . '"><img class="track-button" style="height:25px;" src="' . YITH_YWOT_ASSETS_URL . '/images/order-picked-up.png" data-title="' . $message . '" /></a>';
268
  }
269
 
270
  /**
295
  * @return void
296
  */
297
  public function register_order_tracking_actions() {
298
+
299
  if ( ! isset( $this->order_text_position ) || ( 1 == $this->order_text_position ) ) {
300
+ if( version_compare( WC()->version,'3.0.0','<' ) ){
301
+ add_action( 'woocommerce_order_items_table', array( $this, 'add_order_shipping_details' ) );
302
+ }else{
303
+ add_action( 'woocommerce_order_details_after_order_table_items', array( $this, 'add_order_shipping_details' ) );
304
+ }
305
+
306
  } else {
307
+ add_action( 'woocommerce_order_details_after_order_table', array(
308
  $this,
309
  'add_order_shipping_details',
310
  ) );
311
+
312
  }
313
  }
314
 
modules/yith-woocommerce-order-tracking/init.php CHANGED
@@ -5,15 +5,17 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-order-tracking/
5
  Description: Easy managing order tracking information for WooCommerce orders. Set the carrier and the tracking code and your customers will get notified about their shipping.
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-order-tracking
8
- Version: 1.1.3
9
  Author URI: http://yithemes.com/
 
 
10
 
11
  @author Yithemes
12
  @package YITH WooCommerce Order Tracking
13
- @version 1.1.3
14
  */
15
 
16
- /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
18
  This program is free software; you can redistribute it and/or modify
19
  it under the terms of the GNU General Public License, version 2, as
@@ -64,7 +66,7 @@ if ( ! defined( 'YITH_YWOT_FREE_INIT' ) ) {
64
  }
65
 
66
  if ( ! defined( 'YITH_YWOT_VERSION' ) ) {
67
- define( 'YITH_YWOT_VERSION', '1.1.3' );
68
  }
69
 
70
  if ( ! defined( 'YITH_YWOT_FILE' ) ) {
5
  Description: Easy managing order tracking information for WooCommerce orders. Set the carrier and the tracking code and your customers will get notified about their shipping.
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-order-tracking
8
+ Version: 1.2.1
9
  Author URI: http://yithemes.com/
10
+ WC requires at least: 3.0.0
11
+ WC tested up to: 3.3.x
12
 
13
  @author Yithemes
14
  @package YITH WooCommerce Order Tracking
15
+ @version 1.2.1
16
  */
17
 
18
+ /* Copyright 2018 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
20
  This program is free software; you can redistribute it and/or modify
21
  it under the terms of the GNU General Public License, version 2, as
66
  }
67
 
68
  if ( ! defined( 'YITH_YWOT_VERSION' ) ) {
69
+ define( 'YITH_YWOT_VERSION', '1.2.1' );
70
  }
71
 
72
  if ( ! defined( 'YITH_YWOT_FILE' ) ) {
modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-order-tracking/languages/yith-woocommerce-order-tracking.pot CHANGED
File without changes
modules/yith-woocommerce-order-tracking/plugin-options/general-options.php CHANGED
File without changes
modules/yith-woocommerce-order-tracking/plugin-options/premium-landing-options.php CHANGED
File without changes
modules/yith-woocommerce-order-tracking/templates/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-order-tracking/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/color-picker.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/color-picker.min.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-anim_basic_16x16.gif CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_diagonals-thick_20_666666_40x40.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_flat_10_000000_40x100.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_100_fdf5ce_1x400.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_222222_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_228ef1_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_444444_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_555555_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_777620_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_777777_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_cc0000_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ef8c08_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffd27a_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffffff_256x240 (1).png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/images/ui-icons_ffffff_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/jquery-ui.min.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/yith-wapo-admin.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/yith-wapo.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/yith-wccl-admin.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/css/yith-wccl.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/blank.gif CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_background.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hex.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_b.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_h.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_hsb_s.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_indic.gif CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_overlay.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_b.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_g.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_rgb_r.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_select.gif CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/colorpicker_submit.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_background.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_hex.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_b.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_h.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_hsb_s.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_indic.gif CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_b.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_g.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_rgb_r.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/custom_submit.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/description-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/placeholder.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/select.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/select2.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/slider.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/01.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/02.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/03.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/04.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/img/tab-premium/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/accounting.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/accounting.min.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/color-picker.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/color-picker.min.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/colorpicker.min.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/iris.min.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/external/jquery/jquery.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_444444_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_555555_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_777620_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_777777_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_cc0000_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/images/ui-icons_ffffff_256x240.png CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.min.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.min.js CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.structure.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.structure.min.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.theme.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/jquery-ui/jquery-ui.theme.min.css CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.js CHANGED
@@ -193,6 +193,8 @@ jQuery(document).ready( function($) {
193
 
194
  yith_wapo_group_total.fadeIn();
195
 
 
 
196
  } else {
197
 
198
  yith_wapo_group_total.fadeOut();
193
 
194
  yith_wapo_group_total.fadeIn();
195
 
196
+ $(document).trigger( 'yith_wapo_product_price_updated', [ yith_wapo_product_price + yith_wapo_option_total_price ] );
197
+
198
  } else {
199
 
200
  yith_wapo_group_total.fadeOut();
modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.min.js CHANGED
@@ -1 +1,17 @@
1
- jQuery(document).ready(function(a){"use strict";function b(){"use strcit";a("body").find("form:not(.in_loop).cart").each(function(){a(this).init_yith_wapo_totals(),a(this).find(".variations select").change()}),a("body").find(".ywapo_option_description").each(function(){var b=a(this).data("tooltip");b&&c(a(this),b)}),a(".ywapo_input_container_color .wp-color-picker").wpColorPicker({change:function(b,c){var d=a(this).closest(".ywapo_input_container_color"),e=d.find("input.ywapo_input_color");e.val(c.color.toString()),e.change()},clear:function(){var b=a(this).closest(".ywapo_input_container_color"),c=b.find("input.ywapo_input_color");c.val(""),c.change()}}),a(".ywapo_datepicker").each(function(){a(this).datepicker()})}function c(b,c){"use strcit";var d=a('<span class="yith_wccl_tooltip"></span>'),e=yith_wapo_general.tooltip_pos+" "+yith_wapo_general.tooltip_ani;d.addClass(e),b.append(d.html("<span>"+c+"</span>"))}return"undefined"!=typeof yith_wapo_general&&(a.fn.init_yith_wapo_totals=function(){function b(b){"use strcit";var c=a(".yith_wapo_groups_container");if("undefined"!=typeof c){var f=c.find("input.ywapo_input.ywapo_price_percentage, select.ywapo_input option.ywapo_price_percentage, textarea.ywapo_input.ywapo_price_percentage"),g=0;f.each(function(){var h=a(this);if("undefined"!=typeof h.data("pricetype")&&"fixed"!=h.data("pricetype")){var i=h.closest(".ywapo_input_container");a.ajax({url:yith_wapo_general.wc_ajax_url.toString().replace("%%endpoint%%","yith_wapo_update_variation_price"),type:"POST",data:{variation_id:b.variation_id,variation_price:b.display_price,type_id:h.data("typeid"),option_index:h.data("index")},beforeSend:function(){0==g&&d(c)},success:function(b){if(!b.error&&""!=b){h.attr("data-price",b);var d=l(parseFloat(b));if(i.find("span.amount").html(d),""!=h.text()){var j=h.text().split("+");if(j.length>0){j=j[0]+" + "+d,h.addClass("ywapo_option_price_chaged");var k=h.closest(".ywapo_group_container"),m=k.find("select"),n=m.attr("sb");if("undefined"!=typeof n){var o=h.data("index"),p=a(a("#sbOptions_"+n).find("li").get(parseInt(o)+1)).find("a");p.html(j)}}h.html(j)}g++,g==f.length&&e(c)}}})}})}}function c(b){var c=!0;return b.find(".ywapo_group_container").each(function(){var b=a(this);if("undefined"!=typeof b&&!b.hasClass("ywapo_conditional_hidden")){var d=b.data("type"),e="1"==b.data("requested"),f=!0;switch(d){case"text":case"textarea":case"number":case"file":case"date":case"range":b.find("input.ywapo_input, textarea.ywapo_input").each(function(){return""==a(this).val()&&"required"==a(this).attr("required")?(e=!0,void(f=!1)):""==a(this).val()?void(f=!1):void 0});break;case"color":b.find("input.ywapo_input_color").each(function(){if(""==a(this).val())return void(f=!1)});break;case"select":f=""!=b.find("select.ywapo_input").val();break;case"labels":f=b.find(".ywapo_input_container_labels.ywapo_selected").length>0;break;case"checkbox":if(e){var g=b.find(".ywapo_input").length,h=b.find(".ywapo_input:checked").length;f=g>0&&g==h}else b.find(".ywapo_input").each(function(){if(!a(this).is(":checked")&&"required"==a(this).attr("required"))return e=!0,void(f=!1)});break;case"radio":f=!1,b.find("input.ywapo_input").each(function(){if(a(this).is(":checked"))return void(f=!0)})}if(e&&!f)return c=!1,void b.addClass("ywapo_miss_required");b.removeClass("ywapo_miss_required")}}),c||a("html, body").animate({scrollTop:a("#yith_wapo_groups_container").offset().top},2e3),c}function d(a){"use strcit";a.block({message:"",overlayCSS:{backgroundColor:"#fff",opacity:.6,cursor:"wait"}})}function e(a){"use strcit";a.unblock()}function f(b,c){var d=c.data("type"),e=!1;if("select"==d||"radio"==d)e=""!=b.val();else switch(d){case"checkbox":c.find('input[type="checkbox"].ywapo_input').each(function(){if(a(this).is(":checked"))return void(e=!0)});break;case"labels":var f=0;c.find('input[type="hidden"].ywapo_input').each(function(){if(""!=a(this).val())return f++,!0}),e=f>0;break;case"text":case"textarea":case"number":case"file":case"color":case"date":case"range":c.find("input.ywapo_input").each(function(){if(""!=a(this).val())return void(e=!0)});break;case"textarea":c.find("textarea.ywapo_input").each(function(){if(""!=a(this).val())return void(e=!0)})}return e&&c.removeClass("ywapo_miss_required"),e}function g(b,c,d){"use strcit";var e=d.data("id");if("undefined"!=typeof e){var g=f(a(c),d);b.find(".ywapo_group_container").each(function(){var b=a(this).closest(".ywapo_group_container");if("undefined"!=typeof b){var c=b.data("id");if(e!=c){var d=b.data("condition");if(""!=d){d=d.toString().split(",");var f=j(d);if(f){if(!b.hasClass("ywapo_conditional_hidden"))return b.addClass("ywapo_conditional_hidden"),i(b),!0}else{var k=a.inArray(e.toString(),d);0==k&&(g?(b.removeClass("ywapo_conditional_hidden"),h(b)):(b.addClass("ywapo_conditional_hidden"),i(b)))}}}}})}}function h(b){"use strcit";b.find("input, select, textarea").each(function(){a(this).removeAttr("disabled"),a(this).change()})}function i(b){"use strcit";b.find("input, select, textarea").each(function(){a(this).attr("disabled","disabled")})}function j(b){var c=!1;return a(".yith_wapo_groups_container").find(".ywapo_group_container").each(function(){var d=a(this).data("id");if(0==a.inArray(d.toString(),b)&&a(this).hasClass("ywapo_conditional_hidden"))return void(c=!0)}),c}function k(b){var c=0;return b.find('.ywapo_input:checked, select.ywapo_input option:selected, input[type="text"].ywapo_input, input[type="number"].ywapo_input, input[type="file"].ywapo_input, input[type="color"].ywapo_input, input[type="date"].ywapo_input,input[type="hidden"].ywapo_input ,textarea.ywapo_input').each(function(){var b=a(this).closest(".ywapo_group_container");if("undefined"!=typeof b&&!b.hasClass("ywapo_conditional_hidden")){var d=b.data("type"),e=!1;switch(d){case"text":case"textarea":case"number":case"file":case"color":case"date":case"labels":""!=a(this).val().trim()&&(e=!0);break;default:e=!0}if(e){var f=a(this).data("price");"undefined"!=typeof f&&f>=0&&(c+=parseFloat(f))}}}),c}function l(a){var b=accounting.formatMoney(a,{symbol:yith_wapo_general.currency_format_symbol,decimal:yith_wapo_general.currency_format_decimal_sep,thousand:yith_wapo_general.currency_format_thousand_sep,precision:yith_wapo_general.currency_format_num_decimals,format:yith_wapo_general.currency_format});return b}a(this).on("change",".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea, input.qty",function(b){var c=a(this);a(this).trigger("yith-wapo-product-option-conditional",c),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("found_variation",function(c,d){var f=(a(this),a(".yith_wapo_group_total")),g=0;if("undefined"!=typeof d.display_price)g=d.display_price;else if(a(d.price_html).find(".amount:last").size()){a(".cart");g=a(d.price_html).find(".amount:last").text(),g=l(g)}f.data("product-price",g),b(d),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("yith-wapo-product-option-update",function(){var b=a(this),c=a(".yith_wapo_group_total"),d=k(b);if(d>0){if(b.find("input.qty").size())var e=parseFloat(b.find("input.qty").val());else var e=1;d*=e;var f=a(".yith-wcpb-product-bundled-items"),g=b.find(".single_variation");"undefined"!=typeof g&&0==f.length&&g.after(c);var h=l(d),i=0,c=a(".yith_wapo_group_total"),j=parseFloat(c.data("product-price")),m=c.find(".yith_wapo_group_option_total span.price"),n=c.find(".yith_wapo_group_final_total span.price");m.html(h),i=j*e+d;var o=l(i);n.html(o),c.fadeIn()}else c.fadeOut()}),a(this).on("click",".ywapo_input_container.ywapo_input_container_labels",function(b){var c=a(this).find('input[type="hidden"]');if(""!=c.val())c.val(""),a(this).removeClass("ywapo_selected");else{var d=a(".ywapo_input_container.ywapo_input_container_labels");d.removeClass("ywapo_selected"),d.find('input[type="hidden"]').val(""),a(this).addClass("ywapo_selected"),c.val(c.data("index"))}a(this).trigger("yith-wapo-product-option-conditional",c),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("yith-wapo-product-option-conditional",function(b,c){var d=a(c).closest(".ywapo_group_container");g(a(this),c,d)}),a(this).on("click",".single_add_to_cart_button",function(b){var d=a(this).closest("form.cart");return yith_wapo_general.do_submit=c(d),yith_wapo_general.do_submit}),a(document).on("yith_ywraq_action_before",function(){return m=a("form.cart"),yith_wapo_general.do_submit=c(m),yith_wapo_general.do_submit});var m=a(this);m.find(".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea").each(function(){m.trigger("yith-wapo-product-option-conditional",a(this))}),m.trigger("yith-wapo-product-option-update")},b(),void a(document).on("qv_loader_stop yit_quick_view_loaded",function(){b()}))});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function(b){function p(){"use strcit";b("body").find("form:not(.in_loop).cart").each(function(){b(this).init_yith_wapo_totals();b(this).find(".variations select").change()});b("body").find(".ywapo_option_description").each(function(){var h=b(this).data("tooltip");if(h){var m=b(this);"use strcit";var k=b('<span class="yith_wccl_tooltip"></span>');k.addClass(yith_wapo_general.tooltip_pos+" "+yith_wapo_general.tooltip_ani);m.append(k.html("<span>"+h+"</span>"))}});b(".ywapo_input_container_color .wp-color-picker").wpColorPicker({change:function(h,
2
+ m){var k=b(this).closest(".ywapo_input_container_color").find("input.ywapo_input_color");k.val(m.color.toString());k.change()},clear:function(){var h=b(this).closest(".ywapo_input_container_color").find("input.ywapo_input_color");h.val("");h.change()}});b(".ywapo_datepicker").each(function(){b(this).datepicker()})}if("undefined"===typeof yith_wapo_general)return!1;b.fn.init_yith_wapo_totals=function(){function h(a){"use strcit";var c=b(".yith_wapo_groups_container");if("undefined"!=typeof c){var f=
3
+ c.find("input.ywapo_input.ywapo_price_percentage, select.ywapo_input option.ywapo_price_percentage, textarea.ywapo_input.ywapo_price_percentage"),d=0;f.each(function(){var e=b(this);if("undefined"!=typeof e.data("pricetype")&&"fixed"!=e.data("pricetype")){var g=e.closest(".ywapo_input_container");b.ajax({url:yith_wapo_general.wc_ajax_url.toString().replace("%%endpoint%%","yith_wapo_update_variation_price"),type:"POST",data:{variation_id:a.variation_id,variation_price:a.display_price,type_id:e.data("typeid"),
4
+ option_index:e.data("index")},beforeSend:function(){0==d&&("use strcit",c.block({message:"",overlayCSS:{backgroundColor:"#fff",opacity:.6,cursor:"wait"}}))},success:function(a){if(!a.error&&""!=a){e.attr("data-price",a);var l=q(parseFloat(a));g.find("span.amount").html(l);if(""!=e.text()){a=e.text().split("+");if(0<a.length&&(a=a[0]+" + "+l,e.addClass("ywapo_option_price_chaged"),l=e.closest(".ywapo_group_container").find("select").attr("sb"),"undefined"!=typeof l)){var h=e.data("index");b(b("#sbOptions_"+
5
+ l).find("li").get(parseInt(h)+1)).find("a").html(a)}e.html(a)}d++;d==f.length&&("use strcit",c.unblock())}}})}})}}function m(a){var c=!0;a.find(".ywapo_group_container").each(function(){var a=b(this);if("undefined"!=typeof a&&!a.hasClass("ywapo_conditional_hidden")){var d=a.data("type"),e="1"==a.data("requested"),g=!0;switch(d){case "text":case "textarea":case "number":case "file":case "date":case "range":a.find("input.ywapo_input, textarea.ywapo_input").each(function(){""==b(this).val()&&"required"==
6
+ b(this).attr("required")?(e=!0,g=!1):""==b(this).val()&&(g=!1)});break;case "color":a.find("input.ywapo_input_color").each(function(){""==b(this).val()&&(g=!1)});break;case "select":g=""!=a.find("select.ywapo_input").val();break;case "labels":g=0<a.find(".ywapo_input_container_labels.ywapo_selected").length;break;case "checkbox":if(e){d=a.find(".ywapo_input").length;var l=a.find(".ywapo_input:checked").length;g=0<d&&d==l}else a.find(".ywapo_input").each(function(){b(this).is(":checked")||"required"!=
7
+ b(this).attr("required")||(e=!0,g=!1)});break;case "radio":g=!1,a.find("input.ywapo_input").each(function(){b(this).is(":checked")&&(g=!0)})}e&&!g?(c=!1,a.addClass("ywapo_miss_required")):a.removeClass("ywapo_miss_required")}});c||b("html, body").animate({scrollTop:b("#yith_wapo_groups_container").offset().top},2E3);return c}function k(a,c){var f=c.data("type"),d=!1;if("select"==f||"radio"==f)d=""!=a.val()?!0:!1;else switch(f){case "checkbox":c.find('input[type="checkbox"].ywapo_input').each(function(){b(this).is(":checked")&&
8
+ (d=!0)});break;case "labels":var e=0;c.find('input[type="hidden"].ywapo_input').each(function(){if(""!=b(this).val())return e++,!0});d=0<e;break;case "text":case "textarea":case "number":case "file":case "color":case "date":case "range":c.find("input.ywapo_input").each(function(){""!=b(this).val()&&(d=!0)});break;case "textarea":c.find("textarea.ywapo_input").each(function(){""!=b(this).val()&&(d=!0)})}d&&c.removeClass("ywapo_miss_required");return d}function p(a,c,f){"use strcit";var d=f.data("id");
9
+ if("undefined"!=typeof d){var e=k(b(c),f);a.find(".ywapo_group_container").each(function(){var a=b(this).closest(".ywapo_group_container");if("undefined"!=typeof a){var c=a.data("id");if(d!=c&&(c=a.data("condition"),""!=c))if(c=c.toString().split(","),t(c)){if(!a.hasClass("ywapo_conditional_hidden"))return a.addClass("ywapo_conditional_hidden"),r(a),!0}else 0==b.inArray(d.toString(),c)&&(e?(a.removeClass("ywapo_conditional_hidden"),u(a)):(a.addClass("ywapo_conditional_hidden"),r(a)))}})}}function u(a){"use strcit";
10
+ a.find("input, select, textarea").each(function(){b(this).removeAttr("disabled");b(this).change()})}function r(a){"use strcit";a.find("input, select, textarea").each(function(){b(this).attr("disabled","disabled")})}function t(a){var c=!1;b(".yith_wapo_groups_container").find(".ywapo_group_container").each(function(){var f=b(this).data("id");0==b.inArray(f.toString(),a)&&b(this).hasClass("ywapo_conditional_hidden")&&(c=!0)});return c}function v(a){var c=0;a.find('.ywapo_input:checked, select.ywapo_input option:selected, input[type="text"].ywapo_input, input[type="number"].ywapo_input, input[type="file"].ywapo_input, input[type="color"].ywapo_input, input[type="date"].ywapo_input,input[type="hidden"].ywapo_input ,textarea.ywapo_input').each(function(){var a=
11
+ b(this).closest(".ywapo_group_container");if("undefined"!=typeof a&&!a.hasClass("ywapo_conditional_hidden")){var d=!1;switch(a.data("type")){case "text":case "textarea":case "number":case "file":case "color":case "date":case "labels":""!=b(this).val().trim()&&(d=!0);break;default:d=!0}d&&(a=b(this).data("price"),"undefined"!=typeof a&&0<=a&&(c+=parseFloat(a)))}});return c}function q(a){return accounting.formatMoney(a,{symbol:yith_wapo_general.currency_format_symbol,decimal:yith_wapo_general.currency_format_decimal_sep,
12
+ thousand:yith_wapo_general.currency_format_thousand_sep,precision:yith_wapo_general.currency_format_num_decimals,format:yith_wapo_general.currency_format})}b(this).on("change",".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea, input.qty",function(a){a=b(this);b(this).trigger("yith-wapo-product-option-conditional",a);b(this).trigger("yith-wapo-product-option-update")});b(this).on("found_variation",function(a,c){b(this);var f=b(".yith_wapo_group_total"),
13
+ d=0;"undefined"!==typeof c.display_price?d=c.display_price:b(c.price_html).find(".amount:last").size()&&(b(".cart"),d=b(c.price_html).find(".amount:last").text(),d=q(d));f.data("product-price",d);h(c);b(this).trigger("yith-wapo-product-option-update")});b(this).on("yith-wapo-product-option-update",function(){var a=b(this),c=b(".yith_wapo_group_total"),f=v(a);if(0<f){var d=a.find("input.qty").size()?parseFloat(a.find("input.qty").val()):1;f*=d;var e=b(".yith-wcpb-product-bundled-items");a=a.find(".single_variation");
14
+ "undefined"!=typeof a&&0==e.length&&a.after(c);var g=q(f);c=b(".yith_wapo_group_total");e=parseFloat(c.data("product-price"));var h=c.find(".yith_wapo_group_option_total span.price");a=c.find(".yith_wapo_group_final_total span.price");h.html(g);d=q(e*d+f);a.html(d);c.fadeIn();b(document).trigger("yith_wapo_product_price_updated",[e+f])}else c.fadeOut()});b(this).on("click",".ywapo_input_container.ywapo_input_container_labels",function(a){a=b(this).find('input[type="hidden"]');if(""!=a.val())a.val(""),
15
+ b(this).removeClass("ywapo_selected");else{var c=b(".ywapo_input_container.ywapo_input_container_labels");c.removeClass("ywapo_selected");c.find('input[type="hidden"]').val("");b(this).addClass("ywapo_selected");a.val(a.data("index"))}b(this).trigger("yith-wapo-product-option-conditional",a);b(this).trigger("yith-wapo-product-option-update")});b(this).on("yith-wapo-product-option-conditional",function(a,c){var f=b(c).closest(".ywapo_group_container");p(b(this),c,f)});b(this).on("click",".single_add_to_cart_button",
16
+ function(a){a=b(this).closest("form.cart");yith_wapo_general.do_submit=m(a);return yith_wapo_general.do_submit});b(document).on("yith_ywraq_action_before",function(){n=b("form.cart");yith_wapo_general.do_submit=m(n);return yith_wapo_general.do_submit});"use strcit";var n=b(this);n.find(".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea").each(function(){n.trigger("yith-wapo-product-option-conditional",b(this))});n.trigger("yith-wapo-product-option-update")};
17
+ p();b(document).on("qv_loader_stop yit_quick_view_loaded",function(){p()})});
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-admin.php CHANGED
@@ -286,7 +286,7 @@ if ( ! class_exists( 'YITH_WAPO_Admin' ) ) {
286
  * @since 1.0.0
287
  */
288
  public function enqueue_styles_scripts() {
289
- global $pagenow;
290
 
291
  /*
292
  * Js
@@ -297,16 +297,29 @@ if ( ! class_exists( 'YITH_WAPO_Admin' ) ) {
297
  // wp_enqueue_script( 'jquery-ui-core' );
298
  // wp_enqueue_script( 'jquery-ui-datepicker' );
299
  // wp_enqueue_script( 'jquery-ui-sortable' );
 
 
300
 
301
- // select2
302
- wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.min.js', array( 'jquery' ) );
303
- wp_enqueue_script( 'select2' );
 
 
 
 
 
 
304
 
305
- wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select.min.js', array( 'jquery', 'select2' ) );
306
- wp_enqueue_script( 'wc-enhanced-select' );
307
 
308
- wp_register_script( 'wc-tooltip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery', 'select2' ) );
309
- wp_enqueue_script( 'wc-tooltip' );
 
 
 
 
 
 
310
 
311
  /*
312
  * Css
286
  * @since 1.0.0
287
  */
288
  public function enqueue_styles_scripts() {
289
+ global $pagenow, $woocommerce;
290
 
291
  /*
292
  * Js
297
  // wp_enqueue_script( 'jquery-ui-core' );
298
  // wp_enqueue_script( 'jquery-ui-datepicker' );
299
  // wp_enqueue_script( 'jquery-ui-sortable' );
300
+
301
+ if ( version_compare( WC()->version, '3.0', '<' ) ) {
302
 
303
+ // select2
304
+ wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.min.js', array( 'jquery' ) );
305
+ wp_enqueue_script( 'select2' );
306
+
307
+ wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select.min.js', array( 'jquery', 'select2' ) );
308
+ wp_enqueue_script( 'wc-enhanced-select' );
309
+
310
+ wp_register_script( 'wc-tooltip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery', 'select2' ) );
311
+ wp_enqueue_script( 'wc-tooltip' );
312
 
313
+ } else {
 
314
 
315
+ // selectWoo
316
+ wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select.min.js', array( 'jquery', 'select2', 'selectWoo' ) );
317
+ wp_enqueue_script( 'wc-enhanced-select');
318
+
319
+ wp_register_script( 'wc-tooltip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery', 'select2', 'selectWoo' ) );
320
+ wp_enqueue_script( 'wc-tooltip' );
321
+
322
+ }
323
 
324
  /*
325
  * Css
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-frontend.php CHANGED
@@ -329,12 +329,12 @@ if ( ! class_exists( 'YITH_WAPO_Frontend' ) ) {
329
 
330
  // arg type exception
331
 
332
- if( $type=='text' || $type=='number' || $type=='range' || $type=='textarea' || $type=='color' || $type=='date' ) {
333
  $value='';
334
  }
335
 
336
 
337
- if( $type=='radio' || $type=='checkbox' ) {
338
  $label_position='after';
339
  }
340
 
329
 
330
  // arg type exception
331
 
332
+ if ( $type=='text' || $type=='number' || $type=='range' || $type=='textarea' || $type=='color' || $type=='date' ) {
333
  $value='';
334
  }
335
 
336
 
337
+ if ( $type=='radio' || $type=='checkbox' ) {
338
  $label_position='after';
339
  }
340
 
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-group.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-option.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-settings.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-type.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-wpml.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/includes/function.yith-wapo-update.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/init.php CHANGED
@@ -2,14 +2,15 @@
2
  /**
3
  * Plugin Name: YITH WooCommerce Product Add-Ons
4
  * Description: YITH WooCommerce Product Add-Ons
5
- * Version: 1.0.6
6
  * Author: YITHEMES
7
  * Author URI: http://yithemes.com/
8
  * Text Domain: yith-woocommerce-product-add-ons
9
  * License: GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Domain Path: /languages/
12
- *
 
13
  *
14
  * @author YITHEMES
15
  * @package YITH WooCommerce Product Add-Ons
@@ -59,6 +60,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
  ! defined( 'YITH_WAPO_DIR' ) && define( 'YITH_WAPO_DIR', plugin_dir_path( __FILE__ ) );
61
 
 
62
  // This version can't be activate if premium version is active ________________________________________
63
  if ( defined( 'YITH_WAPO_PREMIUM' ) ) {
64
  function yith_wapo_install_free_admin_notice() {
@@ -82,7 +84,7 @@ if ( defined( 'YITH_WAPO_PREMIUM' ) ) {
82
  ! defined( 'YITH_WAPO_TEMPLATE_ADMIN_PATH' ) && define( 'YITH_WAPO_TEMPLATE_ADMIN_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/admin/' );
83
  ! defined( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH' ) && define( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/frontend/' );
84
  ! defined( 'YITH_WAPO_ASSETS_URL' ) && define( 'YITH_WAPO_ASSETS_URL', YITH_WAPO_URL . 'assets' );
85
- ! defined( 'YITH_WAPO_VERSION' ) && define( 'YITH_WAPO_VERSION', '1.0.4' );
86
  ! defined( 'YITH_WAPO_DB_VERSION' ) && define( 'YITH_WAPO_DB_VERSION', '1.0.1' );
87
  ! defined( 'YITH_WAPO_FILE' ) && define( 'YITH_WAPO_FILE', __FILE__ );
88
  ! defined( 'YITH_WAPO_SLUG' ) && define( 'YITH_WAPO_SLUG', 'yith-woocommerce-advanced-product-options' );
2
  /**
3
  * Plugin Name: YITH WooCommerce Product Add-Ons
4
  * Description: YITH WooCommerce Product Add-Ons
5
+ * Version: 1.1.1
6
  * Author: YITHEMES
7
  * Author URI: http://yithemes.com/
8
  * Text Domain: yith-woocommerce-product-add-ons
9
  * License: GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Domain Path: /languages/
12
+ * WC requires at least: 2.6.0
13
+ * WC tested up to: 3.2.0
14
  *
15
  * @author YITHEMES
16
  * @package YITH WooCommerce Product Add-Ons
60
 
61
  ! defined( 'YITH_WAPO_DIR' ) && define( 'YITH_WAPO_DIR', plugin_dir_path( __FILE__ ) );
62
 
63
+
64
  // This version can't be activate if premium version is active ________________________________________
65
  if ( defined( 'YITH_WAPO_PREMIUM' ) ) {
66
  function yith_wapo_install_free_admin_notice() {
84
  ! defined( 'YITH_WAPO_TEMPLATE_ADMIN_PATH' ) && define( 'YITH_WAPO_TEMPLATE_ADMIN_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/admin/' );
85
  ! defined( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH' ) && define( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/frontend/' );
86
  ! defined( 'YITH_WAPO_ASSETS_URL' ) && define( 'YITH_WAPO_ASSETS_URL', YITH_WAPO_URL . 'assets' );
87
+ ! defined( 'YITH_WAPO_VERSION' ) && define( 'YITH_WAPO_VERSION', '1.1.1' );
88
  ! defined( 'YITH_WAPO_DB_VERSION' ) && define( 'YITH_WAPO_DB_VERSION', '1.0.1' );
89
  ! defined( 'YITH_WAPO_FILE' ) && define( 'YITH_WAPO_FILE', __FILE__ );
90
  ! defined( 'YITH_WAPO_SLUG' ) && define( 'YITH_WAPO_SLUG', 'yith-woocommerce-advanced-product-options' );
modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons-it_IT.mo CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons-it_IT.po CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/languages/yith-woocommerce-product-add-ons.pot CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/plugin-options/general-options.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/plugin-options/premium-options.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/premium.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-form-option-type.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-group.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/admin/yith-wapo-groups.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-group-container.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-group-type.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/templates/yith_wapo/frontend/yith-wapo-input-base.php CHANGED
File without changes
modules/yith-woocommerce-product-add-ons/wpml-config.xml CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/css/admin.css CHANGED
@@ -15,6 +15,11 @@ label.yith_vendor_enable_featured_products_label {
15
  display: inline;
16
  }
17
 
 
 
 
 
 
18
  .taxonomy-yith_shop_vendor form#edittag {
19
  background: #fff;
20
  padding: 15px;
@@ -115,6 +120,15 @@ select#tax-input-yith_shop_vendor {
115
  text-align: center
116
  }
117
 
 
 
 
 
 
 
 
 
 
118
  .widefat .column-user_actions .action-link {
119
  padding-left: 7px;
120
  }
@@ -148,12 +162,6 @@ select#tax-input-yith_shop_vendor {
148
  width: 160px;
149
  }
150
 
151
- .widefat .column-user_actions a.button.pay {
152
- padding: 0 6px;
153
- height: 2em;
154
- line-height: 1.8em;
155
- }
156
-
157
  .widefat .column-user_actions .action-link mark.cancelled:after,
158
  .widefat .column-user_actions .action-link mark.paid:after,
159
  .widefat .column-user_actions .action-link mark.unpaid:after,
@@ -434,6 +442,11 @@ input#yith_vendor_vat.valid {
434
  margin-top: 10px;
435
  }
436
 
 
 
 
 
 
437
  /* Hide WP Submenu item */
438
  .yith-wcpv-hide-submenu-item {
439
  display: none;
@@ -556,21 +569,27 @@ span.vacation-date-field {
556
 
557
  .yith-wcmv-add-ons{
558
  display: inline-block;
559
- padding: 2px 5px;
560
  font-weight: bold;
561
  font-size: 12px;
562
  margin-left: 10px;
563
  border-radius: 5px;
 
 
 
 
564
  }
565
 
566
- .yith-wcmv-add-ons.coming-soon{
567
- color: #ffffff;
568
  background: #750202;
569
  }
570
 
 
 
 
 
571
 
572
  .yith-wcmv-add-ons.is-new{
573
- color: #ffffff;
574
  background: #57ad03;
575
  }
576
 
@@ -693,6 +712,16 @@ h2.commission-details-product:before{
693
  margin:-3px 10px -3px 0;
694
  }
695
 
 
 
 
 
 
 
 
 
 
 
696
  /* === Edit Vendor === */
697
  label[for=yith_vendor_social_live-chat] small em {
698
  font-weight: bold;
15
  display: inline;
16
  }
17
 
18
+ .taxonomy-yith_shop_vendor span.description{
19
+ line-height: 20px;
20
+ margin-bottom: 15px;
21
+ }
22
+
23
  .taxonomy-yith_shop_vendor form#edittag {
24
  background: #fff;
25
  padding: 15px;
120
  text-align: center
121
  }
122
 
123
+ table.commissions td.user_actions a.view {
124
+ margin-right: 7px;
125
+ }
126
+
127
+ table.commissions td.user_actions a.view,
128
+ table.commissions td.user_actions a.pay {
129
+ margin-bottom: 8px;
130
+ }
131
+
132
  .widefat .column-user_actions .action-link {
133
  padding-left: 7px;
134
  }
162
  width: 160px;
163
  }
164
 
 
 
 
 
 
 
165
  .widefat .column-user_actions .action-link mark.cancelled:after,
166
  .widefat .column-user_actions .action-link mark.paid:after,
167
  .widefat .column-user_actions .action-link mark.unpaid:after,
442
  margin-top: 10px;
443
  }
444
 
445
+ /* Edit Product */
446
+ .vendor_limited_access #shipping_product_data div.options_group:last-of-type {
447
+ display: none;
448
+ }
449
+
450
  /* Hide WP Submenu item */
451
  .yith-wcpv-hide-submenu-item {
452
  display: none;
569
 
570
  .yith-wcmv-add-ons{
571
  display: inline-block;
572
+ padding: 4px;
573
  font-weight: bold;
574
  font-size: 12px;
575
  margin-left: 10px;
576
  border-radius: 5px;
577
+ color: #ffffff;
578
+ border: 1px solid #000000;
579
+ min-width: 40px;
580
+ text-align: center;
581
  }
582
 
583
+ .yith-wcmv-add-ons.is-deprecated{
 
584
  background: #750202;
585
  }
586
 
587
+ .yith-wcmv-add-ons.coming-soon{
588
+ background: #f4f711;
589
+ color: #000000;
590
+ }
591
 
592
  .yith-wcmv-add-ons.is-new{
 
593
  background: #57ad03;
594
  }
595
 
712
  margin:-3px 10px -3px 0;
713
  }
714
 
715
+ #vendor_data_search #post-query-submit{
716
+ height: 30px;
717
+ line-height: 28px;
718
+ margin-left: 8px;
719
+ }
720
+
721
+ #commissions-filter .data_search_wrapper{
722
+ margin-right: 8px;
723
+ }
724
+
725
  /* === Edit Vendor === */
726
  label[for=yith_vendor_social_live-chat] small em {
727
  font-weight: bold;
modules/yith-woocommerce-product-vendors/assets/images/01-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/01-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/01.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/02-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/02-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/02.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/03-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/03-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/03.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/04-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/04-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/04.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/05-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/05-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/05.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/06-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/06-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/06.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/07-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/07-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/07.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/08-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/08-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/08.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/09-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/09-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/09.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/10-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/10-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/10.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/11-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/11-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/11.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/12-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/12-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/12.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/13-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/13-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/13.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/14-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/14-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/14.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/15-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/15-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/15.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/16-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/16-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/16.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/17-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/17-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/17.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/18-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/18-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/18.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/19-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/19-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/19.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/20-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/20-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/20.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/21-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/21-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/21.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/22-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/22-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/22.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/23-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/23-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/23.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/24-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/24-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/24.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/25-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/25-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/25.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/26-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/26-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/26.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/27.jpg CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/28.jpg CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/29-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/29-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/29.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/30-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/30-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/30.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/31-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/31-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/31.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/32-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/32-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/32.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/33-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/33-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/33.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/34-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/34-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/34.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/35-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/35-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/35.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/36-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/36-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/36.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/37-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/37-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/37.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/38-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/38-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/38.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/39-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/39-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/39.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/44-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/44-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/44.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/45-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/45-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/45.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/upgrade.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/yith-bg.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/images/yith-icon.png CHANGED
File without changes
modules/yith-woocommerce-product-vendors/assets/js/admin.js CHANGED
@@ -80,7 +80,7 @@
80
  payment_method = $('#payment_method'),
81
  paypal_deps = function(){
82
  if( paypal_service.val() == 'standard' ){
83
- payment_method.val( 'manual').trigger('change');
84
  }
85
  };
86
 
@@ -88,16 +88,19 @@
88
 
89
  //Vendors options deps
90
  var vendor_name_style = $('#yith_wpv_vendor_name_style'),
91
- vendor_order_refund = $('#yith_wpv_vendors_option_order_management');
92
 
93
  $('#yith_wpv_enable_product_amount').yith_wpv_option_deps( '#yith_wpv_vendors_product_limit', 'checkbox', undefined, false );
94
  $('#yith_wpv_report_abuse_link').yith_wpv_option_deps( '#yith_wpv_report_abuse_link_text', 'select', 'none', false );
95
  vendor_name_style.yith_wpv_option_deps( '#yith_vendors_color_name', 'select', 'theme', true );
96
  vendor_name_style.yith_wpv_option_deps( '#yith_vendors_color_name_hover', 'select', 'theme', true );
97
- vendor_order_refund.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_synchronization', 'checkbox', undefined, false );
98
- vendor_order_refund.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_refund_synchronization', 'checkbox', undefined, false );
99
- vendor_order_refund.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_hide_customer', 'checkbox', undefined, false );
100
- vendor_order_refund.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_hide_payment', 'checkbox', undefined, false );
 
 
 
101
  $('#yith_vendors_show_gravatar_image').yith_wpv_option_deps( '#yith_vendors_gravatar_image_size', 'select', 'disabled', false );
102
  $('#yith_wpv_vendors_option_editor_management').yith_wpv_option_deps( '#yith_wpv_vendors_option_editor_media', 'checkbox', undefined, false );
103
  paypal_service.yith_wpv_option_deps( payment_method, 'select', 'standard', true );
@@ -123,7 +126,7 @@
123
  }
124
  }
125
  );
126
- }
127
 
128
  taxonomy_table_col( tax_table );
129
 
80
  payment_method = $('#payment_method'),
81
  paypal_deps = function(){
82
  if( paypal_service.val() == 'standard' ){
83
+ payment_method.val('manual').trigger('change');
84
  }
85
  };
86
 
88
 
89
  //Vendors options deps
90
  var vendor_name_style = $('#yith_wpv_vendor_name_style'),
91
+ vendor_order = $('#yith_wpv_vendors_option_order_management');
92
 
93
  $('#yith_wpv_enable_product_amount').yith_wpv_option_deps( '#yith_wpv_vendors_product_limit', 'checkbox', undefined, false );
94
  $('#yith_wpv_report_abuse_link').yith_wpv_option_deps( '#yith_wpv_report_abuse_link_text', 'select', 'none', false );
95
  vendor_name_style.yith_wpv_option_deps( '#yith_vendors_color_name', 'select', 'theme', true );
96
  vendor_name_style.yith_wpv_option_deps( '#yith_vendors_color_name_hover', 'select', 'theme', true );
97
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_synchronization', 'checkbox', undefined, false );
98
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_refund_synchronization', 'checkbox', undefined, false );
99
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_hide_customer', 'checkbox', undefined, false );
100
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_hide_payment', 'checkbox', undefined, false );
101
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_suborder_synchronization', 'checkbox', undefined, false );
102
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_prevent_resend_email', 'checkbox', undefined, false );
103
+ vendor_order.yith_wpv_option_deps( '#yith_wpv_vendors_option_order_prevent_edit_custom_fields', 'checkbox', undefined, false );
104
  $('#yith_vendors_show_gravatar_image').yith_wpv_option_deps( '#yith_vendors_gravatar_image_size', 'select', 'disabled', false );
105
  $('#yith_wpv_vendors_option_editor_management').yith_wpv_option_deps( '#yith_wpv_vendors_option_editor_media', 'checkbox', undefined, false );
106
  paypal_service.yith_wpv_option_deps( payment_method, 'select', 'standard', true );
126
  }
127
  }
128
  );
129
+ };
130
 
131
  taxonomy_table_col( tax_table );
132
 
modules/yith-woocommerce-product-vendors/assets/js/tax-admin-menu.js CHANGED
File without changes
modules/yith-woocommerce-product-vendors/includes/class.yith-commission.php CHANGED
File without changes
modules/yith-woocommerce-product-vendors/includes/class.yith-commissions.php CHANGED
@@ -104,6 +104,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
104
  * Database version
105
  *
106
  * @var string
 
107
  * @since 1.0
108
  * @access protected
109
  */
@@ -268,7 +269,8 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
268
  * @return bool
269
  */
270
  public function is_status_changing_permitted( $new_status, $old_status ) {
271
- return $new_status != $old_status && in_array( $new_status, $this->_status_capabilities[$old_status] );
 
272
  }
273
 
274
  /**
@@ -301,24 +303,6 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
301
 
302
  add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon, $position );
303
  }
304
-
305
- // if ( $is_super_user ) {
306
- // add_submenu_page( $this->_screen, $page_title, __( 'Commissions report', 'yith-woocommerce-product-vendors' ), $capability, $menu_slug );
307
- //
308
- // $submenu_args = apply_filters( 'yith_wc_product_vendors_commissions_submenu_items', array(
309
- // 'parent_slug' => $this->_screen,
310
- // 'page_title' => __( 'Unpaid earnings', 'yith-woocommerce-product-vendors' ),
311
- // 'menu_title' => __( 'Unpaid earnings', 'yith-woocommerce-product-vendors' ),
312
- // 'capability' => 'manage_options',
313
- // 'menu_slug' => 'yith_commissions_by_vendor',
314
- // 'function' => array( $this, 'earnings_by_vendor' )
315
- // )
316
- // );
317
- //
318
- // extract( $submenu_args );
319
- //
320
- // add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
321
- // }
322
  }
323
 
324
  /**
@@ -898,29 +882,8 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
898
  $commission_included_tax = $include_tax = 'website' == $tax_management || 'vendor' == $tax_management ? false : true;;
899
  $commission_included_coupon = 'yes' == get_option( 'yith_wpv_include_coupon', 'no' );
900
 
901
- $tax_string = array(
902
- 'website' => _x( 'Credit taxes to the website admin', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
903
- 'split' => _x( 'Split tax by percentage between website admin and vendor', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
904
- 'vendor' => _x( 'Credit taxes to the vendor', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
905
- );
906
-
907
  if( ! empty( $commission_id ) ){
908
- //Add note to commission to know if the commission have benne calculated included or escluded tax and coupon
909
- $coupon = $commission_included_coupon ? _x( 'included', 'means: Vendor commission have been calculated: tax included', 'yith-woocommerce-product-vendors' ) : _x( 'excluded', 'means: Vendor commission have been calculated: tax excluded', 'yith-woocommerce-product-vendors' );
910
-
911
- $tax_message = sprintf( '<br>* %s: <em>%s</em>',
912
- _x( 'tax', 'part of: tax included or tax excluded', 'yith-woocommerce-product-vendors' ),
913
- strtolower( $tax_string[ $tax_management ] )
914
- );
915
-
916
- $tax_message = apply_filters( 'yith_wcmv_commission_tax_message', $tax_message );
917
-
918
- $msg = sprintf( '%s:<br>* %s <em>%s</em>%s',
919
- _x( 'Vendor commission have been calculated', 'part of: Vendor commission have been calculated: tax included', 'yith-woocommerce-product-vendors' ),
920
- _x( 'coupon', 'part of: coupon included or coupon excluded', 'yith-woocommerce-product-vendors' ),
921
- $coupon,
922
- $tax_message
923
- );
924
 
925
  $commission = YITH_Commission( $commission_id );
926
  $commission->add_note( apply_filters( 'yith_wcmv_new_commission_note', $msg ) );
@@ -1021,9 +984,9 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1021
  }
1022
 
1023
  if( 'vendor' == $tax_management ){
1024
- $vendor_item_tax = $order->get_item_tax( $item );
1025
  if( ! empty( $vendor_item_tax ) ){
1026
- $amount = (float) $amount + $vendor_item_tax;
1027
  }
1028
  }
1029
 
@@ -1281,7 +1244,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1281
  * add tax to commission if tax are credited to vendors
1282
  */
1283
  if( 'vendor' == $commission_included_tax ){
1284
- $vendor_item_tax = $order->get_item_tax( $item );
1285
  if( ! empty( $vendor_item_tax ) ){
1286
  $amount = (float) $amount + ( $vendor_item_tax * -1 );
1287
  }
@@ -1566,6 +1529,59 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1566
  public function get_commissions_table_name(){
1567
  return self::$_commissions_table_name;
1568
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1569
  }
1570
  }
1571
 
104
  * Database version
105
  *
106
  * @var string
107
+ * @var string
108
  * @since 1.0
109
  * @access protected
110
  */
269
  * @return bool
270
  */
271
  public function is_status_changing_permitted( $new_status, $old_status ) {
272
+ $status_capabilities = $this->get_status_capabilities();
273
+ return $new_status != $old_status && in_array( $new_status, $status_capabilities[$old_status] );
274
  }
275
 
276
  /**
303
 
304
  add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon, $position );
305
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  }
307
 
308
  /**
882
  $commission_included_tax = $include_tax = 'website' == $tax_management || 'vendor' == $tax_management ? false : true;;
883
  $commission_included_coupon = 'yes' == get_option( 'yith_wpv_include_coupon', 'no' );
884
 
 
 
 
 
 
 
885
  if( ! empty( $commission_id ) ){
886
+ $msg = self::get_tax_and_coupon_management_message( $tax_management, $commission_included_coupon );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
887
 
888
  $commission = YITH_Commission( $commission_id );
889
  $commission->add_note( apply_filters( 'yith_wcmv_new_commission_note', $msg ) );
984
  }
985
 
986
  if( 'vendor' == $tax_management ){
987
+ $vendor_item_tax = wc_round_tax_total( $item->get_total_tax() );
988
  if( ! empty( $vendor_item_tax ) ){
989
+ $amount = (float) $amount + $vendor_item_tax;
990
  }
991
  }
992
 
1244
  * add tax to commission if tax are credited to vendors
1245
  */
1246
  if( 'vendor' == $commission_included_tax ){
1247
+ $vendor_item_tax = wc_round_tax_total( $item->get_total_tax() );
1248
  if( ! empty( $vendor_item_tax ) ){
1249
  $amount = (float) $amount + ( $vendor_item_tax * -1 );
1250
  }
1529
  public function get_commissions_table_name(){
1530
  return self::$_commissions_table_name;
1531
  }
1532
+
1533
+ /**
1534
+ * Get the message for tax and coupon managemnet system for commission
1535
+ *
1536
+ * @param null $commission_included_tax
1537
+ * @param null $commission_included_coupon
1538
+ *
1539
+ * @return string the message to show
1540
+ */
1541
+ public static function get_tax_and_coupon_management_message( $commission_included_tax = null, $commission_included_coupon = null ){
1542
+ $commission_included_tax = is_null( $commission_included_tax ) ? get_option( 'yith_wpv_commissions_tax_management', 'website' ) : $commission_included_tax;
1543
+ $commission_included_coupon = is_null( $commission_included_coupon ) ? 'yes' == get_option( 'yith_wpv_include_coupon', 'no' ) : $commission_included_coupon;
1544
+
1545
+
1546
+ $tax_string = array(
1547
+ 'website' => _x( 'Credit taxes to the website admin', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
1548
+ 'split' => _x( 'Split tax by percentage between website admin and vendor', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
1549
+ 'vendor' => _x( 'Credit taxes to the vendor', '[Admin]: Option description', 'yith-woocommerce-product-vendors' ),
1550
+ );
1551
+
1552
+ //Add note to commission to know if the commission have benne calculated included or escluded tax and coupon
1553
+ $coupon = $commission_included_coupon ? _x( 'included', 'means: Vendor commission have been calculated: tax included', 'yith-woocommerce-product-vendors' ) : _x( 'excluded', 'means: Vendor commission have been calculated: tax excluded', 'yith-woocommerce-product-vendors' );
1554
+
1555
+ $tax_message = sprintf( '<br>* %s: <em>%s</em>',
1556
+ _x( 'tax', 'part of: tax included or tax excluded', 'yith-woocommerce-product-vendors' ),
1557
+ strtolower( $tax_string[ $commission_included_tax ] )
1558
+ );
1559
+
1560
+ $tax_message = apply_filters( 'yith_wcmv_commission_tax_message', $tax_message );
1561
+
1562
+ $commission_have_been_calculated_text = _x( 'Vendor commission have been calculated', 'part of: Vendor commission have been calculated: tax included', 'yith-woocommerce-product-vendors' ) . ':';
1563
+ $commission_have_been_calculated_text = apply_filters( 'yith_wcmv_commission_have_been_calculated_text', $commission_have_been_calculated_text );
1564
+
1565
+ $msg = sprintf( '%s<br>* %s <em>%s</em>%s',
1566
+ $commission_have_been_calculated_text,
1567
+ _x( 'coupon', 'part of: coupon included or coupon excluded', 'yith-woocommerce-product-vendors' ),
1568
+ $coupon,
1569
+ $tax_message
1570
+ );
1571
+
1572
+ return $msg;
1573
+ }
1574
+
1575
+ /**
1576
+ * Status capabilities Map
1577
+ *
1578
+ * @return array capabilities allowd change list
1579
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1580
+ * @since 2.5.0
1581
+ */
1582
+ public function get_status_capabilities(){
1583
+ return apply_filters( 'yith_wcmv_get_status_capability_map', $this->_status_capabilities );
1584
+ }
1585
  }
1586
  }
1587
 
modules/yith-woocommerce-product-vendors/includes/class.yith-orders.php CHANGED
@@ -7,8 +7,8 @@
7
  * It is also available through the world-wide-web at this URL:
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
- if ( ! defined ( 'ABSPATH' ) ) {
11
- exit( 'Direct access forbidden.' );
12
  }
13
 
14
  /**
@@ -20,2304 +20,2400 @@ if ( ! defined ( 'ABSPATH' ) ) {
20
  * @author Your Inspiration Themes
21
  *
22
  */
23
- if ( ! class_exists ( 'YITH_Orders' ) ) {
24
-
25
- class YITH_Orders {
26
-
27
- /**
28
- * Main instance
29
- *
30
- * @var string
31
- * @since 1.4.0
32
- */
33
- protected static $_instance = null;
34
-
35
- /**
36
- * Order Sync Enabled
37
- *
38
- * @var bool
39
- * @since 1.4.0
40
- */
41
- public $sync_enabled = null;
42
-
43
- /**
44
- * Constructor
45
- */
46
- public function __construct () {
47
- add_action ( 'woocommerce_checkout_update_order_meta', array ( $this, 'check_suborder' ), 20, 2 );
48
-
49
- /* Prevent duplicate order if the user use externa payment gateway */
50
- add_action( 'woocommerce_after_checkout_validation', array( $this, 'check_awaiting_payment' ) );
51
- add_action( 'before_delete_post', array( $this, 'delete_order_items' ) );
52
- add_action( 'before_delete_post', array( $this, 'delete_order_downloadable_permissions' ) );
53
-
54
- /* Prevent Multiple Email Notifications for Suborders */
55
- add_filter ( 'woocommerce_email_recipient_new_order', array ( $this, 'woocommerce_email_recipient_new_order' ), 10, 2 );
56
- add_filter ( 'woocommerce_email_recipient_cancelled_order', array ( $this, 'woocommerce_email_recipient_new_order' ), 10, 2 );
57
- add_filter ( 'woocommerce_email_enabled_customer_processing_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
58
- add_filter ( 'woocommerce_email_enabled_customer_completed_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
59
- add_filter ( 'woocommerce_email_enabled_customer_partially_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
60
- add_filter ( 'woocommerce_email_enabled_customer_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
61
- add_filter ( 'woocommerce_email_enabled_customer_on_hold_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
62
-
63
- /* Order Refund */
64
- add_action ( 'woocommerce_order_refunded', array ( $this, 'order_refunded' ), 10, 2 );
65
- add_action ( 'woocommerce_refund_deleted', array ( $this, 'refund_deleted' ), 10, 2 );
66
-
67
- /* Single Order Page for Vendor */
68
- add_filter ( 'wc_order_is_editable', array ( $this, 'vendor_single_order_page' ) );
69
- add_filter ( 'woocommerce_attribute_label', array ( $this, 'commissions_attribute_label' ), 10, 3 );
70
-
71
- /* Order Item Meta */
72
- add_filter ( 'woocommerce_hidden_order_itemmeta', array ( $this, 'hidden_order_itemmeta' ) );
73
-
74
- /* Order Table */
75
- add_filter ( 'manage_shop_order_posts_columns', array ( $this, 'shop_order_columns' ) );
76
- add_action ( 'manage_shop_order_posts_custom_column', array ( $this, 'render_shop_order_columns' ) );
77
-
78
- /* Order MetaBoxes */
79
- add_action ( 'add_meta_boxes', array ( $this, 'add_meta_boxes' ), 30 );
80
-
81
- /* Vendor Order List */
82
- add_filter ( 'yith_wcmv_shop_order_request', array ( $this, 'vendor_order_list' ), 20 );
83
-
84
- /* Trash Sync */
85
- add_action( 'trashed_post', array( $this, 'trash_suborder' ), 10, 1 );
86
-
87
- /* YITH WooCommerce Stripe Support */
88
- add_filter( 'yith_stripe_skip_capture_charge', array( $this, 'skip_stripe_charge_for_suborders' ), 10, 2 );
89
-
90
- /* Add shipping addresses to vendor email */
91
- add_filter( 'woocommerce_order_needs_shipping_address', array( $this, 'order_needs_shipping_address' ), 10, 3 );
92
-
93
- $this->sync_enabled = 'yes' == get_option ( 'yith_wpv_vendors_option_order_synchronization', 'yes' );
94
-
95
- if ( $this->sync_enabled ) {
96
- /* SubOrder Sync */
97
- add_action ( 'woocommerce_order_status_changed', array ( $this, 'suborder_status_synchronization' ), 30, 3 );
98
- /* Order Meta Synchronization */
99
- add_action ( 'woocommerce_process_shop_order_meta', array ( $this, 'suborder_meta_synchronization' ), 65, 2 );
100
-
101
- /**
102
- * Other Ajax Action:
103
- *
104
- * load_order_items
105
- * woocommerce_EVENT => nopriv
106
- */
107
- $ajax_events = array (
108
- 'add_order_item' => false,
109
- /*'add_order_fee' => false,*/
110
- /*'add_order_shipping' => false,*/
111
- 'add_order_tax' => false,
112
- 'remove_order_item' => false,
113
- 'remove_order_tax' => false,
114
- 'reduce_order_item_stock' => false,
115
- 'increase_order_item_stock' => false,
116
- /*'add_order_item_meta' => false, */
117
- 'remove_order_item_meta' => false,
118
- 'calc_line_taxes' => false,
119
- 'save_order_items' => false,
120
- 'add_order_note' => false,
121
- 'delete_order_note' => false,
122
- );
123
-
124
- foreach ( $ajax_events as $ajax_event => $nopriv ) {
125
- add_action ( "wp_ajax_woocommerce_{$ajax_event}", array ( __CLASS__, $ajax_event ), 5 );
126
- $nopriv && add_action ( "wp_ajax_nopriv_woocommerce_{$ajax_event}", array ( __CLASS__, $ajax_event, 5 ) );
127
- }
128
- }
129
-
130
- //the revoke download permission and the grant download permission would be always synchronized
131
- add_action( 'woocommerce_ajax_revoke_access_to_product_download', array( $this, 'revoke_access_to_product_download' ), 10, 3 );
132
- add_action( 'wp_ajax_woocommerce_grant_access_to_download', array( $this, 'grant_access_to_download' ), 5 );
133
-
134
- if( is_ajax() && is_callable( YITH_Vendors(), 'load_request_a_quote_module' ) ){
135
- YITH_Vendors()->load_request_a_quote_module( true );
136
- }
137
- }
138
-
139
- /**
140
- * Check for vendor sub-order
141
- *
142
- * $parent_order_id string The parent order id
143
- * $posted mixed Array of posted form data.
144
- *
145
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
146
- * @since 1.6
147
- * @return array|void
148
- */
149
- public function check_suborder ( $parent_order_id, $posted, $return = false ) {
150
- //check if is parent order
151
- if( wp_get_post_parent_id( $parent_order_id ) != 0 ){
152
- return false;
153
- }
154
-
155
- $parent_order = wc_get_order ( $parent_order_id );
156
- $items = $parent_order->get_items ();
157
- $products_by_vendor = array ();
158
- $suborder_ids = array ();
159
-
160
- //check for vendor product
161
- foreach ( $items as $item ) {
162
- $vendor = yith_get_vendor ( $item[ 'product_id' ], 'product' );
163
- if ( $vendor->is_valid () ) {
164
- $products_by_vendor[ $vendor->id ][] = $item;
165
- }
166
- }
167
-
168
- $vendor_count = count ( $products_by_vendor );
169
-
170
- //Vendor's items ? NO
171
- if ( $vendor_count == 0 ) {
172
- return false;
173
- } //Vendor's items ? YES
174
- else {
175
- //add sub-order to parent
176
- update_post_meta ( $parent_order_id, 'has_sub_order', true );
177
-
178
- foreach ( $products_by_vendor as $vendor_id => $vendor_products ) {
179
- //create sub-orders
180
- $suborder_ids[] = $this->create_suborder ( $parent_order, $vendor_id, $vendor_products, $posted );
181
- }
182
-
183
- if ( ! empty( $suborder_ids ) ) {
184
- foreach ( $suborder_ids as $suborder_id ) {
185
- do_action ( 'yith_wcmv_checkout_order_processed', $suborder_id );
186
- }
187
- }
188
-
189
- if( $return ) {
190
- return $suborder_ids;
191
- }
192
- }
193
- }
194
-
195
- /**
196
- * Create vendor sub-order
197
- *
198
- * @param WC_Order $parent_order
199
- * @param int $vendor_id
200
- * @param array $vendor_products
201
- * @param array $posted
202
- *
203
- * Create an order. Error codes:
204
- * 520 - Cannot insert order into the database.
205
- * 521 - Cannot get order after creation.
206
- * 522 - Cannot update order.
207
- * 525 - Cannot create line item.
208
- * 526 - Cannot create fee item.
209
- * 527 - Cannot create shipping item.
210
- * 528 - Cannot create tax item.
211
- * 529 - Cannot create coupon item.
212
- *
213
- * @throws Exception
214
- *
215
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
216
- * @since 1.6
217
- * @return int|WP_ERROR
218
- */
219
- public function create_suborder ( $parent_order, $vendor_id, $vendor_products, $posted ) {
220
-
221
- /** @var $parent_order WC_Order */
222
- $vendor = yith_get_vendor ( $vendor_id, 'vendor' );
223
- $parent_order_id = yit_get_prop( $parent_order, 'id' );
224
- $order_data = apply_filters ( 'woocommerce_new_order_data', array (
225
- 'post_type' => 'shop_order',
226
- 'post_title' => sprintf ( __ ( 'Order &ndash; %s', 'woocommerce' ), strftime ( _x ( '%b %d, %Y @ %I:%M %p', 'Order date parsed by strftime', 'woocommerce' ) ) ),
227
- 'post_status' => 'wc-' . apply_filters ( 'woocommerce_default_order_status', 'pending' ),
228
- 'ping_status' => 'closed',
229
- 'post_excerpt' => isset( $posted[ 'order_comments' ] ) ? $posted[ 'order_comments' ] : '',
230
- 'post_author' => $vendor->get_owner (),
231
- 'post_parent' => $parent_order_id,
232
- 'post_password' => uniqid ( 'order_' ) // Protects the post just in case
233
- )
234
- );
235
-
236
- $suborder_id = wp_insert_post ( $order_data );
237
- $suborder = wc_get_order ( $suborder_id );
238
- $parent_line_items = $parent_order->get_items ( 'line_item' );
239
-
240
- if ( ! empty( $suborder_id ) && ! is_wp_error ( $suborder_id ) ) {
241
- $order_total = $discount = $order_tax = 0;
242
- $product_ids = $order_taxes = $order_shipping_tax_amount = array ();
243
-
244
- // now insert line items
245
- /** @var $item WC_Order_Item_Product */
246
- foreach ( $vendor_products as $item ) {
247
-
248
- $order_total += (float)$item[ 'line_total' ];
249
- //Tax calculation
250
- $line_tax_data = maybe_unserialize ( $item[ 'line_tax_data' ] );
251
- if ( isset( $line_tax_data[ 'total' ] ) ) {
252
- foreach ( $line_tax_data[ 'total' ] as $tax_rate_id => $tax ) {
253
- if ( ! isset( $order_taxes[ $tax_rate_id ] ) ) {
254
- $order_taxes[ $tax_rate_id ] = 0;
255
- }
256
- $order_taxes[ $tax_rate_id ] += $tax;
257
- //TODO: Shipping Tax
258
- $order_shipping_tax_amount[ $tax_rate_id ] = 0;
259
- }
260
- }
261
-
262
- $order_tax += (float)$item[ 'line_tax' ];
263
- $product_ids[] = $item[ 'product_id' ];
264
-
265
- $item_id = 0;
266
-
267
- if( YITH_Vendors()->is_wc_2_7_or_greather ){
268
- $args = array();
269
-
270
- $args['variation_id'] = ( ! empty( $item['variation_id'] ) ) ? $item['variation_id'] : array();
271
- $args['product_id'] = ( ! empty( $item['product_id'] ) ) ? $item['product_id'] : array();
272
-
273
- if( ! empty( $item['name'] ) ){
274
- $args['name'] = $item['name'];
275
- }
276
-
277
- if( isset( $item['line_subtotal'] ) ){
278
- $args['totals']['subtotal'] = $item['line_subtotal'];
279
- }
280
-
281
- if( isset( $item['line_total'] ) ){
282
- $args['totals']['total'] = $item['line_total'];
283
- }
284
-
285
- if( isset( $item['line_subtotal_tax'] ) ){
286
- $args['totals']['subtotal_tax'] = $item['line_subtotal_tax'];
287
- }
288
-
289
- if( isset( $item['line_tax'] ) ){
290
- $args['totals']['tax'] = $item['line_tax'];
291
- }
292
-
293
- if( isset( $item['line_tax_data'] ) ){
294
- $args['totals']['tax_data'] = $item['line_tax_data'];
295
- }
296
-
297
- $item_id = $suborder->add_product( wc_get_product( $item[ 'product_id' ] ), $item['quantity'], $args );
298
-
299
- if( $item_id ) {
300
- $suborder_item = $suborder->get_item( $item_id );
301
- $suborder_item->add_meta_data( '_parent_line_item_id', $item->get_id() );
302
- $suborder_item->save_meta_data();
303
- $suborder_item->save();
304
- }
305
- }
306
-
307
- else {
308
- $item_id = wc_add_order_item ( $suborder_id, array (
309
- 'order_item_name' => $item[ 'name' ],
310
- 'order_item_type' => 'line_item',
311
- )
312
- );
313
- }
314
-
315
- if ( $item_id ) {
316
- $metakeys = array_keys( $item['item_meta'] );
317
- foreach ( $metakeys as $key ) {
318
- /**
319
- * Use maybe_unserialize() because wc_add_order_item_meta()
320
- * use maybe_serialize() that reserialize the serialized string
321
- * for backward compatibility and to prevent the end of the world.
322
- *
323
- * @see wp-includes/functions.php:382
324
- * @see woocommerce/includes/wc-order-functions.php:449
325
- * @use wp-includes/meta.php:31
326
- */
327
-
328
- $item_meta_value = '';
329
-
330
- //Check for private or public item meta
331
- if( isset( $item[$key] ) ) {
332
- $item_meta_value = maybe_unserialize( $item[$key] );
333
- }
334
-
335
- else {
336
- $search_key = ltrim( $key, '_' );
337
- $item_meta_value = maybe_unserialize( $item[$search_key] );
338
- }
339
-
340
- wc_add_order_item_meta( $item_id, $key, $item_meta_value );
341
-
342
- if ( ! YITH_Vendors()->is_wc_2_7_or_greather && '_product_id' == $key ) {
343
- foreach ( $parent_line_items as $line_item_id => $line_item_value ) {
344
- /**
345
- * @internal $key == 'product_id'
346
- *
347
- * Check for Variable product.
348
- * Use the variation id instead of product id
349
- */
350
- $product_id = ! empty( $item['variation_id'] ) ? $item['variation_id'] : $item['product_id'];
351
- $parent_product_id = ! empty( $line_item_value['variation_id'] ) ? $line_item_value['variation_id'] : $line_item_value['product_id'];
352
-
353
- if ( $product_id == $parent_product_id ) {
354
- // add line item to retrieve simply the parent line_item_id
355
- wc_add_order_item_meta ( $item_id, '_parent_line_item_id', $line_item_id );
356
- break;
357
- }
358
- }
359
- }
360
- }
361
- }
362
-
363
- //Calculate Discount
364
- $discount += ( $item[ 'line_subtotal' ] - $item[ 'line_total' ] );
365
- }
366
-
367
- $checkout_fields = WC()->checkout()->checkout_fields;
368
-
369
- foreach( $checkout_fields as $section => $order_meta_keys ){
370
- if( 'account' != $section ) {
371
- foreach ($order_meta_keys as $order_meta_key => $order_meta_values) {
372
- $meta_key = 'shipping' == $section || 'billing' == $section ? '_' . $order_meta_key : $order_meta_key;
373
- $meta_value_to_save = isset( $posted[ $order_meta_key ] ) ? $posted[ $order_meta_key ] : yit_get_prop( $parent_order, $order_meta_key );
374
- yit_save_prop( $suborder, $meta_key, $meta_value_to_save );
375
- }
376
- }
377
- }
378
-
379
- //Shipping: Store shipping for all packages
380
- $shipping_cost = 0;
381
- $wc_checkout = WC()->checkout();
382
-
383
- foreach ( WC()->shipping->get_packages() as $package_key => $package ) {
384
- if( ! empty( $package['yith-vendor'] ) && $package['yith-vendor'] instanceof YITH_Vendor && $package['yith-vendor']->id == $vendor_id ){
385
- if ( isset( $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ] ) ) {
386
-
387
- $shipping_item_id = $this->add_shipping( $suborder, $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ] );
388
-
389
- $shipping_cost += $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ]->cost;
390
-
391
- if ( ! $shipping_item_id ) {
392
- throw new Exception( sprintf( __( 'Error %d: Unable to create order. Please try again.', 'woocommerce' ), 527 ) );
393
- }
394
-
395
- // Allows plugins to add order item meta to shipping
396
- do_action( 'yith_wcmv_add_shipping_order_item', $suborder_id, $shipping_item_id, $package_key );
397
- }
398
- }
399
- }
400
-
401
- //Coupons
402
- $order_coupons = $parent_order->get_used_coupons ();
403
-
404
- if ( ! empty( $order_coupons ) ) {
405
- foreach ( $order_coupons as $order_coupon ) {
406
- $coupon = new WC_Coupon( $order_coupon );
407
- $coupon_product_ids = yit_get_prop( $coupon, 'product_ids' );
408
-
409
- if ( $coupon && is_array ( $coupon_product_ids ) && in_array ( $product_ids, $coupon_product_ids ) ) {
410
- $order_item_id = wc_add_order_item ( $suborder_id, array (
411
- 'order_item_name' => $order_coupon,
412
- 'order_item_type' => 'coupon',
413
- )
414
- );
415
-
416
- // Add line item meta
417
- if ( $order_item_id ) {
418
- $order_item_value = isset( WC ()->cart->coupon_discount_amounts[ $order_coupon ] ) ? WC ()->cart->coupon_discount_amounts[ $order_coupon ] : 0;
419
- $meta_key = 'discount_amount';
420
- wc_add_order_item_meta ( $order_item_id, $meta_key, $order_item_value );
421
- }
422
- }
423
- }
424
- }
425
-
426
- if( YITH_Vendors()->is_wc_2_6 ){
427
- //Calculate Total
428
- $order_in_total = $order_total + $shipping_cost + $order_tax;
429
-
430
- $totals = array (
431
- 'shipping' => wc_format_decimal ( $shipping_cost ),
432
- 'cart_discount' => wc_format_decimal ( $discount ),
433
- 'cart_discount_tax' => 0,
434
- 'tax' => wc_format_decimal ( $order_tax ),
435
- 'order_shipping_tax' => 0,
436
- 'total' => wc_format_decimal ( $order_in_total ),
437
- );
438
-
439
- //Set tax. N.B.: needs total to works
440
- if ( function_exists( 'WC' ) && WC()->cart instanceof WC_Cart ) {
441
- /** @var WC_Cart $cart */
442
- $_cart = WC()->cart;
443
- $line_item_taxes = array_keys ( $_cart->taxes + $_cart->shipping_taxes );
444
-
445
- foreach ( $line_item_taxes as $tax_rate_id ) {
446
- if (
447
- $_cart
448
- &&
449
- $tax_rate_id
450
- &&
451
- isset( $order_taxes[ $tax_rate_id ] )
452
- &&
453
- isset( $order_shipping_tax_amount[ $tax_rate_id ] )
454
- &&
455
- apply_filters ( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ) !== $tax_rate_id
456
- ) {
457
- $suborder->add_tax ( $tax_rate_id, $order_taxes[ $tax_rate_id ], $order_shipping_tax_amount[ $tax_rate_id ] );
458
- }
459
- }
460
- }
461
-
462
- //Set totals
463
- foreach ( $totals as $meta_key => $meta_value ) {
464
- $suborder->set_total ( $meta_value, $meta_key );
465
- }
466
- }
467
-
468
- //Set other order meta
469
- $order_meta = array (
470
- '_payment_method' => yit_get_prop( $parent_order, 'payment_method' ),
471
- '_payment_method_title' => yit_get_prop( $parent_order, 'payment_method_title' ),
472
- '_order_key' => apply_filters ( 'woocommerce_generate_order_key', uniqid ( 'order_' ) ),
473
- '_customer_user' => $parent_order->get_user_id( 'edit' ),
474
- '_prices_include_tax' => yit_get_prop( $parent_order, 'prices_include_tax' ),
475
- '_order_currency' => get_post_meta ( $parent_order_id, '_order_currency', true ),
476
- '_customer_ip_address' => get_post_meta ( $parent_order_id, '_customer_ip_address', true ),
477
- '_customer_user_agent' => get_post_meta ( $parent_order_id, '_customer_user_agent', true ),
478
- );
479
-
480
- foreach ( $order_meta as $meta_key => $meta_value ) {
481
- update_post_meta ( $suborder_id, $meta_key, $meta_value );
482
- }
483
- // Let plugins add meta
484
- do_action( 'yith_wcmv_checkout_update_order_meta', $suborder_id, $posted );
485
- }
486
-
487
- // update order version meta
488
- update_post_meta( $suborder_id, '_order_version', YITH_Vendors()->version );
489
-
490
- // update created_via meta
491
- update_post_meta( $suborder_id, '_created_via', 'yith_wcmv_vendor_suborder' );
492
-
493
- if( YITH_Vendors()->is_wc_2_7_or_greather ){
494
- $suborder->calculate_totals();
495
- }
496
-
497
- //Send Email if no sync enabled
498
- if( ! $this->sync_enabled ){
499
- WC()->mailer();
500
- do_action( 'yith_wcmv_new_order_email', $suborder_id );
501
- }
502
-
503
- return $suborder_id;
504
- }
505
-
506
- /**
507
- * Parent to Child synchronization
508
- *
509
- *
510
- * @param $parent_order_id The parent id order
511
- * @param $old_status Old Status
512
- * @param $new_status New Status
513
- *
514
- * @internal param \WC_Order $parent_order
515
- *
516
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
517
- * @since 1.6
518
- * @return void
519
- */
520
- public function suborder_status_synchronization ( $parent_order_id, $old_status, $new_status ) {
521
- //Check if order have sub-order
522
- if ( wp_get_post_parent_id ( $parent_order_id ) ) {
523
- return false;
524
- }
525
-
526
- $suborder_ids = self::get_suborder ( $parent_order_id );
527
- if ( ! empty( $suborder_ids ) ) {
528
- remove_action ( 'woocommerce_order_status_completed', 'wc_paying_customer' );
529
- foreach ( $suborder_ids as $suborder_id ) {
530
- /** @var $suborder WC_Order */
531
- $suborder = wc_get_order ( $suborder_id );
532
- $suborder->update_status ( $new_status, _x ( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) );
533
- }
534
- add_action ( 'woocommerce_order_status_completed', 'wc_paying_customer' );
535
- }
536
- }
537
-
538
- /**
539
- * Parent to Child synchronization
540
- *
541
- *
542
- * @param $parent_order_id The parent id order
543
- * @param $parent_order The parent order
544
- *
545
- * @internal param \WC_Order $parent_order
546
- *
547
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
548
- * @since 1.6
549
- * @return void
550
- */
551
- public function suborder_meta_synchronization ( $parent_order_id, $parent_order ) {
552
- //Check if order have sub-order
553
- if ( wp_get_post_parent_id ( $parent_order_id ) ) {
554
- return false;
555
- }
556
-
557
- /** @var $suborder WC_Order */
558
- /** @var $parent_order WC_Order */
559
- $suborder_ids = self::get_suborder ( $parent_order_id );
560
- $parent_order = wc_get_order ( $parent_order_id );
561
-
562
- if ( ! empty( $suborder_ids ) ) {
563
- foreach ( $suborder_ids as $suborder_id ) {
564
- $suborder = wc_get_order ( $suborder_id );
565
- $child_items = array_keys ( $suborder->get_items () );
566
- $_post = $_POST;
567
- $_post[ 'order_item_id' ] = $child_items;
568
- $suborder_line_total = 0;
569
-
570
- foreach ( $child_items as $child_items_id ) {
571
- $parent_item_id = wc_get_order_item_meta( $child_items_id, '_parent_line_item_id', true );
572
- $parent_item_id = absint ( is_array( $parent_item_id ) ? array_shift ( $parent_item_id ) : $parent_item_id );
573
-
574
- foreach ( $_post as $meta_key => $meta_value ) {
575
- //TODO: Shipping Cost
576
-
577
- switch ( $meta_key ) {
578
- case 'line_total':
579
- case 'line_subtotal':
580
- case 'order_item_tax_class':
581
- case 'order_item_qty':
582
- case 'refund_line_total':
583
- case 'refund_order_item_qty':
584
- case 'line_tax':
585
- case 'line_subtotal_tax':
586
- case 'line_tax_data':
587
- case 'refund_line_tax':
588
-
589
- if ( isset( $_post[ $meta_key ][ $parent_item_id ] ) ) {
590
- $_post[ $meta_key ][ $child_items_id ] = $_post[ $meta_key ][ $parent_item_id ];
591
- unset( $_post[ $meta_key ][ $parent_item_id ] );
592
- }
593
- break;
594
-
595
- case 'shipping_cost':
596
- if ( isset( $_post[ $meta_key ][ $parent_item_id ] ) ) {
597
- $_post[ $meta_key ][ $child_items_id ] = 0;
598
- unset( $_post[ $meta_key ][ $parent_item_id ] );
599
- }
600
- break;
601
- default: //nothing to do
602
- break;
603
- }
604
- }
605
-
606
- //Calculate Order Total
607
- if ( isset( $_post[ 'line_total' ][ $child_items_id ] ) ) {
608
- $suborder_line_total += wc_format_decimal ( $_post[ 'line_total' ][ $child_items_id ] );
609
- }
610
- }
611
-
612
- //New Order Total
613
- $_post[ '_order_total' ] = wc_format_decimal ( $suborder_line_total );
614
-
615
- /**
616
- * Don't use save method by WC_Meta_Box_Order_Items class because I need to filter the POST information
617
- * use wc_save_order_items( $order_id, $items ) function directly.
618
- *
619
- * @see WC_Meta_Box_Order_Items::save( $suborder_id, $suborder ); in woocommerce\includes\admin\meta-boxes\class-wc-meta-box-order-items.php:45
620
- * @see wc_save_order_items( $order_id, $items ); in woocommerce\includes\admin\wc-admin-functions.php:176
621
- */
622
- wc_save_order_items ( $suborder_id, $_post );
623
- WC_Meta_Box_Order_Downloads::save ( $suborder_id, $suborder );
624
- WC_Meta_Box_Order_Data::save ( $suborder_id, $suborder );
625
- WC_Meta_Box_Order_Actions::save ( $suborder_id, $suborder );
626
- }
627
- }
628
- }
629
-
630
- /**
631
- * Get suborder from parent_order_id
632
- *
633
- *
634
- * @param bool|int $parent_order_id The parent id order
635
- *
636
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
637
- * @since 1.6
638
- * @return array
639
- */
640
- public static function get_suborder ( $parent_order_id = false ) {
641
- $suborder_ids = array();
642
- if ( $parent_order_id ) {
643
- global $wpdb;
644
-
645
- $parent_ids = array( absint( $parent_order_id ) );
646
-
647
- while( $parent_ids ) {
648
- $parent_list = implode( ',', $parent_ids );
649
- $parent_ids = $wpdb->get_col(
650
- $wpdb->prepare( "SELECT ID
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
  FROM {$wpdb->posts}
652
  WHERE post_parent IN ({$parent_list})
653
  AND post_type=%s",
654
- 'shop_order'
655
- )
656
- );
657
-
658
- $suborder_ids = array_merge( $suborder_ids, $parent_ids );
659
- }
660
- }
661
-
662
- return apply_filters( 'yith_wcmv_get_suborder_ids', $suborder_ids, $parent_order_id );
663
- }
664
-
665
- /**
666
- * Get parent item id from child item id
667
- *
668
- *
669
- * @param $suborder The suborder object
670
- * @param $child_item_id The child item id
671
- *
672
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
673
- * @since 1.6
674
- * @return int|bool The parent item id if exist, false otherwise
675
- */
676
- public static function get_parent_item_id ( $suborder = false, $child_item_id ) {
677
- global $wpdb;
678
- $parent_item_id = false;
679
-
680
- if ( ! $suborder ) {
681
- $parent_item_id = $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_id=%d", $child_item_id ) );
682
- $parent_item_id = ! empty( $parent_item_id ) ? $parent_item_id : false;
683
- } else {
684
- $parent_item_id = wc_get_order_item_meta( $child_item_id, '_parent_line_item_id', true );
685
- }
686
-
687
-
688
- return $parent_item_id;
689
- }
690
-
691
- /**
692
- * Get parent item id from child item id
693
- *
694
- * @param $parent_item_id
695
- *
696
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
697
- * @since 1.6
698
- * @return int|bool The parent item id if exist, false otherwise
699
- */
700
- public static function get_child_item_id ( $parent_item_id ) {
701
- global $wpdb;
702
- $child_item_id = $wpdb->get_var ( $wpdb->prepare ( "SELECT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_value=%d", '_parent_line_item_id', absint ( $parent_item_id ) ) );
703
-
704
- return $child_item_id;
705
- }
706
-
707
- /**
708
- * Get line item id from parent item id
709
- *
710
- * @param $order_item_id The parent order_item_id
711
- *
712
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
713
- * @since 1.6
714
- * @return int|bool The child item id if exist, false otherwise
715
- */
716
- public static function get_line_item_id_from_parent ( $order_item_id ) {
717
- global $wpdb;
718
-
719
- return $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_value=%d", '_parent_line_item_id', $order_item_id ) );
720
- }
721
-
722
- /**
723
- * Save order items ajax sync
724
- *
725
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
726
- * @since 1.6
727
- * @return void
728
- * @access public static
729
- */
730
- public static function save_order_items () {
731
- check_ajax_referer ( 'order-item', 'security' );
732
-
733
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
734
- die( - 1 );
735
- }
736
-
737
- if ( isset( $_POST[ 'order_id' ] ) && isset( $_POST[ 'items' ] ) ) {
738
- $parent_order_id = absint ( $_POST[ 'order_id' ] );
739
- //Check if order have sub-order
740
- if ( ! wp_get_post_parent_id ( $parent_order_id ) ) {
741
- global $wpdb;
742
- // Parse the jQuery serialized items
743
- $_post = $_POST;
744
- parse_str ( $_post[ 'items' ], $_post[ 'items' ] );
745
- $suborder_ids = self::get_suborder ( $parent_order_id );
746
- foreach ( $suborder_ids as $suborder_id ) {
747
- $order_total = 0;
748
- $suborder = wc_get_order ( $suborder_id );
749
- $child_items = array_keys ( $suborder->get_items () );
750
- $_post['items']['order_item_id'] = $child_items;
751
- foreach ( $child_items as $child_item_id ) {
752
- $parent_item_id = self::get_parent_item_id ( $suborder, $child_item_id );
753
- foreach ( $_post['items'] as $meta_key => $meta_value ) {
754
- if ( ! in_array ( $meta_key, array ( 'order_item_id', '_order_total' ) ) && isset( $_post['items'][ $meta_key ][ $parent_item_id ] ) ) {
755
- $_post['items'][ $meta_key ][ $child_item_id ] = $_post[ 'items' ][ $meta_key ][ $parent_item_id ];
756
- unset( $_post['items'][ $meta_key ][ $parent_item_id ] );
757
- }
758
- }
759
-
760
- /* === Calc Order Totals === */
761
- if ( ! empty( $_post['items']['line_total'][ $child_item_id ] ) ) {
762
- $order_total += wc_format_decimal ( $_post['items' ]['line_total'][ $child_item_id ] );
763
- if ( isset( $_post[ 'items' ][ 'line_tax' ][ $child_item_id ] ) ) {
764
- $line_taxes = $_post[ 'items' ][ 'line_tax' ][ $child_item_id ];
765
- foreach ( $line_taxes as $line_tax ) {
766
- $order_total += wc_format_decimal ( $line_tax );
767
- }
768
- }
769
- }
770
-
771
- /* === Calc Refund Totals === */
772
- if ( ! empty( $_post['items']['refund_line_total'][ $child_item_id ] ) ) {
773
- $order_total += wc_format_decimal ( $_post[ 'items' ][ 'refund_line_total' ][ $child_item_id ] );
774
- }
775
- /* ======================== */
776
- }
777
-
778
- /* === Save Parent Meta === */
779
-
780
- $meta_keys = isset( $_post['items']['meta_key'] ) ? $_post['items']['meta_key'] : array();
781
- $meta_values = isset( $_post['items']['meta_value'] ) ? $_post['items']['meta_value'] : array();
782
- $order_item_ids = ! empty( $_post['items']['order_item_id'] ) ? $_post['items']['order_item_id'] : 0;
783
-
784
- if( YITH_Vendors()->is_wc_2_7_or_greather && ! empty( $order_item_ids ) && is_array( $order_item_ids ) ){
785
- foreach( $order_item_ids as $order_item_id ){
786
- if( ! empty( $meta_keys[ $order_item_id ] ) && ! empty( $meta_values[ $order_item_id ] ) ){
787
- self::save_parent_meta( $meta_keys[ $order_item_id ], $meta_values[ $order_item_id ] );
788
- }
789
- }
790
-
791
- if( isset( $_post['items']['meta_key'] ) ){
792
- unset( $_post['items']['meta_key'] );
793
- }
794
- }
795
-
796
- else {
797
- self::save_parent_meta( $meta_keys, $meta_values );
798
- }
799
-
800
- /* ======================== */
801
-
802
- // Add order total
803
- $_post[ 'items' ][ '_order_total' ] = $order_total;
804
-
805
- // Save order items
806
- wc_save_order_items ( $suborder_id, $_post[ 'items' ] );
807
- }
808
- } else {
809
- //is suborder
810
- do_action( 'yith_wcmv_save_suborder_items' );
811
- }
812
- }
813
-
814
- }
815
-
816
- /**
817
- * Save parent meta
818
- *
819
- * @since WooCommerce 2.7
820
- *
821
- * @param $meta_keys
822
- * @param $meta_values
823
- * @param array $meta_to_exclude
824
- */
825
- public static function save_parent_meta( $meta_keys, $meta_values, $meta_to_exclude = array() ){
826
- $default_meta_to_exclude = apply_filters( 'yith_wcmv_order_item_meta_no_sync', array( '_child__commission_id', '_commission_included_tax', '_commission_included_coupon' ) );
827
- $meta_to_exclude = array_merge( $default_meta_to_exclude, $meta_to_exclude );
828
-
829
- foreach ( $meta_keys as $meta_id => $meta_key ) {
830
- $meta_value = ( empty( $meta_values[ $meta_id ] ) && ! is_numeric ( $meta_values[ $meta_id ] ) ) ? '' : $meta_values[ $meta_id ];
831
- $parent_order_item_id = self::get_parent_item_id ( false, $meta_id );
832
- $child_order_item_id = self::get_child_item_id ( $parent_order_item_id );
833
-
834
- if( ! in_array( $meta_key, $meta_to_exclude ) ){
835
- wc_update_order_item_meta ( $child_order_item_id, '_parent_' . $meta_key, '_commission_id' != $meta_key ? $meta_id : $meta_value );
836
- }
837
- }
838
- }
839
-
840
- /**
841
- * Remove order items ajax sync
842
- *
843
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
844
- * @since 1.6
845
- * @return void
846
- * @access public static
847
- */
848
- public static function remove_order_item () {
849
- check_ajax_referer ( 'order-item', 'security' );
850
-
851
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
852
- die( - 1 );
853
- }
854
-
855
- $order_item_ids = $_POST[ 'order_item_ids' ];
856
- if ( ! is_array ( $order_item_ids ) && is_numeric ( $order_item_ids ) ) {
857
- $order_item_ids = array ( $order_item_ids );
858
- }
859
- //TODO: add check order_id if ( ! wp_get_post_parent_id( $parent_order_id ) ) {
860
- if ( sizeof ( $order_item_ids ) > 0 ) {
861
- /** @var $wpdb wpdb */
862
- global $wpdb;
863
- foreach ( $order_item_ids as $order_item_id ) {
864
- $product_id = $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT meta_value FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND order_item_id=%d", '_product_id', absint ( $order_item_id ) ) );
865
- $vendor = yith_get_vendor ( $product_id, 'product' );
866
- if ( $vendor->is_valid () ) {
867
- $child_order_item_id = self::get_line_item_id_from_parent ( $order_item_id );
868
- ! empty( $child_order_item_id ) && wc_delete_order_item ( absint ( $child_order_item_id ) );
869
- }
870
- }
871
- }
872
- }
873
-
874
- /**
875
- * Add WooCommerce order notes to suborder
876
- *
877
- * @since 1.6
878
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
879
- * @return void
880
- */
881
- public static function add_order_note () {
882
-
883
- check_ajax_referer ( 'add-order-note', 'security' );
884
-
885
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
886
- die( - 1 );
887
- }
888
-
889
- $post_id = absint ( $_POST[ 'post_id' ] );
890
- $note = wp_kses_post ( trim ( stripslashes ( $_POST[ 'note' ] ) ) );
891
- $note_type = $_POST[ 'note_type' ];
892
-
893
- $is_customer_note = $note_type == 'customer' ? 1 : 0;
894
-
895
- if ( $post_id > 0 ) {
896
- if ( ! wp_get_post_parent_id ( $post_id ) ) {
897
- //Add the order note to parent order
898
- $order = wc_get_order ( $post_id );
899
- $parent_note_id = $order->add_order_note ( $note, $is_customer_note, true );
900
-
901
- echo '<li rel="' . esc_attr ( $parent_note_id ) . '" class="note ';
902
- if ( $is_customer_note ) {
903
- echo 'customer-note';
904
- }
905
- echo '"><div class="note_content">';
906
- echo wpautop ( wptexturize ( $note ) );
907
- echo '</div><p class="meta"><a href="#" class="delete_note">' . __ ( 'Delete note', 'woocommerce' ) . '</a></p>';
908
- echo '</li>';
909
-
910
- $suborder_ids = self::get_suborder ( $post_id );
911
- if ( ! empty( $suborder_ids ) ) {
912
- foreach ( $suborder_ids as $suborder_id ) {
913
- $suborder = wc_get_order ( $suborder_id );
914
- $note_id = $suborder->add_order_note ( _x ( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) . $note, $is_customer_note, true );
915
- add_comment_meta ( $note_id, 'parent_note_id', $parent_note_id );
916
- }
917
- }
918
- /**
919
- * Call die(); to prevent WooCommerce action.
920
- * Updated Parent and Child orders
921
- */
922
- die();
923
- } else {
924
- //is suborder
925
- //TODO: Suborder sub-routine
926
- }
927
- }
928
- }
929
-
930
- /**
931
- * Remove WooCommerce order notes to suborder
932
- *
933
- * @since 1.6
934
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
935
- * @return void
936
- */
937
- public static function delete_order_note () {
938
- check_ajax_referer ( 'delete-order-note', 'security' );
939
-
940
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
941
- die( - 1 );
942
- }
943
-
944
- global $wpdb;
945
- $parent_note_id = absint ( $_POST[ 'note_id' ] );
946
- $note_ids = $wpdb->get_col ( $wpdb->prepare ( "SELECT comment_id FROM {$wpdb->commentmeta} WHERE meta_key=%s AND meta_value=%d", 'parent_note_id', $parent_note_id ) );
947
-
948
- if ( ! empty( $note_ids ) ) {
949
- foreach ( $note_ids as $note_id ) {
950
- wp_delete_comment ( $note_id );
951
- }
952
- }
953
- }
954
-
955
- /**
956
- * Reduce order item stock
957
- */
958
- public static function reduce_order_item_stock () {
959
- self::order_item_stock ( 'reduce' );
960
- }
961
-
962
- /**
963
- * Increase order item stock
964
- */
965
- public static function increase_order_item_stock () {
966
- self::order_item_stock ( 'increase' );
967
- }
968
-
969
- /**
970
- * Reduce order item stock
971
- */
972
- public static function order_item_stock ( $ajax_call_type ) {
973
- check_ajax_referer ( 'order-item', 'security' );
974
-
975
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
976
- die( - 1 );
977
- }
978
-
979
- $order_id = absint ( $_POST[ 'order_id' ] );
980
- if ( ! wp_get_post_parent_id ( $order_id ) ) {
981
- $order_item_ids = isset( $_POST[ 'order_item_ids' ] ) ? $_POST[ 'order_item_ids' ] : array ();
982
- $order_item_qty = isset( $_POST[ 'order_item_qty' ] ) ? $_POST[ 'order_item_qty' ] : array ();
983
- $order = wc_get_order ( $order_id );
984
- $order_items = $order->get_items ();
985
-
986
- if ( $order && ! empty( $order_items ) && sizeof ( $order_item_ids ) > 0 ) {
987
-
988
- foreach ( $order_items as $item_id => $order_item ) {
989
- // Only reduce checked items
990
- if ( ! in_array ( $item_id, $order_item_ids ) ) {
991
- continue;
992
- }
993
-
994
- $_product = null;
995
-
996
- if( YITH_Vendors()->is_wc_2_7_or_greather && is_callable( array( $order_item, 'get_product' ) ) ){
997
- $_product = $order_item->get_product();
998
- }
999
-
1000
- else {
1001
- $_product = $order->get_product_from_item( $order_item );
1002
- }
1003
-
1004
- $vendor = yith_get_vendor ( $_product, 'product' );
1005
- if ( $vendor->is_valid () && $_product->exists () && $_product->managing_stock () && isset( $order_item_qty[ $item_id ] ) && $order_item_qty[ $item_id ] > 0 ) {
1006
- global $wpdb;
1007
-
1008
- $old_stock = $_product->get_stock_quantity ();
1009
- $child_order_item_id = self::get_line_item_id_from_parent ( $item_id );
1010
- $suborder_id = $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT order_id FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_id=%d", absint ( $child_order_item_id ) ) );
1011
- $suborder = wc_get_order ( $suborder_id );
1012
- $note = '';
1013
- if ( 'reduce' == $ajax_call_type ) {
1014
- $stock_change = apply_filters ( 'woocommerce_reduce_order_stock_quantity', $order_item_qty[ $item_id ], $item_id );
1015
- $new_stock = $old_stock - $stock_change;
1016
- $note = sprintf ( __ ( 'Item #%s stock reduced from %s to %s.', 'woocommerce' ), $order_item[ 'product_id' ], $old_stock, $new_stock );
1017
- } elseif ( 'increase' == $ajax_call_type ) {
1018
- $stock_change = apply_filters ( 'woocommerce_restore_order_stock_quantity', $order_item_qty[ $item_id ], $item_id );
1019
- $new_stock = $old_stock + $stock_change;
1020
- $note = sprintf ( __ ( 'Item #%s stock increased from %s to %s.', 'woocommerce' ), $order_item[ 'product_id' ], $old_stock, $new_stock );
1021
- }
1022
-
1023
- ! empty( $note ) && $suborder->add_order_note ( $note );
1024
- }
1025
- }
1026
- }
1027
- } else {
1028
- //is suborder
1029
- //TODO: Suborder sub-routine
1030
- }
1031
- }
1032
-
1033
- /**
1034
- * Remove order item meta
1035
- */
1036
- public static function remove_order_item_meta () {
1037
- global $wpdb;
1038
-
1039
- check_ajax_referer ( 'order-item', 'security' );
1040
-
1041
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1042
- die( - 1 );
1043
- }
1044
-
1045
- $parent_meta_id = absint ( $_POST[ 'meta_id' ] );
1046
- $parent_meta_key = $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT meta_key FROM {$wpdb->order_itemmeta} WHERE meta_id=%d", $parent_meta_id ) );
1047
- $child_meta_id = $wpdb->get_var ( $wpdb->prepare ( "SELECT DISTINCT meta_id FROM {$wpdb->order_itemmeta} WHERE meta_value=%d AND meta_key=%s", $parent_meta_id, '_parent_' . $parent_meta_key ) );
1048
- $wpdb->query ( $wpdb->prepare ( "DELETE FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_id=%d", '_parent_' . $parent_meta_key, $child_meta_id ) );
1049
- }
1050
-
1051
- /**
1052
- * Add order item via ajax
1053
- */
1054
- public static function add_order_item() {
1055
- check_ajax_referer ( 'order-item', 'security' );
1056
-
1057
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1058
- die( - 1 );
1059
- }
1060
-
1061
- $item_to_add = array();
1062
-
1063
- if( ! empty( $_POST[ 'item_to_add' ] ) ){
1064
- $item_to_add = $_POST[ 'item_to_add' ];
1065
- if( is_array( $item_to_add ) ){
1066
- $item_to_add = sanitize_text_field( array_shift ( $item_to_add ) );
1067
- }
1068
-
1069
- else {
1070
- $item_to_add = sanitize_text_field ( $item_to_add );
1071
- }
1072
- }
1073
-
1074
- $order_id = absint ( $_POST[ 'order_id' ] );
1075
- $vendor = yith_get_vendor ( $item_to_add, 'product' );
1076
-
1077
- if ( ! wp_get_post_parent_id ( $order_id ) && ! empty( $item_to_add ) && $vendor->is_valid () ) {
1078
- // Find the item
1079
- if ( ! is_numeric ( $item_to_add ) ) {
1080
- die();
1081
- }
1082
-
1083
- $post = get_post ( $item_to_add );
1084
-
1085
- if ( ! $post || ( 'product' !== $post->post_type && 'product_variation' !== $post->post_type ) ) {
1086
- die();
1087
- }
1088
-
1089
- $_product = wc_get_product ( $item_to_add );
1090
- $order = wc_get_order ( $order_id );
1091
- $order_taxes = $order->get_taxes ();
1092
- $class = 'new_row';
1093
- $suborders_id = 0;
1094
-
1095
- $vendor_suborder_id = $vendor->get_orders ( 'suborder' );
1096
- $suborders_ids = self::get_suborder ( $order_id );
1097
- $suborder_id = array_intersect ( $vendor_suborder_id, $suborders_ids );
1098
-
1099
- if ( is_array ( $suborder_id ) && count ( $suborder_id ) == 1 ) {
1100
- $suborder_id = array_shift ( $suborder_id );
1101
- }
1102
-
1103
- // Set values
1104
- $item = array ();
1105
- $item_ids = array ();
1106
-
1107
- /**
1108
- * Product fields
1109
- */
1110
- $_product_id = yit_get_base_product_id( $_product );
1111
- $variation_id = yit_get_prop( $_product, YITH_Vendors()->is_wc_2_7_or_greather ? 'id' : 'variation_id' );
1112
- $product_price_excluding_tax = wc_format_decimal ( yit_get_price_excluding_tax( $_product ) );
1113
- $item[ 'product_id' ] = $_product_id;
1114
- $item[ 'variation_id' ] = ! empty( $variation_id ) ? $variation_id : '';
1115
- $item[ 'variation_data' ] = $item[ 'variation_id' ] ? $_product->get_variation_attributes() : '';
1116
- $item[ 'name' ] = $_product->get_title ();
1117
- $item[ 'tax_class' ] = $_product->get_tax_class ();
1118
- $item[ 'qty' ] = 1;
1119
- $item[ 'line_subtotal' ] = $product_price_excluding_tax;
1120
- $item[ 'line_subtotal_tax' ] = '';
1121
- $item[ 'line_total' ] = $product_price_excluding_tax;
1122
- $item[ 'line_tax' ] = '';
1123
- $item[ 'type' ] = 'line_item';
1124
-
1125
- // Add line item
1126
- foreach ( array ( 'parent_id' => $order_id, 'child_id' => $suborder_id ) as $type => $id ) {
1127
- $item_ids[ $type ] = wc_add_order_item ( $id, array (
1128
- 'order_item_name' => $item[ 'name' ],
1129
- 'order_item_type' => 'line_item',
1130
- ) );
1131
- }
1132
-
1133
-
1134
- wc_add_order_item_meta ( $item_ids[ 'child_id' ], '_parent_line_item_id', $item_ids[ 'parent_id' ] );
1135
-
1136
- foreach ( $item_ids as $key => $item_id ) {
1137
- // Add line item meta
1138
- if ( $item_id ) {
1139
- wc_add_order_item_meta ( $item_id, '_qty', $item[ 'qty' ] );
1140
- wc_add_order_item_meta ( $item_id, '_tax_class', $item[ 'tax_class' ] );
1141
- wc_add_order_item_meta ( $item_id, '_product_id', $item[ 'product_id' ] );
1142
- wc_add_order_item_meta ( $item_id, '_variation_id', $item[ 'variation_id' ] );
1143
- wc_add_order_item_meta ( $item_id, '_line_subtotal', $item[ 'line_subtotal' ] );
1144
- wc_add_order_item_meta ( $item_id, '_line_subtotal_tax', $item[ 'line_subtotal_tax' ] );
1145
- wc_add_order_item_meta ( $item_id, '_line_total', $item[ 'line_total' ] );
1146
- wc_add_order_item_meta ( $item_id, '_line_tax', $item[ 'line_tax' ] );
1147
-
1148
- // Since 2.2
1149
- wc_add_order_item_meta ( $item_id, '_line_tax_data', array ( 'total' => array (), 'subtotal' => array () ) );
1150
-
1151
- // Store variation data in meta
1152
- if ( $item[ 'variation_data' ] && is_array ( $item[ 'variation_data' ] ) ) {
1153
- foreach ( $item[ 'variation_data' ] as $key => $value ) {
1154
- wc_add_order_item_meta ( $item_id, str_replace ( 'attribute_', '', $key ), $value );
1155
- }
1156
- }
1157
-
1158
- do_action ( 'woocommerce_ajax_add_order_item_meta', $item_id, $item );
1159
- }
1160
- }
1161
-
1162
- $item[ 'item_meta' ] = wc_get_order_item_meta( $item_ids[ 'parent_id' ], '', false );
1163
- $item[ 'item_meta_array' ] = $order->get_item_meta_array ( $item_ids[ 'parent_id' ] );
1164
-
1165
-
1166
- if( YITH_Vendors()->is_wc_lower_2_6 ){
1167
- $item = $order->expand_item_meta ( $item );
1168
- }
1169
-
1170
-
1171
- $item = apply_filters ( 'woocommerce_ajax_order_item', $item, $item_ids[ 'parent_id' ] );
1172
-
1173
- /**
1174
- * WooCommerce Template Hack:
1175
- * Copy the parent item id into the variable $item_id
1176
- */
1177
- $item_id = $item_ids[ 'parent_id' ];
1178
- include ( WC ()->plugin_path () . '/includes/admin/meta-boxes/views/html-order-item.php' );
1179
-
1180
- /**
1181
- * Prevent call default WooCommerce add_order_item() method
1182
- */
1183
- die();
1184
- }
1185
- }
1186
-
1187
- /**
1188
- * Add order tax column via ajax
1189
- */
1190
- public static function add_order_tax () {
1191
- check_ajax_referer ( 'order-item', 'security' );
1192
-
1193
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1194
- die( - 1 );
1195
- }
1196
-
1197
- $order_id = absint ( $_POST[ 'order_id' ] );
1198
-
1199
- if ( ! wp_get_post_parent_id ( $order_id ) ) {
1200
- $rate_id = absint ( $_POST[ 'rate_id' ] );
1201
- $suborder_ids = self::get_suborder ( $order_id );
1202
-
1203
- foreach ( $suborder_ids as $suborder_id ) {
1204
- $suborder = ! empty( $suborder_id ) ? wc_get_order ( absint ( $suborder_id ) ) : false;
1205
- $suborder && $suborder->add_tax ( $rate_id, 0, 0 );
1206
- }
1207
- } else {
1208
- //is suborder
1209
- //TODO: Suborder sub-routine
1210
- }
1211
- }
1212
-
1213
- /**
1214
- * Calc line tax
1215
- */
1216
- public static function calc_line_taxes () {
1217
- check_ajax_referer ( 'calc-totals', 'security' );
1218
-
1219
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1220
- die( - 1 );
1221
- }
1222
-
1223
- $order_id = absint ( $_POST[ 'order_id' ] );
1224
-
1225
- if ( ! wp_get_post_parent_id ( $order_id ) ) {
1226
- $_post = $_POST;
1227
- $suborder_ids = self::get_suborder ( $order_id );
1228
-
1229
- foreach ( $suborder_ids as $suborder_id ) {
1230
- self::add_line_taxes ( $suborder_id );
1231
- }
1232
- } else {
1233
- //is suborder
1234
- do_action( 'yith_wcmv_calc_suborder_line_taxes' );
1235
- }
1236
- }
1237
-
1238
- public static function add_line_taxes ( $order_id ) {
1239
- global $wpdb;
1240
-
1241
- check_ajax_referer ( 'calc-totals', 'security' );
1242
-
1243
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1244
- die( - 1 );
1245
- }
1246
-
1247
- $tax = new WC_Tax();
1248
- $items = array ();
1249
- $country = strtoupper ( esc_attr ( $_POST[ 'country' ] ) );
1250
- $state = strtoupper ( esc_attr ( $_POST[ 'state' ] ) );
1251
- $postcode = strtoupper ( esc_attr ( $_POST[ 'postcode' ] ) );
1252
- $city = wc_clean ( esc_attr ( $_POST[ 'city' ] ) );
1253
- $order = wc_get_order ( absint ( $order_id ) );
1254
- $taxes = array ();
1255
- $shipping_taxes = array ();
1256
-
1257
- // Parse the jQuery serialized items
1258
- parse_str ( $_POST[ 'items' ], $items );
1259
-
1260
- // Prevent undefined warnings
1261
- if ( ! isset( $items[ 'line_tax' ] ) ) {
1262
- $items[ 'line_tax' ] = array ();
1263
- }
1264
-
1265
- if ( ! isset( $items[ 'line_subtotal_tax' ] ) ) {
1266
- $items[ 'line_subtotal_tax' ] = array ();
1267
- }
1268
-
1269
- $items[ 'order_taxes' ] = array ();
1270
-
1271
- // Action
1272
- $items = apply_filters ( 'woocommerce_ajax_calc_line_taxes', $items, $order_id, $country, $_POST );
1273
-
1274
- // Get items and fees taxes
1275
- if ( isset( $items[ 'order_item_id' ] ) ) {
1276
- $line_total = $line_subtotal = $order_item_tax_class = array ();
1277
- foreach ( $items[ 'order_item_id' ] as $parent_item_id ) {
1278
- $parent_item_id = absint ( $parent_item_id );
1279
- $item_id = self::get_child_item_id ( $parent_item_id );
1280
-
1281
- if ( empty( $item_id ) ) {
1282
- //no current suborder items
1283
- continue;
1284
- }
1285
-
1286
- $line_total[ $item_id ] = isset( $items[ 'line_total' ][ $parent_item_id ] ) ? wc_format_decimal ( $items[ 'line_total' ][ $parent_item_id ] ) : 0;
1287
- $line_subtotal[ $item_id ] = isset( $items[ 'line_subtotal' ][ $parent_item_id ] ) ? wc_format_decimal ( $items[ 'line_subtotal' ][ $parent_item_id ] ) : $line_total[ $parent_item_id ];
1288
- $order_item_tax_class[ $item_id ] = isset( $items[ 'order_item_tax_class' ][ $parent_item_id ] ) ? sanitize_text_field ( $items[ 'order_item_tax_class' ][ $parent_item_id ] ) : '';
1289
- $product_id = $parent_item_id = wc_get_order_item_meta( $item_id, '_product_id', true );
1290
-
1291
- $vendor = yith_get_vendor ( $product_id, 'product' );
1292
-
1293
- if ( ! $vendor->is_valid () ) {
1294
- // no vnedor products
1295
- continue;
1296
- }
1297
-
1298
- $vendor_order_ids = $vendor->get_orders ( 'suborder' );
1299
-
1300
- if ( ! in_array ( $order_id, $vendor_order_ids ) ) {
1301
- // the current product isn't in the current suborder
1302
- continue;
1303
- }
1304
-
1305
- // Get product details
1306
- if ( get_post_type ( $product_id ) == 'product' ) {
1307
- $_product = wc_get_product ( $product_id );
1308
- $item_tax_status = $_product->get_tax_status ();
1309
- } else {
1310
- $item_tax_status = 'taxable';
1311
- }
1312
-
1313
- if ( '0' !== $order_item_tax_class[ $item_id ] && 'taxable' === $item_tax_status ) {
1314
- $tax_rates = WC_Tax::find_rates ( array (
1315
- 'country' => $country,
1316
- 'state' => $state,
1317
- 'postcode' => $postcode,
1318
- 'city' => $city,
1319
- 'tax_class' => $order_item_tax_class[ $item_id ],
1320
- ) );
1321
-
1322
- $line_taxes = WC_Tax::calc_tax ( $line_total[ $item_id ], $tax_rates, false );
1323
- $line_subtotal_taxes = WC_Tax::calc_tax ( $line_subtotal[ $item_id ], $tax_rates, false );
1324
-
1325
- // Set the new line_tax
1326
- foreach ( $line_taxes as $_tax_id => $_tax_value ) {
1327
- $items[ 'line_tax' ][ $item_id ][ $_tax_id ] = $_tax_value;
1328
- }
1329
-
1330
- // Set the new line_subtotal_tax
1331
- foreach ( $line_subtotal_taxes as $_tax_id => $_tax_value ) {
1332
- $items[ 'line_subtotal_tax' ][ $item_id ][ $_tax_id ] = $_tax_value;
1333
- }
1334
-
1335
- // Sum the item taxes
1336
- foreach ( array_keys ( $taxes + $line_taxes ) as $key ) {
1337
- $taxes[ $key ] = ( isset( $line_taxes[ $key ] ) ? $line_taxes[ $key ] : 0 ) + ( isset( $taxes[ $key ] ) ? $taxes[ $key ] : 0 );
1338
- }
1339
- }
1340
- }
1341
- }
1342
-
1343
- // Get shipping taxes
1344
- if ( isset( $items[ 'shipping_method_id' ] ) ) {
1345
- $matched_tax_rates = array ();
1346
-
1347
- $tax_rates = WC_Tax::find_rates ( array (
1348
- 'country' => $country,
1349
- 'state' => $state,
1350
- 'postcode' => $postcode,
1351
- 'city' => $city,
1352
- 'tax_class' => '',
1353
- ) );
1354
-
1355
- if ( $tax_rates ) {
1356
- foreach ( $tax_rates as $key => $rate ) {
1357
- if ( isset( $rate[ 'shipping' ] ) && 'yes' == $rate[ 'shipping' ] ) {
1358
- $matched_tax_rates[ $key ] = $rate;
1359
- }
1360
- }
1361
- }
1362
-
1363
- $shipping_cost = $shipping_taxes = array ();
1364
-
1365
- foreach ( $items[ 'shipping_method_id' ] as $item_id ) {
1366
- $item_id = absint ( $item_id );
1367
- $shipping_cost[ $item_id ] = isset( $items[ 'shipping_cost' ][ $parent_item_id ] ) ? wc_format_decimal ( $items[ 'shipping_cost' ][ $parent_item_id ] ) : 0;
1368
- $_shipping_taxes = WC_Tax::calc_shipping_tax ( $shipping_cost[ $item_id ], $matched_tax_rates );
1369
-
1370
- // Set the new shipping_taxes
1371
- foreach ( $_shipping_taxes as $_tax_id => $_tax_value ) {
1372
- $items[ 'shipping_taxes' ][ $item_id ][ $_tax_id ] = $_tax_value;
1373
-
1374
- $shipping_taxes[ $_tax_id ] = isset( $shipping_taxes[ $_tax_id ] ) ? $shipping_taxes[ $_tax_id ] + $_tax_value : $_tax_value;
1375
- }
1376
- }
1377
- }
1378
-
1379
- // Remove old tax rows
1380
- $order->remove_order_items ( 'tax' );
1381
-
1382
- // Add tax rows
1383
- foreach ( array_keys ( $taxes + $shipping_taxes ) as $tax_rate_id ) {
1384
- $order->add_tax ( $tax_rate_id, isset( $taxes[ $tax_rate_id ] ) ? $taxes[ $tax_rate_id ] : 0, isset( $shipping_taxes[ $tax_rate_id ] ) ? $shipping_taxes[ $tax_rate_id ] : 0 );
1385
- }
1386
-
1387
- // Create the new order_taxes
1388
- foreach ( $order->get_taxes () as $tax_id => $tax_item ) {
1389
- $items[ 'order_taxes' ][ $tax_id ] = absint ( $tax_item[ 'rate_id' ] );
1390
- }
1391
-
1392
- foreach ( $items as $meta_key => $meta_values ) {
1393
- if ( is_array ( $meta_values ) ) {
1394
- foreach ( $meta_values as $key => $meta_value ) {
1395
- if ( 'order_taxes' == $meta_key ) {
1396
- continue;
1397
- } else if ( 'order_item_id' == $meta_key ) {
1398
- $child_item_id = self::get_child_item_id ( $meta_value );
1399
- if ( $child_item_id ) {
1400
- $items[ $meta_key ][ $key ] = $child_item_id;
1401
- } else {
1402
- unset( $items[ $meta_key ][ $key ] );
1403
- }
1404
- } else if ( 'meta_key' == $meta_key || 'meta_value' == $meta_key ) {
1405
- unset( $items[ $meta_key ][ $key ] );
1406
- } else {
1407
- if ( 'line_tax' == $meta_key || 'line_subtotal_tax' == $meta_key || 'refund_line_tax' == $meta_key ) {
1408
- $line_tax_ids = $items[ $meta_key ];
1409
- $child_item_ids = array_keys ( $order->get_items () );
1410
- foreach ( $line_tax_ids as $line_tax_id => $line_tax_value ) {
1411
- if ( ! in_array ( $line_tax_id, $child_item_ids ) ) {
1412
- unset( $items[ $meta_key ][ $line_tax_id ] );
1413
- }
1414
- }
1415
- } else {
1416
- $child_item_id = self::get_child_item_id ( $meta_value );
1417
- if ( $child_item_id ) {
1418
- $items[ $meta_key ][ $child_item_id ] = $items[ $meta_key ][ $key ];
1419
- unset( $items[ $meta_key ][ $key ] );
1420
- }
1421
- }
1422
- }
1423
- }
1424
- } else if ( '_order_total' == $meta_key ) {
1425
- $items[ '_order_total' ] = $order->get_total ();
1426
- }
1427
- }
1428
-
1429
- if ( ! empty( $items[ 'order_item_id' ] ) ) {
1430
- wc_save_order_items ( $order_id, $items );
1431
- }
1432
- }
1433
-
1434
- /**
1435
- * Remove an order tax
1436
- */
1437
- public static function remove_order_tax () {
1438
-
1439
- check_ajax_referer ( 'order-item', 'security' );
1440
-
1441
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1442
- die( - 1 );
1443
- }
1444
-
1445
- $order_id = absint ( $_POST[ 'order_id' ] );
1446
-
1447
- if ( ! wp_get_post_parent_id ( $order_id ) ) {
1448
- $rate_id = absint ( $_POST[ 'rate_id' ] );
1449
- $parent_order = wc_get_order ( $order_id );
1450
- $parent_taxes = $parent_order->get_taxes ();
1451
- $suborder_ids = self::get_suborder ( $order_id );
1452
- $parent_tax_to_remove = $parent_taxes[ $rate_id ];
1453
-
1454
- foreach ( $suborder_ids as $suborder_id ) {
1455
- $suborder = wc_get_order ( $suborder_id );
1456
- $suborder_taxes = $suborder->get_taxes ();
1457
- foreach ( $suborder_taxes as $suborder_tax_key => $suborder_tax_item ) {
1458
- $suborder_tax_item[ 'rate_id' ] == $parent_tax_to_remove[ 'rate_id' ]
1459
- &&
1460
- $suborder_tax_item[ 'name' ] == $parent_tax_to_remove[ 'name' ]
1461
- &&
1462
- $suborder_tax_item[ 'label' ] == $parent_tax_to_remove[ 'label' ]
1463
- &&
1464
- wc_delete_order_item ( $suborder_tax_key );
1465
- }
1466
- }
1467
- } else {
1468
- //is suborder
1469
- //TODO: Suborder sub-routine
1470
- }
1471
- }
1472
-
1473
- /**
1474
- * Prevent duplicated email for customer
1475
- */
1476
- public function woocommerce_email_enabled_new_order ( $enabled, $object ) {
1477
- $is_editpost_action = ! empty( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], array( 'editpost', 'edit') );
1478
-
1479
- if( $is_editpost_action && ! empty( $_REQUEST['post_ID'] ) && wp_get_post_parent_id ( $_REQUEST['post_ID'] ) == 0 && $_REQUEST['post_ID'] != yit_get_prop( $object, 'id' ) ){
1480
- return false;
1481
- }
1482
-
1483
- if( $is_editpost_action ){
1484
- $vendor = yith_get_vendor( 'current', 'user' );
1485
- if( $vendor->is_valid() && $vendor->has_limited_access() ){
1486
- return $enabled;
1487
- }
1488
- }
1489
-
1490
- return $enabled && $object instanceof WC_Order && wp_get_post_parent_id ( yit_get_prop( $object, 'id' ) ) != 0 && ! $is_editpost_action ? false : $enabled;
1491
- }
1492
-
1493
- /**
1494
- * Check for email recipient
1495
- */
1496
- public function woocommerce_email_recipient_new_order ( $recipient, $object ) {
1497
- return ( $recipient == get_option ( 'recipient' ) || $recipient == get_option ( 'admin_email' ) ) && $object instanceof WC_Order && wp_get_post_parent_id ( yit_get_prop( $object, 'id' ) ) ? false : $recipient;
1498
- }
1499
-
1500
- /**
1501
- * Handle a refund via the edit order screen.
1502
- * Called after wp_ajax_woocommerce_refund_line_items action
1503
- *
1504
- * @use woocommerce_order_refunded action
1505
- * @see woocommerce\includes\class-wc-ajax.php:2295
1506
- */
1507
- public function order_refunded ( $order_id, $parent_refund_id ) {
1508
- remove_action ( 'woocommerce_order_refunded', array ( $this, 'order_refunded' ), 10 );
1509
- if ( ! wp_get_post_parent_id ( $order_id ) ) {
1510
- $create_refund = true;
1511
- $refund = false;
1512
- $parent_line_item_refund = 0;
1513
- $refund_amount = wc_format_decimal ( sanitize_text_field ( $_POST[ 'refund_amount' ] ) );
1514
- $refund_reason = ! empty( $_POST[ 'refund_reason' ] ) ? sanitize_text_field ( $_POST[ 'refund_reason' ] ) : '';
1515
- $line_item_qtys = ! empty( $_POST[ 'line_item_qtys' ] ) ? json_decode ( sanitize_text_field ( stripslashes ( $_POST[ 'line_item_qtys' ] ) ), true ) : array();
1516
- $line_item_totals = ! empty( $_POST[ 'line_item_totals' ] ) ? json_decode ( sanitize_text_field ( stripslashes ( $_POST[ 'line_item_totals' ] ) ), true ) : array();
1517
- $line_item_tax_totals = ! empty( $_POST[ 'line_item_tax_totals' ] ) ? json_decode ( sanitize_text_field ( stripslashes ( $_POST[ 'line_item_tax_totals' ] ) ), true ) : array();
1518
- $api_refund = ! empty( $_POST[ 'api_refund' ] ) && $_POST[ 'api_refund' ] === 'true' ? true : false;
1519
- $restock_refunded_items = ! empty( $_POST[ 'restock_refunded_items' ] ) && $_POST[ 'restock_refunded_items' ] === 'true' ? true : false;
1520
- $order = wc_get_order ( $order_id );
1521
- $parent_order_total = wc_format_decimal ( $order->get_total () );
1522
- $suborder_ids = self::get_suborder ( $order_id );
1523
-
1524
- //calculate line items total from parent order
1525
- foreach ( $line_item_totals as $item_id => $total ) {
1526
- $parent_line_item_refund += wc_format_decimal ( $total );
1527
- }
1528
-
1529
- foreach ( $suborder_ids as $suborder_id ) {
1530
- $suborder = wc_get_order ( $suborder_id );
1531
- $suborder_items_ids = array_keys ( $suborder->get_items () );
1532
- $suborder_total = wc_format_decimal ( $suborder->get_total () );
1533
- $max_refund = wc_format_decimal ( $suborder_total - $suborder->get_total_refunded () );
1534
- $child_line_item_refund = 0;
1535
-
1536
- // Prepare line items which we are refunding
1537
- $line_items = array ();
1538
- $item_ids = array_unique ( array_merge ( array_keys ( $line_item_qtys, $line_item_totals ) ) );
1539
-
1540
- foreach ( $item_ids as $item_id ) {
1541
- $child_item_id = self::get_child_item_id ( $item_id );
1542
- if ( $child_item_id && in_array ( $child_item_id, $suborder_items_ids ) ) {
1543
- $line_items[ $child_item_id ] = array ( 'qty' => 0, 'refund_total' => 0, 'refund_tax' => array () );
1544
- }
1545
- }
1546
-
1547
- foreach ( $line_item_qtys as $item_id => $qty ) {
1548
- $child_item_id = self::get_child_item_id ( $item_id );
1549
- if ( $child_item_id && in_array ( $child_item_id, $suborder_items_ids ) ) {
1550
- $line_items[ $child_item_id ][ 'qty' ] = max ( $qty, 0 );
1551
- }
1552
- }
1553
-
1554
- foreach ( $line_item_totals as $item_id => $total ) {
1555
- $child_item_id = self::get_child_item_id ( $item_id );
1556
- if ( $child_item_id && in_array ( $child_item_id, $suborder_items_ids ) ) {
1557
- $total = wc_format_decimal ( $total );
1558
- $child_line_item_refund += $total;
1559
- $line_items[ $child_item_id ][ 'refund_total' ] = $total;
1560
- }
1561
- }
1562
-
1563
- foreach ( $line_item_tax_totals as $item_id => $tax_totals ) {
1564
- $child_item_id = self::get_child_item_id ( $item_id );
1565
- if ( $child_item_id && in_array ( $child_item_id, $suborder_items_ids ) ) {
1566
- $line_items[ $child_item_id ][ 'refund_tax' ] = array_map ( 'wc_format_decimal', $tax_totals );
1567
- }
1568
- }
1569
-
1570
- //calculate refund amount percentage
1571
- $suborder_refund_amount = ( ( ( $refund_amount - $parent_line_item_refund ) * $suborder_total ) / $parent_order_total );
1572
- $suborder_total_refund = wc_format_decimal ( $child_line_item_refund + $suborder_refund_amount );
1573
-
1574
- if ( ! $refund_amount || $max_refund < $suborder_total_refund || 0 > $suborder_total_refund ) {
1575
- /**
1576
- * Invalid refund amount.
1577
- * Check if suborder total != 0 create a partial refund, exit otherwise
1578
- */
1579
- $surplus = wc_format_decimal ( $suborder_total_refund - $max_refund );
1580
- $suborder_total_refund = $suborder_total_refund - $surplus;
1581
- $create_refund = $suborder_total_refund > 0 ? true : false;
1582
- }
1583
-
1584
- if ( $create_refund ) {
1585
- // Create the refund object
1586
- $refund = wc_create_refund ( array (
1587
- 'amount' => $suborder_total_refund,
1588
- 'reason' => $refund_reason,
1589
- 'order_id' => yit_get_prop( $suborder, 'id' ),
1590
- 'line_items' => $line_items,
1591
- )
1592
- );
1593
-
1594
- add_post_meta ( yit_get_prop( $refund, 'id' ), '_parent_refund_id', $parent_refund_id );
1595
- }
1596
- }
1597
- }
1598
- add_action ( 'woocommerce_order_refunded', array ( $this, 'order_refunded' ), 10, 2 );
1599
- }
1600
-
1601
- /**
1602
- * Handle a refund via the edit order screen.
1603
- * Called after wp_ajax_woocommerce_delete_refund action
1604
- *
1605
- * @use woocommerce_refund_deleted action
1606
- * @see woocommerce\includes\class-wc-ajax.php:2328
1607
- */
1608
- public static function refund_deleted ( $refund_id, $parent_order_id ) {
1609
- check_ajax_referer ( 'order-item', 'security' );
1610
-
1611
- if ( ! current_user_can ( 'edit_shop_orders' ) ) {
1612
- die( - 1 );
1613
- }
1614
-
1615
- if ( ! wp_get_post_parent_id ( $parent_order_id ) ) {
1616
- global $wpdb;
1617
- $child_refund_ids = $wpdb->get_col ( $wpdb->prepare ( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key=%s AND meta_value=%s", '_parent_refund_id', $refund_id ) );
1618
-
1619
- foreach ( $child_refund_ids as $child_refund_id ) {
1620
- if ( $child_refund_id && 'shop_order_refund' === get_post_type ( $child_refund_id ) ) {
1621
- $order_id = wp_get_post_parent_id ( $child_refund_id );
1622
- wc_delete_shop_order_transients ( $order_id );
1623
- wp_delete_post ( $child_refund_id );
1624
- }
1625
- }
1626
- }
1627
- }
1628
-
1629
- /**
1630
- * Change commission label value
1631
- *
1632
- * @param $attribute_label The Label Value
1633
- * @param $meta_key The Meta Key value
1634
- * @param bool|\The $product The Product object
1635
- *
1636
- * @return string The label value
1637
- */
1638
- public function commissions_attribute_label ( $attribute_label, $meta_key, $product = false ) {
1639
- global $pagenow;
1640
-
1641
- $order = ! empty( $_GET[ 'post' ] ) ? wc_get_order ( $_GET[ 'post' ] ) : false;
1642
- $order = apply_filters( 'yith_wcmv_commissions_attribute_label_order_object', $order );
1643
-
1644
- $is_edit_order_page = apply_filters( 'yith_wcmv_commissions_attribute_label_is_edit_order_page', $product && 'post.php' == $pagenow );
1645
-
1646
- if ( $is_edit_order_page && $order ) {
1647
- $line_items = $order->get_items ( 'line_item' );
1648
- $item_meta_key = wp_get_post_parent_id ( yit_get_prop( $order, 'id' ) ) ? '_commission_id' : '_child__commission_id';
1649
- $is_variable_product = $product instanceof WC_Product_Variation;
1650
-
1651
- foreach ( $line_items as $line_item_id => $line_item ) {
1652
- $check = false;
1653
-
1654
- if( $is_variable_product ){
1655
- $check = $line_item[ 'variation_id' ] == yit_get_prop( $product, YITH_Vendors()->is_wc_2_7_or_greather ? 'id' : 'variation_id' );
1656
- }
1657
-
1658
- elseif( $product instanceof WC_Product ) {
1659
- $check = $line_item[ 'product_id' ] == yit_get_prop( $product, 'id' );
1660
- }
1661
-
1662
- if ( $check ) {
1663
- $commission_id = wc_get_order_item_meta ( $line_item_id, $item_meta_key, true );
1664
- $commission = YITH_Commission( $commission_id );
1665
- $admin_url = apply_filters( 'yith_wcmv_commissions_list_table_commission_url', $commission->get_view_url ( 'admin' ), $commission );
1666
-
1667
- $url_attribute_label = sprintf (
1668
- "<a href='%s' class='%s'>%s</a> <small>(%s: <strong>%s</strong>)</small>",
1669
- $admin_url,
1670
- 'commission-id-label',
1671
- __ ( 'commission_id', 'yith-woocommerce-product-vendors' ) ,
1672
- __ ( 'status', 'yith-woocommerce-product-vendors' ) ,
1673
- strtolower( $commission->get_status( 'display' ) )
1674
- );
1675
- $attribute_label = $item_meta_key == $meta_key ? $url_attribute_label : $attribute_label;
1676
- }
1677
- }
1678
- }
1679
-
1680
- return $attribute_label;
1681
- }
1682
-
1683
- /**
1684
- * Filter the edit order page for vendors
1685
- *
1686
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1687
- * @since 1.6
1688
- *
1689
- * @param $check
1690
- *
1691
- * @return bool
1692
- */
1693
- public function vendor_single_order_page ( $check ) {
1694
- global $theorder;
1695
- $vendor = yith_get_vendor ( 'current', 'user' );
1696
- $is_ajax = defined ( 'DOING_AJAX' ) && DOING_AJAX;
1697
- $is_order_details = is_admin () && ! $is_ajax && 'shop_order' == get_current_screen ()->id;
1698
-
1699
- if ( ( $vendor->is_valid () || ( $vendor->is_super_user () && is_object ( $theorder ) && wp_get_post_parent_id ( yit_get_prop( $theorder, 'id' ) ) ) ) && $is_order_details && 'wc_order_is_editable' == current_filter () ) {
1700
- //TODO: da sistemare
1701
- //$check = false;
1702
- }
1703
-
1704
- return $check;
1705
- }
1706
-
1707
- /**
1708
- * Filters meta to hide, to add to the list item order meta added by author class
1709
- *
1710
- * @param $to_hidden Array of order_item_meta meta_key to hide
1711
- *
1712
- * @return array New array of order item meta to hide
1713
- * @since 1.0
1714
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1715
- */
1716
- public function hidden_order_itemmeta ( $to_hidden ) {
1717
- if ( apply_filters ( 'yith_show_commissions_order_item_meta', YITH_Commissions ()->show_order_item_meta )
1718
- &&
1719
- ( ! defined( 'WP_DEBUG' ) || ( defined( 'WP_DEBUG' ) && ! WP_DEBUG ) ) ) {
1720
- $to_hidden[] = '_parent_line_item_id';
1721
- $to_hidden[] = '_commission_included_tax';
1722
- $to_hidden[] = '_commission_included_coupon';
1723
- }
1724
-
1725
- return $to_hidden;
1726
- }
1727
-
1728
- /**
1729
- * Add and reorder order table column
1730
- *
1731
- * @param $order_columns The order table column
1732
- *
1733
- * @return string The label value
1734
- */
1735
- public function shop_order_columns ( $order_columns ) {
1736
- $vendor = yith_get_vendor ( 'current', 'user' );
1737
- if ( $vendor->is_super_user () ) {
1738
- if ( ( ! isset( $_GET[ 'post_status' ] ) || ( isset( $_GET[ 'post_status' ] ) && 'trash' != $_GET[ 'post_status' ] ) ) ) {
1739
- $suborder = array ( 'suborder' => _x ( 'Suborders', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1740
- $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1741
- $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $suborder + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1742
- } else {
1743
- $vendor = array ( 'vendor' => _x ( 'Vendor', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1744
- $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1745
- $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $vendor + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1746
- }
1747
- }
1748
-
1749
- return $order_columns;
1750
- }
1751
-
1752
- /**
1753
- * Output custom columns for coupons
1754
- *
1755
- * @param string $column
1756
- */
1757
- public function render_shop_order_columns ( $column, $order = false ) {
1758
- global $post, $the_order;
1759
-
1760
- if( ! empty( $order ) ){
1761
- $_the_order = $order;
1762
- }
1763
-
1764
- else if ( empty( $the_order ) || yit_get_prop( $the_order, 'id' ) != $post->ID ) {
1765
- $_the_order = wc_get_order ( $post->ID );
1766
- }
1767
-
1768
- else {
1769
- $_the_order = $the_order;
1770
- }
1771
-
1772
- $_the_order_id = yit_get_prop( $_the_order, 'id' );
1773
-
1774
- switch ( $column ) {
1775
- case 'suborder' :
1776
- $suborder_ids = self::get_suborder ( $_the_order_id );
1777
-
1778
- if ( $suborder_ids ) {
1779
- foreach ( $suborder_ids as $suborder_id ) {
1780
- $suborder = wc_get_order ( $suborder_id );
1781
- $vendor = yith_get_vendor ( get_post_field( 'post_author', $suborder_id ), 'user' );
1782
- $order_uri = apply_filters( 'yith_wcmv_edit_order_uri', esc_url ( 'post.php?post=' . absint ( $suborder_id ) . '&action=edit' ), absint ( $suborder_id ) );
1783
- $order_status_name = wc_get_order_status_name ( $suborder->get_status () );
1784
-
1785
- printf ( '<mark class="%s tips" data-tip="%s">%s</mark> <strong><a href="%s">#%s</a></strong> <small class="yith-wcmv-suborder-owner">(%s %s)</small>',
1786
- sanitize_title ( $suborder->get_status () ),
1787
- $order_status_name,
1788
- $order_status_name,
1789
- $order_uri,
1790
- $suborder_id,
1791
- _x ( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ),
1792
- $vendor->name
1793
- );
1794
-
1795
- do_action ( 'yith_wcmv_after_suborder_details', $suborder );
1796
- }
1797
- } else {
1798
- echo '<span class="na">&ndash;</span>';
1799
- }
1800
-
1801
- break;
1802
-
1803
- case 'vendor':
1804
- $order_author_id = get_post_field( 'post_author', $_the_order_id );
1805
- $vendor = yith_get_vendor ( $order_author_id, 'user' );
1806
- if ( $vendor->is_valid () ) {
1807
- printf ( '<a href="%s">%s</a>', $vendor->get_url ( 'admin' ), $vendor->name );
1808
- } else {
1809
- echo '<span class="na">&ndash;</span>';
1810
- }
1811
- break;
1812
- }
1813
- }
1814
-
1815
- /**
1816
- * Add suborder metaboxes for Vendors order
1817
- *
1818
- * @return void
1819
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1820
- */
1821
- public function add_meta_boxes () {
1822
- if ( 'shop_order' != get_current_screen ()->id ) {
1823
- return;
1824
- }
1825
-
1826
- global $post;
1827
- $vendor = yith_get_vendor ( 'current', 'user' );
1828
- $has_suborder = self::get_suborder ( absint ( $post->ID ) );
1829
- $is_suborder = wp_get_post_parent_id ( absint ( $post->ID ) );
1830
-
1831
- if ( $vendor->is_super_user () ) {
1832
- if ( $has_suborder ) {
1833
- $metabox_suborder_description = _x ( 'Suborders', 'Admin: Single order page. Suborder details box', 'yith-woocommerce-product-vendors' ) . ' <span class="tips" data-tip="' . esc_attr__ ( 'Note: from this box you can monitor the status of suborders associated to individual vendors.', 'woocommerce' ) . '">[?]</span>';
1834
- add_meta_box ( 'woocommerce-suborders', $metabox_suborder_description, array ( $this, 'output' ), 'shop_order', 'side', 'core', array ( 'metabox' => 'suborders' ) );
1835
- }
1836
-
1837
- else if ( $is_suborder ) {
1838
- $metabox_parent_order_description = _x ( 'Parent order', 'Admin: Single order page. Parent order details box', 'yith-woocommerce-product-vendors' );
1839
- add_meta_box ( 'woocommerce-parent-order', $metabox_parent_order_description, array ( $this, 'output' ), 'shop_order', 'side', 'high', array ( 'metabox' => 'parent-order' ) );
1840
- }
1841
- }
1842
-
1843
- elseif( $vendor->is_valid() && $vendor->has_limited_access() ){
1844
- //@since 2.0.2
1845
- $metabox_parent_order_description = sprintf( '%s: <em>#%s</em>', _x ( 'Parent order id', 'Admin: Single order page. Parent order details box', 'yith-woocommerce-product-vendors' ), wp_get_post_parent_id ( absint ( $post->ID ) ) );
1846
- add_meta_box ( 'woocommerce-parent-order', $metabox_parent_order_description, array ( $this, 'output' ), 'shop_order', 'side', 'high', array ( 'metabox' => 'vendor' ) );
1847
- }
1848
- }
1849
-
1850
- /**
1851
- * Output the suborder metaboxes
1852
- *
1853
- * @param $post The post object
1854
- * @param $param Callback args
1855
- *
1856
- * @return void
1857
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1858
- */
1859
- public function output ( $post, $param ) {
1860
- switch ( $param[ 'args' ][ 'metabox' ] ) {
1861
- case 'suborders':
1862
- $suborder_ids = self::get_suborder ( absint ( $post->ID ) );
1863
- echo '<ul class="suborders-list single-orders">';
1864
- foreach ( $suborder_ids as $suborder_id ) {
1865
- $suborder = wc_get_order ( absint ( $suborder_id ) );
1866
- $order_author = get_post_field( 'post_author', $suborder_id );
1867
- $vendor = yith_get_vendor ( $order_author, 'user' );
1868
- $suborder_uri = esc_url ( 'post.php?post=' . absint ( $suborder_id ) . '&action=edit' );
1869
- echo '<li class="suborder-info">';
1870
- printf ( '<mark class="%s tips" data-tip="%s">%s</mark> <strong><a href="%s">#%s</a></strong> <small class="single-order yith-wcmv-suborder-owner">%s %s</small><br/>',
1871
- sanitize_title ( $suborder->get_status () ),
1872
- wc_get_order_status_name ( $suborder->get_status () ),
1873
- wc_get_order_status_name ( $suborder->get_status () ),
1874
- $suborder_uri,
1875
- $suborder_id,
1876
- $vendor->is_valid() ? _x ( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ) : '-',
1877
- $vendor->is_valid() ? $vendor->name : __( 'Vendor deleted', 'yith-woocommerce-product-vendors' )
1878
- );
1879
- echo '<li>';
1880
- do_action ( 'yith_wcmv_after_suborder_vendor_info', $suborder, $vendor );
1881
- }
1882
- echo '</ul>';
1883
- break;
1884
-
1885
- case 'parent-order':
1886
- $parent_order_id = wp_get_post_parent_id ( absint ( $post->ID ) );
1887
- $parent_order_uri = esc_url ( 'post.php?post=' . absint ( $parent_order_id ) . '&action=edit' );
1888
- printf ( '<a href="%s">&#8592; %s</a>', $parent_order_uri, _x ( 'Return to main order', 'Admin: single order page. Link to parent order', 'yith-woocommerce-product-vendors' ) );
1889
- break;
1890
-
1891
- case 'vendor':
1892
- //@since 2.0.2
1893
- _e( 'Pass this ID over to the website administrator for any communication related to this order', 'yith-woocommerce-product-vendors' );
1894
- break;
1895
- }
1896
- }
1897
-
1898
- /**
1899
- * Retrieve all items from an order, grouping all by vendor
1900
- *
1901
- * @param int $parent_order_id the parent order id
1902
- * @param array $args additional parameters
1903
- *
1904
- * @return array
1905
- * @author Lorenzo Giuffrida
1906
- * @since 1.6.0
1907
- */
1908
- public static function get_order_items_by_vendor ( $parent_order_id, $args = array () ) {
1909
-
1910
- /**
1911
- * Define the array of defaults
1912
- */
1913
- $defaults = array (
1914
- 'hide_no_vendor' => false,
1915
- 'hide_without_shipping' => false,
1916
- );
1917
-
1918
- /**
1919
- * Parse incoming $args into an array and merge it with $defaults
1920
- */
1921
- $args = wp_parse_args ( $args, $defaults );
1922
-
1923
- $parent_order = wc_get_order ( $parent_order_id );
1924
- $items = $parent_order->get_items ();
1925
- $product_by_vendor = array ();
1926
-
1927
- //check for vendor product
1928
- foreach ( $items as $item_id => $item ) {
1929
- $vendor = yith_get_vendor ( $item[ 'product_id' ], 'product' );
1930
-
1931
- $vendor_id = 0;
1932
- if ( $vendor->is_valid ( $vendor ) ) {
1933
- $vendor_id = $vendor->id;
1934
- }
1935
-
1936
- // optionally skip product without vendor
1937
- if ( $args[ "hide_no_vendor" ] && ! $vendor_id ) {
1938
- continue;
1939
- }
1940
-
1941
- // optionally skip product without ship
1942
- if ( $args[ "hide_without_shipping" ] ) {
1943
- $product_id = $item[ "product_id" ];
1944
- if ( 0 != $item[ "variation_id" ] ) {
1945
- $product_id = $item[ "variation_id" ];
1946
- }
1947
-
1948
- $product = wc_get_product ( $product_id );
1949
- if ( ! $product->needs_shipping () ) {
1950
- continue;
1951
- }
1952
- }
1953
-
1954
- $product_by_vendor[ $vendor_id ][ $item_id ] = $item;
1955
- }
1956
-
1957
- return $product_by_vendor;
1958
- }
1959
-
1960
- /**
1961
- * Check if the current page is an order details page for vendor
1962
- *
1963
- * @param mixed $vendor The vendor object
1964
- *
1965
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1966
- * @since 1.6.0
1967
- * @return bool
1968
- */
1969
- public function is_vendor_order_page ( $vendor = false ) {
1970
- if ( ! $vendor ) {
1971
- $vendor = yith_get_vendor ( 'current', 'user' );
1972
- }
1973
- $is_ajax = defined ( 'DOING_AJAX' ) && DOING_AJAX;
1974
- $is_order_details = is_admin () && 'edit-shop_order' == get_current_screen()->id;
1975
-
1976
- return $vendor->is_valid () && $vendor->has_limited_access () && $is_order_details && ! $is_ajax;
1977
- }
1978
-
1979
- /**
1980
- * Check if the current page is an order details page for vendor
1981
- *
1982
- * @param mixed $vendor The vendor object
1983
- *
1984
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
1985
- * @since 1.6.0
1986
- * @return bool
1987
- */
1988
- public function is_vendor_order_details_page ( $vendor = false ) {
1989
- global $theorder;
1990
- if ( ! $vendor ) {
1991
- $vendor = yith_get_vendor ( 'current', 'user' );
1992
- }
1993
- $is_ajax = defined ( 'DOING_AJAX' ) && DOING_AJAX;
1994
- $is_order_details = is_admin () && 'shop_order' == get_current_screen ()->id;
1995
-
1996
- return apply_filters( 'yith_wcmv_is_vendor_order_details_page', $vendor->is_valid () && $vendor->has_limited_access() && $is_order_details && ! $is_ajax );
1997
- }
1998
-
1999
- /**
2000
- * Only show vendor's order
2001
- *
2002
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
2003
- *
2004
- * @param arr $request Current request
2005
- *
2006
- * @return arr Modified request
2007
- * @since 1.6
2008
- */
2009
- public function vendor_order_list ( $query ) {
2010
- $vendor = yith_get_vendor ( 'current', 'user' );
2011
-
2012
- if ( is_admin () && $vendor->is_valid () && $vendor->has_limited_access () ) {
2013
- //Remove Exclude Order Comments to vendor admin dashboard
2014
- remove_filter ( 'comments_clauses', array ( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
2015
-
2016
- $suborders = $vendor->get_orders ( 'suborder' );
2017
- $quotes = array();
2018
-
2019
- if( 'no' == get_option( 'yith_wpv_vendors_enable_request_quote', 'no' ) && ! empty( YITH_Vendors()->addons ) && YITH_Vendors()->addons->has_plugin( 'request-quote' ) ){
2020
- $quotes = $vendor->get_orders ( 'quote', YITH_YWRAQ_Order_Request()->raq_order_status );
2021
- }
2022
-
2023
- $query[ 'post__in' ] = ! empty( $quotes ) ? array_diff( $suborders, $quotes ) : $suborders;
2024
- $query[ 'author' ] = absint ( $vendor->get_owner () );
2025
-
2026
- /**
2027
- * YITH Deposits and down payments support
2028
- */
2029
- if( isset( $query['post_parent'] ) && $query['post_parent'] == 0 ){
2030
- unset( $query['post_parent'] );
2031
- }
2032
- }
2033
-
2034
- return $query;
2035
- }
2036
-
2037
- public function check_awaiting_payment( $posted ){
2038
- // Insert or update the post data
2039
- $order_id = absint( WC()->session->order_awaiting_payment );
2040
-
2041
- // Resume the unpaid order if its pending
2042
- if ( $order_id > 0 && ( $order = wc_get_order( $order_id ) ) && $order->has_status( array( 'pending', 'failed' ) ) ) {
2043
- $suborder_ids = $this->get_suborder( $order_id );
2044
- YITH_Commissions()->bulk_action( $suborder_ids, 'delete' );
2045
-
2046
- foreach( $suborder_ids as $suborder_id ){
2047
- wc_delete_shop_order_transients( $suborder_id );
2048
- wp_delete_post( $suborder_id, true );
2049
- }
2050
- }
2051
- }
2052
-
2053
- /**
2054
- * Remove item meta on permanent deletion.
2055
- */
2056
- public function delete_order_items( $postid ) {
2057
- global $wpdb;
2058
-
2059
- if ( in_array( get_post_type( $postid ), wc_get_order_types() ) && wp_get_post_parent_id( $postid ) != 0 ) {
2060
- $wpdb->query( "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2061
  DELETE {$wpdb->prefix}woocommerce_order_items, {$wpdb->prefix}woocommerce_order_itemmeta
2062
  FROM {$wpdb->prefix}woocommerce_order_items
2063
  JOIN {$wpdb->prefix}woocommerce_order_itemmeta ON {$wpdb->prefix}woocommerce_order_items.order_item_id = {$wpdb->prefix}woocommerce_order_itemmeta.order_item_id
2064
  WHERE {$wpdb->prefix}woocommerce_order_items.order_id = '{$postid}';
2065
  " );
2066
- }
2067
- }
2068
 
2069
- /**
2070
- * Remove downloadable permissions on permanent order deletion.
2071
- */
2072
- public function delete_order_downloadable_permissions( $postid ) {
2073
- global $wpdb;
2074
 
2075
- if ( in_array( get_post_type( $postid ), wc_get_order_types() ) && wp_get_post_parent_id( $postid ) != 0 ) {
2076
 
2077
- $wpdb->query( $wpdb->prepare( "
2078
  DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions
2079
  WHERE order_id = %d
2080
  ", $postid ) );
2081
- }
2082
- }
2083
 
2084
- /**
2085
- * Trashed parent order sync
2086
- */
2087
- public function trash_suborder( $order_id ){
2088
- if( wp_get_post_parent_id( $order_id ) == 0 ){
2089
- $suborder_ids = $this->get_suborder( $order_id );
2090
- if( ! empty( $suborder_ids ) ){
2091
- foreach( $suborder_ids as $suborder_id ){
2092
- wp_trash_post( $suborder_id );
2093
- }
2094
- }
2095
- }
2096
- }
2097
 
2098
- public function skip_stripe_charge_for_suborders( $skip, $order_id ){
2099
- if( wp_get_post_parent_id( $order_id ) != 0 ){
2100
- $skip = false;
2101
- }
2102
 
2103
- return $skip;
2104
- }
2105
 
2106
- public function revoke_access_to_product_download( $download_id, $product_id, $order_id ){
2107
 
2108
- check_ajax_referer( 'revoke-access', 'security' );
2109
 
2110
 
2111
- if ( ! current_user_can( 'edit_shop_orders' ) ) {
2112
- die(-1);
2113
- }
2114
 
2115
- $parent_order_id = 0;
2116
- $current_order_id = 0;
2117
- if ( wp_get_post_parent_id ( $order_id ) ) {
2118
- $order = wc_get_order( $order_id );
2119
- $parent_order_id = get_post_field( 'post_parent', $order_id );
2120
- }
2121
 
2122
- global $wpdb;
2123
 
2124
- if( $parent_order_id == 0 ) {
2125
- $suborders = self::get_suborder( $order_id );
2126
- $vendor = yith_get_vendor( $product_id, 'product' );
2127
- $vendor_orders = $vendor->get_orders();
2128
- $suborder_id = array_intersect( $vendor_orders, $suborders );
2129
 
2130
- if( count( $suborder_id ) == 1 ) {
2131
 
2132
- $current_order_id = implode('', $suborder_id );
2133
- }
2134
 
2135
- }else{
2136
- $current_order_id = $parent_order_id;
2137
- }
2138
 
2139
- $query = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s;", $current_order_id, $product_id, $download_id );
2140
- $wpdb->query( $query );
2141
 
2142
- die();
2143
- }
2144
 
2145
- public static function grant_access_to_download() {
2146
 
2147
-
2148
- check_ajax_referer( 'grant-access', 'security' );
2149
 
2150
- if ( ! current_user_can( 'edit_shop_orders' ) ) {
2151
- die(-1);
2152
- }
2153
 
 
 
 
2154
 
2155
- global $wpdb;
2156
 
2157
- $wpdb->hide_errors();
2158
 
2159
- $order_id = intval( $_POST['order_id'] );
2160
- $product_ids = $_POST['product_ids'];
2161
- $loop = intval( $_POST['loop'] );
2162
- $file_counter = 0;
2163
- $parent_order_id = 0;
2164
-
2165
- if( wp_get_post_parent_id( $order_id) ){
2166
- $order = wc_get_order( $order_id );
2167
- $parent_order_id = get_post_field( 'post_parent', $order_id );
2168
- }
2169
-
2170
- $suborders = self::get_suborder( $order_id );
2171
-
2172
- if ( ! is_array( $product_ids ) ) {
2173
- $product_ids = array( $product_ids );
2174
- }
2175
-
2176
- foreach ( $product_ids as $product_id ) {
2177
-
2178
- $product = wc_get_product( $product_id );
2179
- $get_downloads = YITH_Vendors()->is_wc_2_7_or_greather ? 'get_downloads' : 'get_files';
2180
- $files = $product->$get_downloads();
2181
-
2182
- if( $parent_order_id == 0 ) {
2183
- $vendor = yith_get_vendor( $product_id, 'product' );
2184
- $vendor_orders = $vendor->get_orders();
2185
- $suborder_id = array_intersect( $vendor_orders, $suborders );
2186
-
2187
- if( count( $suborder_id ) == 1 ) {
2188
- $suborder_id = implode( '', $suborder_id );
2189
- $order = wc_get_order( $suborder_id );
2190
- }
2191
- }else{
2192
- $order = wc_get_order( $parent_order_id );
2193
- }
2194
-
2195
- $billing_email = ! empty( $order ) ? yit_get_prop( $order, 'billing_email' ) : false;
2196
-
2197
- if ( ! $billing_email ) {
2198
- return;
2199
- }
2200
-
2201
-
2202
- if ( ! empty( $files ) ) {
2203
- foreach ( $files as $download_id => $file ) {
2204
- if ( $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order ) ) {
2205
-
2206
- // insert complete - get inserted data
2207
- $download = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE permission_id = %d", $inserted_id ) );
2208
-
2209
- $loop ++;
2210
- $file_counter ++;
2211
-
2212
- if ( isset( $file['name'] ) ) {
2213
- $file_count = $file['name'];
2214
- } else {
2215
- $file_count = sprintf( __( 'File %d', 'woocommerce' ), $file_counter );
2216
- }
2217
- // include( WC()->plugin_path().'/includes/admin/meta-boxes/views/html-order-download-permission.php' );
2218
- }
2219
- }
2220
- }
2221
- }
2222
- }
2223
-
2224
- /**
2225
- * Checks if an order needs display the shipping address, based on shipping method.
2226
- *
2227
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
2228
- * @return boolean
2229
- */
2230
- public function order_needs_shipping_address( $needs_address, $hide, $order ){
2231
- $raq_order_meta = get_post_meta( yit_get_prop( $order, 'id' ), 'ywraq_raq' );
2232
- $is_quote = ! empty( $raq_order_meta );
2233
-
2234
- $post_parent = get_post_field( 'post_parent', yit_get_prop( $order, 'id' ) );
2235
-
2236
- if( $post_parent && ! $is_quote ){
2237
- $parent_order = wc_get_order( $post_parent );
2238
-
2239
- $shipping_enabled = function_exists( 'wc_shipping_enabled' ) ? wc_shipping_enabled() : 'yes' == get_option( 'woocommerce_calc_shipping' );
2240
-
2241
- if ( ! $shipping_enabled ) {
2242
- return false;
2243
- }
2244
-
2245
- $hide = apply_filters( 'woocommerce_order_hide_shipping_address', array( 'local_pickup' ), $this );
2246
- $needs_address = false;
2247
-
2248
- foreach ( $parent_order->get_shipping_methods() as $shipping_method ) {
2249
- if ( ! in_array( $shipping_method['method_id'], $hide ) ) {
2250
- $needs_address = true;
2251
- break;
2252
- }
2253
- }
2254
- }
2255
-
2256
- return $needs_address;
2257
- }
2258
-
2259
- /**
2260
- * @param $tax_rate_id
2261
- * @param int $tax_amount
2262
- * @param int $shipping_tax_amount
2263
- */
2264
- public function add_tax( $order, $tax_rate_id, $tax_amount = 0, $shipping_tax_amount = 0 ){
2265
- if( YITH_Vendors()->is_wc_2_7_or_greather ){
2266
- $item = new WC_Order_Item_Tax();
2267
- $item->set_props( array(
2268
- 'rate_id' => $tax_rate_id,
2269
- 'tax_total' => $tax_amount,
2270
- 'shipping_tax_total' => $shipping_tax_amount,
2271
- ) );
2272
- $item->set_rate( $tax_rate_id );
2273
- $item->set_order_id( $order->get_id() );
2274
- $item->save();
2275
- $order->add_item( $item );
2276
- }
2277
-
2278
- else {
2279
- $order->add_tax ( $tax_rate_id, $tax_amount, $shipping_tax_amount );
2280
- }
2281
- }
2282
-
2283
- /**
2284
- * Wrapper to add shipping to suborder.
2285
- *
2286
- * @param WC_Order $order Vendor suborder object
2287
- * @param WC_Shipping_Rate $shipping_rate Shipping rate object from cart
2288
- *
2289
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
2290
- * @since 1.6
2291
- * @return int shipping item id
2292
- */
2293
- public function add_shipping( $order, $shipping_rate ){
2294
- $shipping_item_id = 0;
2295
-
2296
- if( YITH_Vendors()->is_wc_2_7_or_greather ){
2297
- $item = new WC_Order_Item_Shipping();
2298
- $item->set_props( array(
2299
- 'method_title' => $shipping_rate->label,
2300
- 'method_id' => $shipping_rate->id,
2301
- 'total' => wc_format_decimal( $shipping_rate->cost ),
2302
- 'taxes' => $shipping_rate->taxes,
2303
- 'order_id' => $order->get_id(),
2304
- ) );
2305
-
2306
- foreach ( $shipping_rate->get_meta_data() as $key => $value ) {
2307
- $item->add_meta_data( $key, $value, true );
2308
- }
2309
-
2310
- $item->save();
2311
- $order->add_item( $item );
2312
- $shipping_item_id = $item->get_id();
2313
- }
2314
-
2315
- else {
2316
- $shipping_item_id = $order->add_shipping( $shipping_rate );
2317
- }
2318
-
2319
-
2320
- return $shipping_item_id;
2321
- }
2322
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2323
  }
7
  * It is also available through the world-wide-web at this URL:
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit( 'Direct access forbidden.' );
12
  }
13
 
14
  /**
20
  * @author Your Inspiration Themes
21
  *
22
  */
23
+ if ( ! class_exists( 'YITH_Orders' ) ) {
24
+
25
+ class YITH_Orders {
26
+
27
+ /**
28
+ * Main instance
29
+ *
30
+ * @var string
31
+ * @since 1.4.0
32
+ */
33
+ protected static $_instance = null;
34
+
35
+ /**
36
+ * Order Sync Enabled
37
+ *
38
+ * @var bool
39
+ * @since 1.4.0
40
+ */
41
+ public $sync_enabled = null;
42
+
43
+ /**
44
+ * Constructor
45
+ */
46
+ public function __construct() {
47
+ add_action( 'woocommerce_checkout_update_order_meta', array( $this, 'check_suborder' ), 20, 2 );
48
+
49
+ if ( function_exists( 'YITH_WOCC' ) ) {
50
+ add_action( 'yith_wooc_update_order_meta', array( $this, 'check_suborder' ), 20, 1 );
51
+ }
52
+
53
+ /* Prevent duplicate order if the user use externa payment gateway */
54
+ add_action( 'woocommerce_after_checkout_validation', array( $this, 'check_awaiting_payment' ) );
55
+ add_action( 'before_delete_post', array( $this, 'delete_order_items' ) );
56
+ add_action( 'before_delete_post', array( $this, 'delete_order_downloadable_permissions' ) );
57
+
58
+ /* Prevent Multiple Email Notifications for Suborders */
59
+ add_filter( 'woocommerce_email_recipient_new_order', array(
60
+ $this,
61
+ 'woocommerce_email_recipient_new_order'
62
+ ), 10, 2 );
63
+ add_filter( 'woocommerce_email_recipient_cancelled_order', array(
64
+ $this,
65
+ 'woocommerce_email_recipient_new_order'
66
+ ), 10, 2 );
67
+ add_filter( 'woocommerce_email_enabled_customer_processing_order', array(
68
+ $this,
69
+ 'woocommerce_email_enabled_new_order'
70
+ ), 10, 2 );
71
+ add_filter( 'woocommerce_email_enabled_customer_completed_order', array(
72
+ $this,
73
+ 'woocommerce_email_enabled_new_order'
74
+ ), 10, 2 );
75
+ add_filter( 'woocommerce_email_enabled_customer_partially_refunded_order', array(
76
+ $this,
77
+ 'woocommerce_email_enabled_new_order'
78
+ ), 10, 2 );
79
+ add_filter( 'woocommerce_email_enabled_customer_refunded_order', array(
80
+ $this,
81
+ 'woocommerce_email_enabled_new_order'
82
+ ), 10, 2 );
83
+ add_filter( 'woocommerce_email_enabled_customer_on_hold_order', array(
84
+ $this,
85
+ 'woocommerce_email_enabled_new_order'
86
+ ), 10, 2 );
87
+
88
+ /* Order Refund */
89
+ add_action( 'woocommerce_order_refunded', array( $this, 'order_refunded' ), 10, 2 );
90
+ add_action( 'woocommerce_refund_deleted', array( $this, 'refund_deleted' ), 10, 2 );
91
+
92
+ /* Single Order Page for Vendor */
93
+ add_filter( 'wc_order_is_editable', array( $this, 'vendor_single_order_page' ) );
94
+ add_filter( 'woocommerce_attribute_label', array( $this, 'commissions_attribute_label' ), 10, 3 );
95
+
96
+ /* Order Item Meta */
97
+ add_filter( 'woocommerce_hidden_order_itemmeta', array( $this, 'hidden_order_itemmeta' ) );
98
+
99
+ /* Order Table */
100
+ add_filter( 'manage_shop_order_posts_columns', array( $this, 'shop_order_columns' ), 20);
101
+ add_action( 'manage_shop_order_posts_custom_column', array( $this, 'render_shop_order_columns' ) );
102
+
103
+ /* Order MetaBoxes */
104
+ add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 30 );
105
+
106
+ /* Vendor Order List */
107
+ add_filter( 'yith_wcmv_shop_order_request', array( $this, 'vendor_order_list' ), 20 );
108
+
109
+ /* Trash Sync */
110
+ add_action( 'trashed_post', array( $this, 'trash_suborder' ), 10, 1 );
111
+
112
+ /* YITH WooCommerce Stripe Support */
113
+ add_filter( 'yith_stripe_skip_capture_charge', array( $this, 'skip_stripe_charge_for_suborders' ), 10, 2 );
114
+
115
+ /* Add shipping addresses to vendor email */
116
+ add_filter( 'woocommerce_order_needs_shipping_address', array(
117
+ $this,
118
+ 'order_needs_shipping_address'
119
+ ), 10, 3 );
120
+
121
+ add_action( 'woocommerce_recorded_sales', array( $this, 'recorded_sales_hack' ) );
122
+
123
+ $this->sync_enabled = 'yes' == get_option( 'yith_wpv_vendors_option_order_synchronization', 'yes' );
124
+
125
+ if ( $this->sync_enabled ) {
126
+ /* SubOrder Sync */
127
+ add_action( 'woocommerce_order_status_changed', array(
128
+ $this,
129
+ 'suborder_status_synchronization'
130
+ ), 30, 3 );
131
+ /* Order Meta Synchronization */
132
+ add_action( 'woocommerce_process_shop_order_meta', array(
133
+ $this,
134
+ 'suborder_meta_synchronization'
135
+ ), 65, 2 );
136
+
137
+ /* SenangPay Payment Gateway for WooCommerce by senangPay Support */
138
+ if ( class_exists( 'senangpay' ) ) {
139
+ add_action( 'woocommerce_payment_complete', array( $this, 'suborder_status_synchronization' ) );
140
+ }
141
+
142
+ /**
143
+ * Other Ajax Action:
144
+ *
145
+ * load_order_items
146
+ * woocommerce_EVENT => nopriv
147
+ */
148
+ $ajax_events = array(
149
+ 'add_order_item' => false,
150
+ /*'add_order_fee' => false,*/
151
+ /*'add_order_shipping' => false,*/
152
+ 'add_order_tax' => false,
153
+ 'remove_order_item' => false,
154
+ 'remove_order_tax' => false,
155
+ 'reduce_order_item_stock' => false,
156
+ 'increase_order_item_stock' => false,
157
+ /*'add_order_item_meta' => false, */
158
+ 'remove_order_item_meta' => false,
159
+ 'calc_line_taxes' => false,
160
+ 'save_order_items' => false,
161
+ 'add_order_note' => false,
162
+ 'delete_order_note' => false,
163
+ );
164
+
165
+ foreach ( $ajax_events as $ajax_event => $nopriv ) {
166
+ add_action( "wp_ajax_woocommerce_{$ajax_event}", array( __CLASS__, $ajax_event ), 5 );
167
+ $nopriv && add_action( "wp_ajax_nopriv_woocommerce_{$ajax_event}", array(
168
+ __CLASS__,
169
+ $ajax_event,
170
+ 5
171
+ ) );
172
+ }
173
+ }
174
+
175
+ //the revoke download permission and the grant download permission would be always synchronized
176
+ add_action( 'woocommerce_ajax_revoke_access_to_product_download', array(
177
+ $this,
178
+ 'revoke_access_to_product_download'
179
+ ), 10, 3 );
180
+ add_action( 'wp_ajax_woocommerce_grant_access_to_download', array( $this, 'grant_access_to_download' ), 5 );
181
+
182
+ if ( is_ajax() && is_callable( YITH_Vendors(), 'load_request_a_quote_module' ) ) {
183
+ YITH_Vendors()->load_request_a_quote_module( true );
184
+ }
185
+ }
186
+
187
+ /**
188
+ * Check for vendor sub-order
189
+ *
190
+ * $parent_order_id string The parent order id
191
+ * $posted mixed Array of posted form data.
192
+ *
193
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
194
+ * @since 1.6
195
+ * @return array|void
196
+ */
197
+ public function check_suborder( $parent_order_id, $posted = array(), $return = false ) {
198
+ //check if is parent order
199
+ if ( wp_get_post_parent_id( $parent_order_id ) != 0 ) {
200
+ return false;
201
+ }
202
+
203
+ $parent_order = wc_get_order( $parent_order_id );
204
+ $items = $parent_order->get_items();
205
+ $products_by_vendor = array();
206
+ $suborder_ids = array();
207
+
208
+ //check for vendor product
209
+ foreach ( $items as $item ) {
210
+ $vendor = yith_get_vendor( $item['product_id'], 'product' );
211
+ if ( $vendor->is_valid() ) {
212
+ $products_by_vendor[ $vendor->id ][] = $item;
213
+ }
214
+ }
215
+
216
+ $vendor_count = count( $products_by_vendor );
217
+
218
+ //Vendor's items ? NO
219
+ if ( $vendor_count == 0 ) {
220
+ return false;
221
+ } //Vendor's items ? YES
222
+ else {
223
+ //add sub-order to parent
224
+ update_post_meta( $parent_order_id, 'has_sub_order', true );
225
+
226
+ foreach ( $products_by_vendor as $vendor_id => $vendor_products ) {
227
+ //create sub-orders
228
+ $suborder_ids[] = $this->create_suborder( $parent_order, $vendor_id, $vendor_products, $posted );
229
+ }
230
+
231
+ if ( ! empty( $suborder_ids ) ) {
232
+ foreach ( $suborder_ids as $suborder_id ) {
233
+ do_action( 'yith_wcmv_checkout_order_processed', $suborder_id );
234
+ }
235
+ }
236
+
237
+ if ( $return ) {
238
+ return $suborder_ids;
239
+ }
240
+ }
241
+ }
242
+
243
+ /**
244
+ * Create vendor sub-order
245
+ *
246
+ * @param WC_Order $parent_order
247
+ * @param int $vendor_id
248
+ * @param array $vendor_products
249
+ * @param array $posted
250
+ *
251
+ * Create an order. Error codes:
252
+ * 520 - Cannot insert order into the database.
253
+ * 521 - Cannot get order after creation.
254
+ * 522 - Cannot update order.
255
+ * 525 - Cannot create line item.
256
+ * 526 - Cannot create fee item.
257
+ * 527 - Cannot create shipping item.
258
+ * 528 - Cannot create tax item.
259
+ * 529 - Cannot create coupon item.
260
+ *
261
+ * @throws Exception
262
+ *
263
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
264
+ * @since 1.6
265
+ * @return int|WP_ERROR
266
+ */
267
+ public function create_suborder( $parent_order, $vendor_id, $vendor_products, $posted ) {
268
+
269
+ /** @var $parent_order WC_Order */
270
+ $vendor = yith_get_vendor( $vendor_id, 'vendor' );
271
+ $parent_order_id = yit_get_prop( $parent_order, 'id' );
272
+ $order_data = apply_filters( 'woocommerce_new_order_data', array(
273
+ 'post_type' => 'shop_order',
274
+ 'post_title' => sprintf( __( 'Order &ndash; %s', 'yith-woocommerce-product-vendors' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Order date parsed by strftime', 'yith-woocommerce-product-vendors' ) ) ),
275
+ 'post_status' => 'wc-' . apply_filters( 'woocommerce_default_order_status', 'pending' ),
276
+ 'ping_status' => 'closed',
277
+ 'post_excerpt' => isset( $posted['order_comments'] ) ? $posted['order_comments'] : '',
278
+ 'post_author' => $vendor->get_owner(),
279
+ 'post_parent' => $parent_order_id,
280
+ 'post_password' => uniqid( 'order_' ) // Protects the post just in case
281
+ )
282
+ );
283
+
284
+ $suborder_id = wp_insert_post( $order_data );
285
+ $suborder = wc_get_order( $suborder_id );
286
+ $parent_line_items = $parent_order->get_items( 'line_item' );
287
+
288
+ if ( ! empty( $suborder_id ) && ! is_wp_error( $suborder_id ) ) {
289
+ $order_total = $discount = $order_tax = 0;
290
+ $product_ids = $order_taxes = $order_shipping_tax_amount = array();
291
+
292
+ // now insert line items
293
+ /** @var $item WC_Order_Item_Product */
294
+ foreach ( $vendor_products as $item ) {
295
+
296
+ $order_total += (float) $item['line_total'];
297
+ //Tax calculation
298
+ $line_tax_data = maybe_unserialize( $item['line_tax_data'] );
299
+ if ( isset( $line_tax_data['total'] ) ) {
300
+ foreach ( $line_tax_data['total'] as $tax_rate_id => $tax ) {
301
+ if ( ! isset( $order_taxes[ $tax_rate_id ] ) ) {
302
+ $order_taxes[ $tax_rate_id ] = 0;
303
+ }
304
+ $order_taxes[ $tax_rate_id ] += $tax;
305
+ //TODO: Shipping Tax
306
+ $order_shipping_tax_amount[ $tax_rate_id ] = 0;
307
+ }
308
+ }
309
+
310
+ $order_tax += (float) $item['line_tax'];
311
+ $product_ids[] = $item['product_id'];
312
+
313
+ $item_id = 0;
314
+
315
+ if ( YITH_Vendors()->is_wc_2_7_or_greather ) {
316
+ $args = array();
317
+
318
+ $args['variation_id'] = ( ! empty( $item['variation_id'] ) ) ? $item['variation_id'] : array();
319
+ $args['product_id'] = ( ! empty( $item['product_id'] ) ) ? $item['product_id'] : array();
320
+
321
+ if ( ! empty( $item['name'] ) ) {
322
+ $args['name'] = $item['name'];
323
+ }
324
+
325
+ if ( isset( $item['line_subtotal'] ) ) {
326
+ $args['totals']['subtotal'] = $item['line_subtotal'];
327
+ }
328
+
329
+ if ( isset( $item['line_total'] ) ) {
330
+ $args['totals']['total'] = $item['line_total'];
331
+ }
332
+
333
+ if ( isset( $item['line_subtotal_tax'] ) ) {
334
+ $args['totals']['subtotal_tax'] = $item['line_subtotal_tax'];
335
+ }
336
+
337
+ if ( isset( $item['line_tax'] ) ) {
338
+ $args['totals']['tax'] = $item['line_tax'];
339
+ }
340
+
341
+ if ( isset( $item['line_tax_data'] ) ) {
342
+ $args['totals']['tax_data'] = $item['line_tax_data'];
343
+ }
344
+
345
+ $item_id = $suborder->add_product( wc_get_product( $item['product_id'] ), $item['quantity'], $args );
346
+
347
+ if ( $item_id ) {
348
+ $suborder_item = $suborder->get_item( $item_id );
349
+ $suborder_item->add_meta_data( '_parent_line_item_id', $item->get_id() );
350
+ $suborder_item->save_meta_data();
351
+ $suborder_item->save();
352
+ }
353
+ } else {
354
+ $item_id = wc_add_order_item( $suborder_id, array(
355
+ 'order_item_name' => $item['name'],
356
+ 'order_item_type' => 'line_item',
357
+ )
358
+ );
359
+ }
360
+
361
+ if ( $item_id ) {
362
+ $metakeys = array_keys( $item['item_meta'] );
363
+ foreach ( $metakeys as $key ) {
364
+ /**
365
+ * Use maybe_unserialize() because wc_add_order_item_meta()
366
+ * use maybe_serialize() that reserialize the serialized string
367
+ * for backward compatibility and to prevent the end of the world.
368
+ *
369
+ * @see wp-includes/functions.php:382
370
+ * @see woocommerce/includes/wc-order-functions.php:449
371
+ * @use wp-includes/meta.php:31
372
+ */
373
+
374
+ $item_meta_value = '';
375
+
376
+ //Check for private or public item meta
377
+ if ( isset( $item[ $key ] ) ) {
378
+ $item_meta_value = maybe_unserialize( $item[ $key ] );
379
+ } else {
380
+ $search_key = ltrim( $key, '_' );
381
+ $item_meta_value = maybe_unserialize( $item[ $search_key ] );
382
+ }
383
+
384
+ wc_add_order_item_meta( $item_id, $key, $item_meta_value );
385
+
386
+ if ( ! YITH_Vendors()->is_wc_2_7_or_greather && '_product_id' == $key ) {
387
+ foreach ( $parent_line_items as $line_item_id => $line_item_value ) {
388
+ /**
389
+ * @internal $key == 'product_id'
390
+ *
391
+ * Check for Variable product.
392
+ * Use the variation id instead of product id
393
+ */
394
+ $product_id = ! empty( $item['variation_id'] ) ? $item['variation_id'] : $item['product_id'];
395
+ $parent_product_id = ! empty( $line_item_value['variation_id'] ) ? $line_item_value['variation_id'] : $line_item_value['product_id'];
396
+
397
+ if ( $product_id == $parent_product_id ) {
398
+ // add line item to retrieve simply the parent line_item_id
399
+ wc_add_order_item_meta( $item_id, '_parent_line_item_id', $line_item_id );
400
+ break;
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
406
+
407
+ //Calculate Discount
408
+ $discount += ( $item['line_subtotal'] - $item['line_total'] );
409
+ }
410
+
411
+ $checkout_fields = WC()->checkout()->checkout_fields;
412
+
413
+ foreach ( $checkout_fields as $section => $order_meta_keys ) {
414
+ if ( 'account' != $section ) {
415
+ foreach ( $order_meta_keys as $order_meta_key => $order_meta_values ) {
416
+ $meta_key = 'shipping' == $section || 'billing' == $section ? '_' . $order_meta_key : $order_meta_key;
417
+ $meta_value_to_save = isset( $posted[ $order_meta_key ] ) ? $posted[ $order_meta_key ] : yit_get_prop( $parent_order, $order_meta_key );
418
+ yit_save_prop( $suborder, $meta_key, $meta_value_to_save );
419
+ }
420
+ }
421
+ }
422
+
423
+ //Shipping: Store shipping for all packages
424
+ $shipping_cost = 0;
425
+ $wc_checkout = WC()->checkout();
426
+
427
+ foreach ( WC()->shipping->get_packages() as $package_key => $package ) {
428
+ if ( ! empty( $package['yith-vendor'] ) && $package['yith-vendor'] instanceof YITH_Vendor && $package['yith-vendor']->id == $vendor_id ) {
429
+ if ( isset( $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ] ) ) {
430
+
431
+ $shipping_item_id = $this->add_shipping( $suborder, $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ] );
432
+
433
+ $shipping_cost += $package['rates'][ $wc_checkout->shipping_methods[ $package_key ] ]->cost;
434
+
435
+ if ( ! $shipping_item_id ) {
436
+ throw new Exception( sprintf( __( 'Error %d: Unable to create order. Please try again.', 'yith-woocommerce-product-vendors' ), 527 ) );
437
+ }
438
+
439
+ // Allows plugins to add order item meta to shipping
440
+ do_action( 'yith_wcmv_add_shipping_order_item', $suborder_id, $shipping_item_id, $package_key );
441
+ }
442
+ }
443
+ }
444
+
445
+ //Coupons
446
+ $order_coupons = $parent_order->get_used_coupons();
447
+
448
+ if ( ! empty( $order_coupons ) ) {
449
+ foreach ( $order_coupons as $order_coupon ) {
450
+ $coupon = new WC_Coupon( $order_coupon );
451
+ $coupon_product_ids = yit_get_prop( $coupon, 'product_ids' );
452
+
453
+ if ( $coupon && is_array( $coupon_product_ids ) && in_array( $product_ids, $coupon_product_ids ) ) {
454
+ $order_item_id = wc_add_order_item( $suborder_id, array(
455
+ 'order_item_name' => $order_coupon,
456
+ 'order_item_type' => 'coupon',
457
+ )
458
+ );
459
+
460
+ // Add line item meta
461
+ if ( $order_item_id ) {
462
+ $order_item_value = isset( WC()->cart->coupon_discount_amounts[ $order_coupon ] ) ? WC()->cart->coupon_discount_amounts[ $order_coupon ] : 0;
463
+ $meta_key = 'discount_amount';
464
+ wc_add_order_item_meta( $order_item_id, $meta_key, $order_item_value );
465
+ }
466
+ }
467
+ }
468
+ }
469
+
470
+ if ( YITH_Vendors()->is_wc_2_6 ) {
471
+ //Calculate Total
472
+ $order_in_total = $order_total + $shipping_cost + $order_tax;
473
+
474
+ $totals = array(
475
+ 'shipping' => wc_format_decimal( $shipping_cost ),
476
+ 'cart_discount' => wc_format_decimal( $discount ),
477
+ 'cart_discount_tax' => 0,
478
+ 'tax' => wc_format_decimal( $order_tax ),
479
+ 'order_shipping_tax' => 0,
480
+ 'total' => wc_format_decimal( $order_in_total ),
481
+ );
482
+
483
+ //Set tax. N.B.: needs total to works
484
+ if ( function_exists( 'WC' ) && WC()->cart instanceof WC_Cart ) {
485
+ /** @var WC_Cart $cart */
486
+ $_cart = WC()->cart;
487
+ $line_item_taxes = array_keys( $_cart->taxes + $_cart->shipping_taxes );
488
+
489
+ foreach ( $line_item_taxes as $tax_rate_id ) {
490
+ if (
491
+ $_cart
492
+ &&
493
+ $tax_rate_id
494
+ &&
495
+ isset( $order_taxes[ $tax_rate_id ] )
496
+ &&
497
+ isset( $order_shipping_tax_amount[ $tax_rate_id ] )
498
+ &&
499
+ apply_filters( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ) !== $tax_rate_id
500
+ ) {
501
+ $suborder->add_tax( $tax_rate_id, $order_taxes[ $tax_rate_id ], $order_shipping_tax_amount[ $tax_rate_id ] );
502
+ }
503
+ }
504
+ }
505
+
506
+ //Set totals
507
+ foreach ( $totals as $meta_key => $meta_value ) {
508
+ $suborder->set_total( $meta_value, $meta_key );
509
+ }
510
+ }
511
+
512
+ //Set other order meta
513
+ $order_meta = array(
514
+ '_payment_method' => yit_get_prop( $parent_order, 'payment_method' ),
515
+ '_payment_method_title' => yit_get_prop( $parent_order, 'payment_method_title' ),
516
+ '_order_key' => apply_filters( 'woocommerce_generate_order_key', uniqid( 'order_' ) ),
517
+ '_customer_user' => $parent_order->get_user_id( 'edit' ),
518
+ '_prices_include_tax' => yit_get_prop( $parent_order, 'prices_include_tax' ),
519
+ '_order_currency' => get_post_meta( $parent_order_id, '_order_currency', true ),
520
+ '_customer_ip_address' => get_post_meta( $parent_order_id, '_customer_ip_address', true ),
521
+ '_customer_user_agent' => get_post_meta( $parent_order_id, '_customer_user_agent', true ),
522
+ );
523
+
524
+ foreach ( $order_meta as $meta_key => $meta_value ) {
525
+ update_post_meta( $suborder_id, $meta_key, $meta_value );
526
+ }
527
+ // Let plugins add meta
528
+ do_action( 'yith_wcmv_checkout_update_order_meta', $suborder_id, $posted );
529
+ // update order version meta
530
+ update_post_meta( $suborder_id, '_order_version', YITH_Vendors()->version );
531
+
532
+ // update created_via meta
533
+ update_post_meta( $suborder_id, '_created_via', 'yith_wcmv_vendor_suborder' );
534
+
535
+ if ( YITH_Vendors()->is_wc_2_7_or_greather ) {
536
+ $suborder->calculate_totals();
537
+ }
538
+
539
+ //Send Email if no sync enabled
540
+ if ( apply_filters( 'yith_wcmv_force_to_trigger_new_order_email_action', ! $this->sync_enabled ) ) {
541
+ WC()->mailer();
542
+ do_action( 'yith_wcmv_new_order_email', $suborder_id );
543
+ }
544
+
545
+ do_action( 'yith_wcmv_suborder_created', $suborder, $suborder_id );
546
+ }
547
+
548
+ return $suborder_id;
549
+ }
550
+
551
+ /**
552
+ * Parent to Child synchronization
553
+ *
554
+ *
555
+ * @param $parent_order_id The parent id order
556
+ * @param $old_status Old Status
557
+ * @param $new_status New Status
558
+ *
559
+ * @internal param \WC_Order $parent_order
560
+ *
561
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
562
+ * @since 1.6
563
+ * @return void
564
+ */
565
+ public function suborder_status_synchronization( $parent_order_id, $old_status = '', $new_status = '' ) {
566
+ //Check if order have sub-order
567
+ if ( wp_get_post_parent_id( $parent_order_id ) ) {
568
+ return false;
569
+ }
570
+
571
+ $suborder_ids = self::get_suborder( $parent_order_id );
572
+ if ( ! empty( $suborder_ids ) ) {
573
+ remove_action( 'woocommerce_order_status_completed', 'wc_paying_customer' );
574
+
575
+ if ( empty( $new_status ) ) {
576
+ $parent_order = wc_get_order( $parent_order_id );
577
+ $new_status = $parent_order->get_status( 'edit' );
578
+ }
579
+
580
+ foreach ( $suborder_ids as $suborder_id ) {
581
+ /** @var $suborder WC_Order */
582
+ $suborder = wc_get_order( $suborder_id );
583
+ $suborder->update_status( $new_status, _x( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) );
584
+ }
585
+ add_action( 'woocommerce_order_status_completed', 'wc_paying_customer' );
586
+ }
587
+ }
588
+
589
+ /**
590
+ * Parent to Child synchronization
591
+ *
592
+ *
593
+ * @param $parent_order_id The parent id order
594
+ * @param $parent_order The parent order
595
+ *
596
+ * @internal param \WC_Order $parent_order
597
+ *
598
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
599
+ * @since 1.6
600
+ * @return void
601
+ */
602
+ public function suborder_meta_synchronization( $parent_order_id, $parent_order ) {
603
+ //Check if order have sub-order
604
+ if ( wp_get_post_parent_id( $parent_order_id ) ) {
605
+ return false;
606
+ }
607
+
608
+ /** @var $suborder WC_Order */
609
+ /** @var $parent_order WC_Order */
610
+ $suborder_ids = self::get_suborder( $parent_order_id );
611
+ $parent_order = wc_get_order( $parent_order_id );
612
+
613
+ if ( ! empty( $suborder_ids ) ) {
614
+ foreach ( $suborder_ids as $suborder_id ) {
615
+ $suborder = wc_get_order( $suborder_id );
616
+ $child_items = array_keys( $suborder->get_items() );
617
+ $_post = $_POST;
618
+ $_post['order_item_id'] = $child_items;
619
+ $suborder_line_total = 0;
620
+
621
+ foreach ( $child_items as $child_items_id ) {
622
+ $parent_item_id = wc_get_order_item_meta( $child_items_id, '_parent_line_item_id', true );
623
+ $parent_item_id = absint( is_array( $parent_item_id ) ? array_shift( $parent_item_id ) : $parent_item_id );
624
+
625
+ foreach ( $_post as $meta_key => $meta_value ) {
626
+ //TODO: Shipping Cost
627
+
628
+ switch ( $meta_key ) {
629
+ case 'line_total':
630
+ case 'line_subtotal':
631
+ case 'order_item_tax_class':
632
+ case 'order_item_qty':
633
+ case 'refund_line_total':
634
+ case 'refund_order_item_qty':
635
+ case 'line_tax':
636
+ case 'line_subtotal_tax':
637
+ case 'line_tax_data':
638
+ case 'refund_line_tax':
639
+
640
+ if ( isset( $_post[ $meta_key ][ $parent_item_id ] ) ) {
641
+ $_post[ $meta_key ][ $child_items_id ] = $_post[ $meta_key ][ $parent_item_id ];
642
+ unset( $_post[ $meta_key ][ $parent_item_id ] );
643
+ }
644
+ break;
645
+
646
+ case 'shipping_cost':
647
+ if ( isset( $_post[ $meta_key ][ $parent_item_id ] ) ) {
648
+ $_post[ $meta_key ][ $child_items_id ] = 0;
649
+ unset( $_post[ $meta_key ][ $parent_item_id ] );
650
+ }
651
+ break;
652
+ default: //nothing to do
653
+ break;
654
+ }
655
+ }
656
+
657
+ //Calculate Order Total
658
+ if ( isset( $_post['line_total'][ $child_items_id ] ) ) {
659
+ $suborder_line_total += wc_format_decimal( $_post['line_total'][ $child_items_id ] );
660
+ }
661
+ }
662
+
663
+ //New Order Total
664
+ $_post['_order_total'] = wc_format_decimal( $suborder_line_total );
665
+
666
+ /**
667
+ * Don't use save method by WC_Meta_Box_Order_Items class because I need to filter the POST information
668
+ * use wc_save_order_items( $order_id, $items ) function directly.
669
+ *
670
+ * @see WC_Meta_Box_Order_Items::save( $suborder_id, $suborder ); in woocommerce\includes\admin\meta-boxes\class-wc-meta-box-order-items.php:45
671
+ * @see wc_save_order_items( $order_id, $items ); in woocommerce\includes\admin\wc-admin-functions.php:176
672
+ */
673
+ wc_save_order_items( $suborder_id, $_post );
674
+ WC_Meta_Box_Order_Downloads::save( $suborder_id, $suborder );
675
+ WC_Meta_Box_Order_Data::save( $suborder_id, $suborder );
676
+ WC_Meta_Box_Order_Actions::save( $suborder_id, $suborder );
677
+ }
678
+ }
679
+ }
680
+
681
+ /**
682
+ * Get suborder from parent_order_id
683
+ *
684
+ *
685
+ * @param bool|int $parent_order_id The parent id order
686
+ *
687
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
688
+ * @since 1.6
689
+ * @return array
690
+ */
691
+ public static function get_suborder( $parent_order_id = false ) {
692
+ $suborder_ids = array();
693
+ if ( $parent_order_id ) {
694
+ global $wpdb;
695
+
696
+ $parent_ids = array( absint( $parent_order_id ) );
697
+
698
+ while ( $parent_ids ) {
699
+ $parent_list = implode( ',', $parent_ids );
700
+ $parent_ids = $wpdb->get_col(
701
+ $wpdb->prepare( "SELECT ID
702
  FROM {$wpdb->posts}
703
  WHERE post_parent IN ({$parent_list})
704
  AND post_type=%s",
705
+ 'shop_order'
706
+ )
707
+ );
708
+
709
+ $suborder_ids = array_merge( $suborder_ids, $parent_ids );
710
+ }
711
+ }
712
+
713
+ return apply_filters( 'yith_wcmv_get_suborder_ids', $suborder_ids, $parent_order_id );
714
+ }
715
+
716
+ /**
717
+ * Get parent item id from child item id
718
+ *
719
+ *
720
+ * @param $suborder The suborder object
721
+ * @param $child_item_id The child item id
722
+ *
723
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
724
+ * @since 1.6
725
+ * @return int|bool The parent item id if exist, false otherwise
726
+ */
727
+ public static function get_parent_item_id( $suborder = false, $child_item_id ) {
728
+ global $wpdb;
729
+ $parent_item_id = false;
730
+
731
+ if ( ! $suborder ) {
732
+ $parent_item_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_id=%d", $child_item_id ) );
733
+ $parent_item_id = ! empty( $parent_item_id ) ? $parent_item_id : false;
734
+ } else {
735
+ $parent_item_id = wc_get_order_item_meta( $child_item_id, '_parent_line_item_id', true );
736
+ }
737
+
738
+
739
+ return $parent_item_id;
740
+ }
741
+
742
+ /**
743
+ * Get parent item id from child item id
744
+ *
745
+ * @param $parent_item_id
746
+ *
747
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
748
+ * @since 1.6
749
+ * @return int|bool The parent item id if exist, false otherwise
750
+ */
751
+ public static function get_child_item_id( $parent_item_id ) {
752
+ global $wpdb;
753
+ $child_item_id = $wpdb->get_var( $wpdb->prepare( "SELECT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_value=%d", '_parent_line_item_id', absint( $parent_item_id ) ) );
754
+
755
+ return $child_item_id;
756
+ }
757
+
758
+ /**
759
+ * Get line item id from parent item id
760
+ *
761
+ * @param $order_item_id The parent order_item_id
762
+ *
763
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
764
+ * @since 1.6
765
+ * @return int|bool The child item id if exist, false otherwise
766
+ */
767
+ public static function get_line_item_id_from_parent( $order_item_id ) {
768
+ global $wpdb;
769
+
770
+ return $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT order_item_id FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_value=%d", '_parent_line_item_id', $order_item_id ) );
771
+ }
772
+
773
+ /**
774
+ * Save order items ajax sync
775
+ *
776
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
777
+ * @since 1.6
778
+ * @return void
779
+ * @access public static
780
+ */
781
+ public static function save_order_items() {
782
+ check_ajax_referer( 'order-item', 'security' );
783
+
784
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
785
+ die( - 1 );
786
+ }
787
+
788
+ if ( isset( $_POST['order_id'] ) && isset( $_POST['items'] ) ) {
789
+ $parent_order_id = absint( $_POST['order_id'] );
790
+ //Check if order have sub-order
791
+ if ( ! wp_get_post_parent_id( $parent_order_id ) ) {
792
+ global $wpdb;
793
+ // Parse the jQuery serialized items
794
+ $_post = $_POST;
795
+ parse_str( $_post['items'], $_post['items'] );
796
+ $suborder_ids = self::get_suborder( $parent_order_id );
797
+ foreach ( $suborder_ids as $suborder_id ) {
798
+ $order_total = 0;
799
+ $suborder = wc_get_order( $suborder_id );
800
+ $child_items = array_keys( $suborder->get_items() );
801
+ $_post['items']['order_item_id'] = $child_items;
802
+ foreach ( $child_items as $child_item_id ) {
803
+ $parent_item_id = self::get_parent_item_id( $suborder, $child_item_id );
804
+ foreach ( $_post['items'] as $meta_key => $meta_value ) {
805
+ if ( ! in_array( $meta_key, array(
806
+ 'order_item_id',
807
+ '_order_total'
808
+ ) ) && isset( $_post['items'][ $meta_key ][ $parent_item_id ] )
809
+ ) {
810
+ $_post['items'][ $meta_key ][ $child_item_id ] = $_post['items'][ $meta_key ][ $parent_item_id ];
811
+ unset( $_post['items'][ $meta_key ][ $parent_item_id ] );
812
+ }
813
+ }
814
+
815
+ /* === Calc Order Totals === */
816
+ if ( ! empty( $_post['items']['line_total'][ $child_item_id ] ) ) {
817
+ $order_total += wc_format_decimal( $_post['items']['line_total'][ $child_item_id ] );
818
+ if ( isset( $_post['items']['line_tax'][ $child_item_id ] ) ) {
819
+ $line_taxes = $_post['items']['line_tax'][ $child_item_id ];
820
+ foreach ( $line_taxes as $line_tax ) {
821
+ $order_total += wc_format_decimal( $line_tax );
822
+ }
823
+ }
824
+ }
825
+
826
+ /* === Calc Refund Totals === */
827
+ if ( ! empty( $_post['items']['refund_line_total'][ $child_item_id ] ) ) {
828
+ $order_total += wc_format_decimal( $_post['items']['refund_line_total'][ $child_item_id ] );
829
+ }
830
+ /* ======================== */
831
+ }
832
+
833
+ /* === Save Parent Meta === */
834
+
835
+ $meta_keys = isset( $_post['items']['meta_key'] ) ? $_post['items']['meta_key'] : array();
836
+ $meta_values = isset( $_post['items']['meta_value'] ) ? $_post['items']['meta_value'] : array();
837
+ $order_item_ids = ! empty( $_post['items']['order_item_id'] ) ? $_post['items']['order_item_id'] : 0;
838
+
839
+ if ( YITH_Vendors()->is_wc_2_7_or_greather && ! empty( $order_item_ids ) && is_array( $order_item_ids ) ) {
840
+ foreach ( $order_item_ids as $order_item_id ) {
841
+ if ( ! empty( $meta_keys[ $order_item_id ] ) && ! empty( $meta_values[ $order_item_id ] ) ) {
842
+ self::save_parent_meta( $meta_keys[ $order_item_id ], $meta_values[ $order_item_id ] );
843
+ }
844
+ }
845
+
846
+ if ( isset( $_post['items']['meta_key'] ) ) {
847
+ unset( $_post['items']['meta_key'] );
848
+ }
849
+ } else {
850
+ self::save_parent_meta( $meta_keys, $meta_values );
851
+ }
852
+
853
+ /* ======================== */
854
+
855
+ // Add order total
856
+ $_post['items']['_order_total'] = $order_total;
857
+
858
+ // Save order items
859
+ wc_save_order_items( $suborder_id, $_post['items'] );
860
+ }
861
+ } else {
862
+ //is suborder
863
+ do_action( 'yith_wcmv_save_suborder_items' );
864
+ }
865
+ }
866
+
867
+ }
868
+
869
+ /**
870
+ * Save parent meta
871
+ *
872
+ * @since WooCommerce 2.7
873
+ *
874
+ * @param $meta_keys
875
+ * @param $meta_values
876
+ * @param array $meta_to_exclude
877
+ */
878
+ public static function save_parent_meta( $meta_keys, $meta_values, $meta_to_exclude = array() ) {
879
+ $default_meta_to_exclude = apply_filters( 'yith_wcmv_order_item_meta_no_sync', array(
880
+ '_child__commission_id',
881
+ '_commission_included_tax',
882
+ '_commission_included_coupon'
883
+ ) );
884
+ $meta_to_exclude = array_merge( $default_meta_to_exclude, $meta_to_exclude );
885
+
886
+ foreach ( $meta_keys as $meta_id => $meta_key ) {
887
+ $meta_value = ( empty( $meta_values[ $meta_id ] ) && ! is_numeric( $meta_values[ $meta_id ] ) ) ? '' : $meta_values[ $meta_id ];
888
+ $parent_order_item_id = self::get_parent_item_id( false, $meta_id );
889
+ $child_order_item_id = self::get_child_item_id( $parent_order_item_id );
890
+
891
+ if ( ! in_array( $meta_key, $meta_to_exclude ) ) {
892
+ wc_update_order_item_meta( $child_order_item_id, '_parent_' . $meta_key, '_commission_id' != $meta_key ? $meta_id : $meta_value );
893
+ }
894
+ }
895
+ }
896
+
897
+ /**
898
+ * Remove order items ajax sync
899
+ *
900
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
901
+ * @since 1.6
902
+ * @return void
903
+ * @access public static
904
+ */
905
+ public static function remove_order_item() {
906
+ check_ajax_referer( 'order-item', 'security' );
907
+
908
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
909
+ die( - 1 );
910
+ }
911
+
912
+ $order_item_ids = $_POST['order_item_ids'];
913
+ if ( ! is_array( $order_item_ids ) && is_numeric( $order_item_ids ) ) {
914
+ $order_item_ids = array( $order_item_ids );
915
+ }
916
+ //TODO: add check order_id if ( ! wp_get_post_parent_id( $parent_order_id ) ) {
917
+ if ( sizeof( $order_item_ids ) > 0 ) {
918
+ /** @var $wpdb wpdb */
919
+ global $wpdb;
920
+ foreach ( $order_item_ids as $order_item_id ) {
921
+ $product_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND order_item_id=%d", '_product_id', absint( $order_item_id ) ) );
922
+ $vendor = yith_get_vendor( $product_id, 'product' );
923
+ if ( $vendor->is_valid() ) {
924
+ $child_order_item_id = self::get_line_item_id_from_parent( $order_item_id );
925
+ ! empty( $child_order_item_id ) && wc_delete_order_item( absint( $child_order_item_id ) );
926
+ }
927
+ }
928
+ }
929
+ }
930
+
931
+ /**
932
+ * Add WooCommerce order notes to suborder
933
+ *
934
+ * @since 1.6
935
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
936
+ * @return void
937
+ */
938
+ public static function add_order_note() {
939
+
940
+ check_ajax_referer( 'add-order-note', 'security' );
941
+
942
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
943
+ die( - 1 );
944
+ }
945
+
946
+ $post_id = absint( $_POST['post_id'] );
947
+ $note = wp_kses_post( trim( stripslashes( $_POST['note'] ) ) );
948
+ $note_type = $_POST['note_type'];
949
+
950
+ $is_customer_note = $note_type == 'customer' ? 1 : 0;
951
+
952
+ if ( $post_id > 0 ) {
953
+ if ( ! wp_get_post_parent_id( $post_id ) ) {
954
+ //Add the order note to parent order
955
+ $order = wc_get_order( $post_id );
956
+ $parent_note_id = $order->add_order_note( $note, $is_customer_note, true );
957
+
958
+ echo '<li rel="' . esc_attr( $parent_note_id ) . '" class="note ';
959
+ if ( $is_customer_note ) {
960
+ echo 'customer-note';
961
+ }
962
+ echo '"><div class="note_content">';
963
+ echo wpautop( wptexturize( $note ) );
964
+ echo '</div><p class="meta"><a href="#" class="delete_note">' . __( 'Delete note', 'yith-woocommerce-product-vendors' ) . '</a></p>';
965
+ echo '</li>';
966
+
967
+ $suborder_ids = self::get_suborder( $post_id );
968
+ if ( ! empty( $suborder_ids ) ) {
969
+ foreach ( $suborder_ids as $suborder_id ) {
970
+ $suborder = wc_get_order( $suborder_id );
971
+ $note_id = $suborder->add_order_note( _x( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) . $note, $is_customer_note, true );
972
+ add_comment_meta( $note_id, 'parent_note_id', $parent_note_id );
973
+ }
974
+ }
975
+ /**
976
+ * Call die(); to prevent WooCommerce action.
977
+ * Updated Parent and Child orders
978
+ */
979
+ die();
980
+ } else {
981
+ //is suborder
982
+ //TODO: Suborder sub-routine
983
+ }
984
+ }
985
+ }
986
+
987
+ /**
988
+ * Remove WooCommerce order notes to suborder
989
+ *
990
+ * @since 1.6
991
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
992
+ * @return void
993
+ */
994
+ public static function delete_order_note() {
995
+ check_ajax_referer( 'delete-order-note', 'security' );
996
+
997
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
998
+ die( - 1 );
999
+ }
1000
+
1001
+ global $wpdb;
1002
+ $parent_note_id = absint( $_POST['note_id'] );
1003
+ $note_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_id FROM {$wpdb->commentmeta} WHERE meta_key=%s AND meta_value=%d", 'parent_note_id', $parent_note_id ) );
1004
+
1005
+ if ( ! empty( $note_ids ) ) {
1006
+ foreach ( $note_ids as $note_id ) {
1007
+ wp_delete_comment( $note_id );
1008
+ }
1009
+ }
1010
+ }
1011
+
1012
+ /**
1013
+ * Reduce order item stock
1014
+ */
1015
+ public static function reduce_order_item_stock() {
1016
+ self::order_item_stock( 'reduce' );
1017
+ }
1018
+
1019
+ /**
1020
+ * Increase order item stock
1021
+ */
1022
+ public static function increase_order_item_stock() {
1023
+ self::order_item_stock( 'increase' );
1024
+ }
1025
+
1026
+ /**
1027
+ * Reduce order item stock
1028
+ */
1029
+ public static function order_item_stock( $ajax_call_type ) {
1030
+ check_ajax_referer( 'order-item', 'security' );
1031
+
1032
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1033
+ die( - 1 );
1034
+ }
1035
+
1036
+ $order_id = absint( $_POST['order_id'] );
1037
+ if ( ! wp_get_post_parent_id( $order_id ) ) {
1038
+ $order_item_ids = isset( $_POST['order_item_ids'] ) ? $_POST['order_item_ids'] : array();
1039
+ $order_item_qty = isset( $_POST['order_item_qty'] ) ? $_POST['order_item_qty'] : array();
1040
+ $order = wc_get_order( $order_id );
1041
+ $order_items = $order->get_items();
1042
+
1043
+ if ( $order && ! empty( $order_items ) && sizeof( $order_item_ids ) > 0 ) {
1044
+
1045
+ foreach ( $order_items as $item_id => $order_item ) {
1046
+ // Only reduce checked items
1047
+ if ( ! in_array( $item_id, $order_item_ids ) ) {
1048
+ continue;
1049
+ }
1050
+
1051
+ $_product = null;
1052
+
1053
+ if ( YITH_Vendors()->is_wc_2_7_or_greather && is_callable( array(
1054
+ $order_item,
1055
+ 'get_product'
1056
+ ) )
1057
+ ) {
1058
+ $_product = $order_item->get_product();
1059
+ } else {
1060
+ $_product = $order->get_product_from_item( $order_item );
1061
+ }
1062
+
1063
+ $vendor = yith_get_vendor( $_product, 'product' );
1064
+ if ( $vendor->is_valid() && $_product->exists() && $_product->managing_stock() && isset( $order_item_qty[ $item_id ] ) && $order_item_qty[ $item_id ] > 0 ) {
1065
+ global $wpdb;
1066
+
1067
+ $old_stock = $_product->get_stock_quantity();
1068
+ $child_order_item_id = self::get_line_item_id_from_parent( $item_id );
1069
+ $suborder_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT order_id FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_id=%d", absint( $child_order_item_id ) ) );
1070
+ $suborder = wc_get_order( $suborder_id );
1071
+ $note = '';
1072
+ if ( 'reduce' == $ajax_call_type ) {
1073
+ $stock_change = apply_filters( 'woocommerce_reduce_order_stock_quantity', $order_item_qty[ $item_id ], $item_id );
1074
+ $new_stock = $old_stock - $stock_change;
1075
+ $note = sprintf( __( 'Item #%s stock reduced from %s to %s.', 'yith-woocommerce-product-vendors' ), $order_item['product_id'], $old_stock, $new_stock );
1076
+ } elseif ( 'increase' == $ajax_call_type ) {
1077
+ $stock_change = apply_filters( 'woocommerce_restore_order_stock_quantity', $order_item_qty[ $item_id ], $item_id );
1078
+ $new_stock = $old_stock + $stock_change;
1079
+ $note = sprintf( __( 'Item #%s stock increased from %s to %s.', 'yith-woocommerce-product-vendors' ), $order_item['product_id'], $old_stock, $new_stock );
1080
+ }
1081
+
1082
+ ! empty( $note ) && $suborder->add_order_note( $note );
1083
+ }
1084
+ }
1085
+ }
1086
+ } else {
1087
+ //is suborder
1088
+ //TODO: Suborder sub-routine
1089
+ }
1090
+ }
1091
+
1092
+ /**
1093
+ * Remove order item meta
1094
+ */
1095
+ public static function remove_order_item_meta() {
1096
+ global $wpdb;
1097
+
1098
+ check_ajax_referer( 'order-item', 'security' );
1099
+
1100
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1101
+ die( - 1 );
1102
+ }
1103
+
1104
+ $parent_meta_id = absint( $_POST['meta_id'] );
1105
+ $parent_meta_key = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT meta_key FROM {$wpdb->order_itemmeta} WHERE meta_id=%d", $parent_meta_id ) );
1106
+ $child_meta_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT meta_id FROM {$wpdb->order_itemmeta} WHERE meta_value=%d AND meta_key=%s", $parent_meta_id, '_parent_' . $parent_meta_key ) );
1107
+ $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->order_itemmeta} WHERE meta_key=%s AND meta_id=%d", '_parent_' . $parent_meta_key, $child_meta_id ) );
1108
+ }
1109
+
1110
+ /**
1111
+ * Add order item via ajax
1112
+ */
1113
+ public static function add_order_item() {
1114
+ check_ajax_referer( 'order-item', 'security' );
1115
+
1116
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1117
+ die( - 1 );
1118
+ }
1119
+
1120
+ $item_to_add = array();
1121
+
1122
+ if ( ! empty( $_POST['item_to_add'] ) ) {
1123
+ $item_to_add = $_POST['item_to_add'];
1124
+ if ( is_array( $item_to_add ) ) {
1125
+ $item_to_add = sanitize_text_field( array_shift( $item_to_add ) );
1126
+ } else {
1127
+ $item_to_add = sanitize_text_field( $item_to_add );
1128
+ }
1129
+ }
1130
+
1131
+ $order_id = absint( $_POST['order_id'] );
1132
+ $vendor = yith_get_vendor( $item_to_add, 'product' );
1133
+
1134
+ if ( ! wp_get_post_parent_id( $order_id ) && ! empty( $item_to_add ) && $vendor->is_valid() && ! $vendor->is_super_user() ) {
1135
+ // Find the item
1136
+ if ( ! is_numeric( $item_to_add ) ) {
1137
+ die();
1138
+ }
1139
+
1140
+ $post = get_post( $item_to_add );
1141
+
1142
+ if ( ! $post || ( 'product' !== $post->post_type && 'product_variation' !== $post->post_type ) ) {
1143
+ die();
1144
+ }
1145
+
1146
+ $_product = wc_get_product( $item_to_add );
1147
+ $order = wc_get_order( $order_id );
1148
+ $order_taxes = $order->get_taxes();
1149
+ $class = 'new_row';
1150
+ $suborders_id = 0;
1151
+
1152
+ $vendor_suborder_id = $vendor->get_orders( 'suborder' );
1153
+ $suborders_ids = self::get_suborder( $order_id );
1154
+ $suborder_id = array_intersect( $vendor_suborder_id, $suborders_ids );
1155
+
1156
+ if ( is_array( $suborder_id ) && count( $suborder_id ) == 1 ) {
1157
+ $suborder_id = array_shift( $suborder_id );
1158
+ }
1159
+
1160
+ // Set values
1161
+ $item = array();
1162
+ $item_ids = array();
1163
+
1164
+ /**
1165
+ * Product fields
1166
+ */
1167
+ $_product_id = yit_get_base_product_id( $_product );
1168
+ $variation_id = yit_get_prop( $_product, YITH_Vendors()->is_wc_2_7_or_greather ? 'id' : 'variation_id' );
1169
+ $product_price_excluding_tax = wc_format_decimal( yit_get_price_excluding_tax( $_product ) );
1170
+ $item['product_id'] = $_product_id;
1171
+ $item['variation_id'] = ! empty( $variation_id ) ? $variation_id : '';
1172
+ $item['variation_data'] = $item['variation_id'] ? $_product->get_variation_attributes() : '';
1173
+ $item['name'] = $_product->get_title();
1174
+ $item['tax_class'] = $_product->get_tax_class();
1175
+ $item['qty'] = 1;
1176
+ $item['line_subtotal'] = $product_price_excluding_tax;
1177
+ $item['line_subtotal_tax'] = '';
1178
+ $item['line_total'] = $product_price_excluding_tax;
1179
+ $item['line_tax'] = '';
1180
+ $item['type'] = 'line_item';
1181
+
1182
+ // Add line item
1183
+ foreach ( array( 'parent_id' => $order_id, 'child_id' => $suborder_id ) as $type => $id ) {
1184
+ $item_ids[ $type ] = wc_add_order_item( $id, array(
1185
+ 'order_item_name' => $item['name'],
1186
+ 'order_item_type' => 'line_item',
1187
+ ) );
1188
+ }
1189
+
1190
+
1191
+ wc_add_order_item_meta( $item_ids['child_id'], '_parent_line_item_id', $item_ids['parent_id'] );
1192
+
1193
+ foreach ( $item_ids as $key => $item_id ) {
1194
+ // Add line item meta
1195
+ if ( $item_id ) {
1196
+ wc_add_order_item_meta( $item_id, '_qty', $item['qty'] );
1197
+ wc_add_order_item_meta( $item_id, '_tax_class', $item['tax_class'] );
1198
+ wc_add_order_item_meta( $item_id, '_product_id', $item['product_id'] );
1199
+ wc_add_order_item_meta( $item_id, '_variation_id', $item['variation_id'] );
1200
+ wc_add_order_item_meta( $item_id, '_line_subtotal', $item['line_subtotal'] );
1201
+ wc_add_order_item_meta( $item_id, '_line_subtotal_tax', $item['line_subtotal_tax'] );
1202
+ wc_add_order_item_meta( $item_id, '_line_total', $item['line_total'] );
1203
+ wc_add_order_item_meta( $item_id, '_line_tax', $item['line_tax'] );
1204
+
1205
+ // Since 2.2
1206
+ wc_add_order_item_meta( $item_id, '_line_tax_data', array(
1207
+ 'total' => array(),
1208
+ 'subtotal' => array()
1209
+ ) );
1210
+
1211
+ // Store variation data in meta
1212
+ if ( $item['variation_data'] && is_array( $item['variation_data'] ) ) {
1213
+ foreach ( $item['variation_data'] as $key => $value ) {
1214
+ wc_add_order_item_meta( $item_id, str_replace( 'attribute_', '', $key ), $value );
1215
+ }
1216
+ }
1217
+
1218
+ do_action( 'woocommerce_ajax_add_order_item_meta', $item_id, $item );
1219
+ }
1220
+ }
1221
+
1222
+ $item['item_meta'] = wc_get_order_item_meta( $item_ids['parent_id'], '', false );
1223
+ $item['item_meta_array'] = $order->get_item_meta_array( $item_ids['parent_id'] );
1224
+
1225
+
1226
+ if ( YITH_Vendors()->is_wc_lower_2_6 ) {
1227
+ $item = $order->expand_item_meta( $item );
1228
+ }
1229
+
1230
+
1231
+ $item = apply_filters( 'woocommerce_ajax_order_item', $item, $item_ids['parent_id'] );
1232
+
1233
+ /**
1234
+ * WooCommerce Template Hack:
1235
+ * Copy the parent item id into the variable $item_id
1236
+ */
1237
+ $item_id = $item_ids['parent_id'];
1238
+ include( WC()->plugin_path() . '/includes/admin/meta-boxes/views/html-order-item.php' );
1239
+
1240
+ /**
1241
+ * Prevent call default WooCommerce add_order_item() method
1242
+ */
1243
+ die();
1244
+ }
1245
+ }
1246
+
1247
+ /**
1248
+ * Add order tax column via ajax
1249
+ */
1250
+ public static function add_order_tax() {
1251
+ check_ajax_referer( 'order-item', 'security' );
1252
+
1253
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1254
+ die( - 1 );
1255
+ }
1256
+
1257
+ $order_id = absint( $_POST['order_id'] );
1258
+
1259
+ if ( ! wp_get_post_parent_id( $order_id ) ) {
1260
+ $rate_id = absint( $_POST['rate_id'] );
1261
+ $suborder_ids = self::get_suborder( $order_id );
1262
+
1263
+ foreach ( $suborder_ids as $suborder_id ) {
1264
+ $suborder = ! empty( $suborder_id ) ? wc_get_order( absint( $suborder_id ) ) : false;
1265
+ $suborder && $suborder->add_tax( $rate_id, 0, 0 );
1266
+ }
1267
+ } else {
1268
+ //is suborder
1269
+ //TODO: Suborder sub-routine
1270
+ }
1271
+ }
1272
+
1273
+ /**
1274
+ * Calc line tax
1275
+ */
1276
+ public static function calc_line_taxes() {
1277
+ check_ajax_referer( 'calc-totals', 'security' );
1278
+
1279
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1280
+ die( - 1 );
1281
+ }
1282
+
1283
+ $order_id = absint( $_POST['order_id'] );
1284
+
1285
+ if ( ! wp_get_post_parent_id( $order_id ) ) {
1286
+ $_post = $_POST;
1287
+ $suborder_ids = self::get_suborder( $order_id );
1288
+
1289
+ foreach ( $suborder_ids as $suborder_id ) {
1290
+ self::add_line_taxes( $suborder_id );
1291
+ }
1292
+ } else {
1293
+ //is suborder
1294
+ do_action( 'yith_wcmv_calc_suborder_line_taxes' );
1295
+ }
1296
+ }
1297
+
1298
+ public static function add_line_taxes( $order_id ) {
1299
+ global $wpdb;
1300
+
1301
+ check_ajax_referer( 'calc-totals', 'security' );
1302
+
1303
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1304
+ die( - 1 );
1305
+ }
1306
+
1307
+ $tax = new WC_Tax();
1308
+ $items = array();
1309
+ $country = strtoupper( esc_attr( $_POST['country'] ) );
1310
+ $state = strtoupper( esc_attr( $_POST['state'] ) );
1311
+ $postcode = strtoupper( esc_attr( $_POST['postcode'] ) );
1312
+ $city = wc_clean( esc_attr( $_POST['city'] ) );
1313
+ $order = wc_get_order( absint( $order_id ) );
1314
+ $taxes = array();
1315
+ $shipping_taxes = array();
1316
+
1317
+ // Parse the jQuery serialized items
1318
+ parse_str( $_POST['items'], $items );
1319
+
1320
+ // Prevent undefined warnings
1321
+ if ( ! isset( $items['line_tax'] ) ) {
1322
+ $items['line_tax'] = array();
1323
+ }
1324
+
1325
+ if ( ! isset( $items['line_subtotal_tax'] ) ) {
1326
+ $items['line_subtotal_tax'] = array();
1327
+ }
1328
+
1329
+ $items['order_taxes'] = array();
1330
+
1331
+ // Action
1332
+ $items = apply_filters( 'woocommerce_ajax_calc_line_taxes', $items, $order_id, $country, $_POST );
1333
+
1334
+ // Get items and fees taxes
1335
+ if ( isset( $items['order_item_id'] ) ) {
1336
+ $line_total = $line_subtotal = $order_item_tax_class = array();
1337
+ foreach ( $items['order_item_id'] as $parent_item_id ) {
1338
+ $parent_item_id = absint( $parent_item_id );
1339
+ $item_id = self::get_child_item_id( $parent_item_id );
1340
+
1341
+ if ( empty( $item_id ) ) {
1342
+ //no current suborder items
1343
+ continue;
1344
+ }
1345
+
1346
+ $line_total[ $item_id ] = isset( $items['line_total'][ $parent_item_id ] ) ? wc_format_decimal( $items['line_total'][ $parent_item_id ] ) : 0;
1347
+ $line_subtotal[ $item_id ] = isset( $items['line_subtotal'][ $parent_item_id ] ) ? wc_format_decimal( $items['line_subtotal'][ $parent_item_id ] ) : $line_total[ $parent_item_id ];
1348
+ $order_item_tax_class[ $item_id ] = isset( $items['order_item_tax_class'][ $parent_item_id ] ) ? sanitize_text_field( $items['order_item_tax_class'][ $parent_item_id ] ) : '';
1349
+ $product_id = $parent_item_id = wc_get_order_item_meta( $item_id, '_product_id', true );
1350
+
1351
+ $vendor = yith_get_vendor( $product_id, 'product' );
1352
+
1353
+ if ( ! $vendor->is_valid() ) {
1354
+ // no vnedor products
1355
+ continue;
1356
+ }
1357
+
1358
+ $vendor_order_ids = $vendor->get_orders( 'suborder' );
1359
+
1360
+ if ( ! in_array( $order_id, $vendor_order_ids ) ) {
1361
+ // the current product isn't in the current suborder
1362
+ continue;
1363
+ }
1364
+
1365
+ // Get product details
1366
+ if ( get_post_type( $product_id ) == 'product' ) {
1367
+ $_product = wc_get_product( $product_id );
1368
+ $item_tax_status = $_product->get_tax_status();
1369
+ } else {
1370
+ $item_tax_status = 'taxable';
1371
+ }
1372
+
1373
+ if ( '0' !== $order_item_tax_class[ $item_id ] && 'taxable' === $item_tax_status ) {
1374
+ $tax_rates = WC_Tax::find_rates( array(
1375
+ 'country' => $country,
1376
+ 'state' => $state,
1377
+ 'postcode' => $postcode,
1378
+ 'city' => $city,
1379
+ 'tax_class' => $order_item_tax_class[ $item_id ],
1380
+ ) );
1381
+
1382
+ $line_taxes = WC_Tax::calc_tax( $line_total[ $item_id ], $tax_rates, false );
1383
+ $line_subtotal_taxes = WC_Tax::calc_tax( $line_subtotal[ $item_id ], $tax_rates, false );
1384
+
1385
+ // Set the new line_tax
1386
+ foreach ( $line_taxes as $_tax_id => $_tax_value ) {
1387
+ $items['line_tax'][ $item_id ][ $_tax_id ] = $_tax_value;
1388
+ }
1389
+
1390
+ // Set the new line_subtotal_tax
1391
+ foreach ( $line_subtotal_taxes as $_tax_id => $_tax_value ) {
1392
+ $items['line_subtotal_tax'][ $item_id ][ $_tax_id ] = $_tax_value;
1393
+ }
1394
+
1395
+ // Sum the item taxes
1396
+ foreach ( array_keys( $taxes + $line_taxes ) as $key ) {
1397
+ $taxes[ $key ] = ( isset( $line_taxes[ $key ] ) ? $line_taxes[ $key ] : 0 ) + ( isset( $taxes[ $key ] ) ? $taxes[ $key ] : 0 );
1398
+ }
1399
+ }
1400
+ }
1401
+ }
1402
+
1403
+ // Get shipping taxes
1404
+ if ( isset( $items['shipping_method_id'] ) ) {
1405
+ $matched_tax_rates = array();
1406
+
1407
+ $tax_rates = WC_Tax::find_rates( array(
1408
+ 'country' => $country,
1409
+ 'state' => $state,
1410
+ 'postcode' => $postcode,
1411
+ 'city' => $city,
1412
+ 'tax_class' => '',
1413
+ ) );
1414
+
1415
+ if ( $tax_rates ) {
1416
+ foreach ( $tax_rates as $key => $rate ) {
1417
+ if ( isset( $rate['shipping'] ) && 'yes' == $rate['shipping'] ) {
1418
+ $matched_tax_rates[ $key ] = $rate;
1419
+ }
1420
+ }
1421
+ }
1422
+
1423
+ $shipping_cost = $shipping_taxes = array();
1424
+
1425
+ foreach ( $items['shipping_method_id'] as $item_id ) {
1426
+ $item_id = absint( $item_id );
1427
+ $shipping_cost[ $item_id ] = isset( $items['shipping_cost'][ $parent_item_id ] ) ? wc_format_decimal( $items['shipping_cost'][ $parent_item_id ] ) : 0;
1428
+ $_shipping_taxes = WC_Tax::calc_shipping_tax( $shipping_cost[ $item_id ], $matched_tax_rates );
1429
+
1430
+ // Set the new shipping_taxes
1431
+ foreach ( $_shipping_taxes as $_tax_id => $_tax_value ) {
1432
+ $items['shipping_taxes'][ $item_id ][ $_tax_id ] = $_tax_value;
1433
+
1434
+ $shipping_taxes[ $_tax_id ] = isset( $shipping_taxes[ $_tax_id ] ) ? $shipping_taxes[ $_tax_id ] + $_tax_value : $_tax_value;
1435
+ }
1436
+ }
1437
+ }
1438
+
1439
+ // Remove old tax rows
1440
+ $order->remove_order_items( 'tax' );
1441
+
1442
+ // Add tax rows
1443
+ foreach ( array_keys( $taxes + $shipping_taxes ) as $tax_rate_id ) {
1444
+ $order->add_tax( $tax_rate_id, isset( $taxes[ $tax_rate_id ] ) ? $taxes[ $tax_rate_id ] : 0, isset( $shipping_taxes[ $tax_rate_id ] ) ? $shipping_taxes[ $tax_rate_id ] : 0 );
1445
+ }
1446
+
1447
+ // Create the new order_taxes
1448
+ foreach ( $order->get_taxes() as $tax_id => $tax_item ) {
1449
+ $items['order_taxes'][ $tax_id ] = absint( $tax_item['rate_id'] );
1450
+ }
1451
+
1452
+ foreach ( $items as $meta_key => $meta_values ) {
1453
+ if ( is_array( $meta_values ) ) {
1454
+ foreach ( $meta_values as $key => $meta_value ) {
1455
+ if ( 'order_taxes' == $meta_key ) {
1456
+ continue;
1457
+ } else if ( 'order_item_id' == $meta_key ) {
1458
+ $child_item_id = self::get_child_item_id( $meta_value );
1459
+ if ( $child_item_id ) {
1460
+ $items[ $meta_key ][ $key ] = $child_item_id;
1461
+ } else {
1462
+ unset( $items[ $meta_key ][ $key ] );
1463
+ }
1464
+ } else if ( 'meta_key' == $meta_key || 'meta_value' == $meta_key ) {
1465
+ unset( $items[ $meta_key ][ $key ] );
1466
+ } else {
1467
+ if ( 'line_tax' == $meta_key || 'line_subtotal_tax' == $meta_key || 'refund_line_tax' == $meta_key ) {
1468
+ $line_tax_ids = $items[ $meta_key ];
1469
+ $child_item_ids = array_keys( $order->get_items() );
1470
+ foreach ( $line_tax_ids as $line_tax_id => $line_tax_value ) {
1471
+ if ( ! in_array( $line_tax_id, $child_item_ids ) ) {
1472
+ unset( $items[ $meta_key ][ $line_tax_id ] );
1473
+ }
1474
+ }
1475
+ } else {
1476
+ $child_item_id = self::get_child_item_id( $meta_value );
1477
+ if ( $child_item_id ) {
1478
+ $items[ $meta_key ][ $child_item_id ] = $items[ $meta_key ][ $key ];
1479
+ unset( $items[ $meta_key ][ $key ] );
1480
+ }
1481
+ }
1482
+ }
1483
+ }
1484
+ } else if ( '_order_total' == $meta_key ) {
1485
+ $items['_order_total'] = $order->get_total();
1486
+ }
1487
+ }
1488
+
1489
+ if ( ! empty( $items['order_item_id'] ) ) {
1490
+ wc_save_order_items( $order_id, $items );
1491
+ }
1492
+ }
1493
+
1494
+ /**
1495
+ * Remove an order tax
1496
+ */
1497
+ public static function remove_order_tax() {
1498
+
1499
+ check_ajax_referer( 'order-item', 'security' );
1500
+
1501
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1502
+ die( - 1 );
1503
+ }
1504
+
1505
+ $order_id = absint( $_POST['order_id'] );
1506
+
1507
+ if ( ! wp_get_post_parent_id( $order_id ) ) {
1508
+ $rate_id = absint( $_POST['rate_id'] );
1509
+ $parent_order = wc_get_order( $order_id );
1510
+ $parent_taxes = $parent_order->get_taxes();
1511
+ $suborder_ids = self::get_suborder( $order_id );
1512
+ $parent_tax_to_remove = $parent_taxes[ $rate_id ];
1513
+
1514
+ foreach ( $suborder_ids as $suborder_id ) {
1515
+ $suborder = wc_get_order( $suborder_id );
1516
+ $suborder_taxes = $suborder->get_taxes();
1517
+ foreach ( $suborder_taxes as $suborder_tax_key => $suborder_tax_item ) {
1518
+ $suborder_tax_item['rate_id'] == $parent_tax_to_remove['rate_id']
1519
+ &&
1520
+ $suborder_tax_item['name'] == $parent_tax_to_remove['name']
1521
+ &&
1522
+ $suborder_tax_item['label'] == $parent_tax_to_remove['label']
1523
+ &&
1524
+ wc_delete_order_item( $suborder_tax_key );
1525
+ }
1526
+ }
1527
+ } else {
1528
+ //is suborder
1529
+ //TODO: Suborder sub-routine
1530
+ }
1531
+ }
1532
+
1533
+ /**
1534
+ * Prevent duplicated email for customer
1535
+ */
1536
+ public function woocommerce_email_enabled_new_order( $enabled, $object ) {
1537
+ $is_editpost_action = ! empty( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], array(
1538
+ 'editpost',
1539
+ 'edit'
1540
+ ) );
1541
+
1542
+ if ( $is_editpost_action && ! empty( $_REQUEST['post_ID'] ) && wp_get_post_parent_id( $_REQUEST['post_ID'] ) == 0 && $_REQUEST['post_ID'] != yit_get_prop( $object, 'id' ) ) {
1543
+ return false;
1544
+ }
1545
+
1546
+ if ( $is_editpost_action ) {
1547
+ $vendor = yith_get_vendor( 'current', 'user' );
1548
+ if ( $vendor->is_valid() && $vendor->has_limited_access() ) {
1549
+ return $enabled;
1550
+ }
1551
+ }
1552
+
1553
+ return $enabled && $object instanceof WC_Order && wp_get_post_parent_id( yit_get_prop( $object, 'id' ) ) != 0 && ! $is_editpost_action ? false : $enabled;
1554
+ }
1555
+
1556
+ /**
1557
+ * Check for email recipient
1558
+ */
1559
+ public function woocommerce_email_recipient_new_order( $recipient, $object ) {
1560
+ return ( $recipient == get_option( 'recipient' ) || $recipient == get_option( 'admin_email' ) ) && $object instanceof WC_Order && wp_get_post_parent_id( yit_get_prop( $object, 'id' ) ) ? false : $recipient;
1561
+ }
1562
+
1563
+ /**
1564
+ * Handle a refund via the edit order screen.
1565
+ * Called after wp_ajax_woocommerce_refund_line_items action
1566
+ *
1567
+ * @use woocommerce_order_refunded action
1568
+ * @see woocommerce\includes\class-wc-ajax.php:2295
1569
+ */
1570
+ public function order_refunded( $order_id, $parent_refund_id ) {
1571
+ remove_action( 'woocommerce_order_refunded', array( $this, 'order_refunded' ), 10 );
1572
+ if ( ! wp_get_post_parent_id( $order_id ) ) {
1573
+ $create_refund = true;
1574
+ $refund = false;
1575
+ $parent_line_item_refund = 0;
1576
+ $refund_amount = wc_format_decimal( sanitize_text_field( $_POST['refund_amount'] ) );
1577
+ $refund_reason = ! empty( $_POST['refund_reason'] ) ? sanitize_text_field( $_POST['refund_reason'] ) : '';
1578
+ $line_item_qtys = ! empty( $_POST['line_item_qtys'] ) ? json_decode( sanitize_text_field( stripslashes( $_POST['line_item_qtys'] ) ), true ) : array();
1579
+ $line_item_totals = ! empty( $_POST['line_item_totals'] ) ? json_decode( sanitize_text_field( stripslashes( $_POST['line_item_totals'] ) ), true ) : array();
1580
+ $line_item_tax_totals = ! empty( $_POST['line_item_tax_totals'] ) ? json_decode( sanitize_text_field( stripslashes( $_POST['line_item_tax_totals'] ) ), true ) : array();
1581
+ $api_refund = ! empty( $_POST['api_refund'] ) && $_POST['api_refund'] === 'true' ? true : false;
1582
+ $restock_refunded_items = ! empty( $_POST['restock_refunded_items'] ) && $_POST['restock_refunded_items'] === 'true' ? true : false;
1583
+ $order = wc_get_order( $order_id );
1584
+ $parent_order_total = wc_format_decimal( $order->get_total() );
1585
+ $suborder_ids = self::get_suborder( $order_id );
1586
+
1587
+ //calculate line items total from parent order
1588
+ foreach ( $line_item_totals as $item_id => $total ) {
1589
+ $parent_line_item_refund += wc_format_decimal( $total );
1590
+ }
1591
+
1592
+ foreach ( $suborder_ids as $suborder_id ) {
1593
+ $suborder = wc_get_order( $suborder_id );
1594
+ $suborder_items_ids = array_keys( $suborder->get_items() );
1595
+ $suborder_total = wc_format_decimal( $suborder->get_total() );
1596
+ $max_refund = wc_format_decimal( $suborder_total - $suborder->get_total_refunded() );
1597
+ $child_line_item_refund = 0;
1598
+
1599
+ // Prepare line items which we are refunding
1600
+ $line_items = array();
1601
+ $item_ids = array_unique( array_merge( array_keys( $line_item_qtys, $line_item_totals ) ) );
1602
+
1603
+ foreach ( $item_ids as $item_id ) {
1604
+ $child_item_id = self::get_child_item_id( $item_id );
1605
+ if ( $child_item_id && in_array( $child_item_id, $suborder_items_ids ) ) {
1606
+ $line_items[ $child_item_id ] = array(
1607
+ 'qty' => 0,
1608
+ 'refund_total' => 0,
1609
+ 'refund_tax' => array()
1610
+ );
1611
+ }
1612
+ }
1613
+
1614
+ foreach ( $line_item_qtys as $item_id => $qty ) {
1615
+ $child_item_id = self::get_child_item_id( $item_id );
1616
+ if ( $child_item_id && in_array( $child_item_id, $suborder_items_ids ) ) {
1617
+ $line_items[ $child_item_id ]['qty'] = max( $qty, 0 );
1618
+ }
1619
+ }
1620
+
1621
+ foreach ( $line_item_totals as $item_id => $total ) {
1622
+ $child_item_id = self::get_child_item_id( $item_id );
1623
+ if ( $child_item_id && in_array( $child_item_id, $suborder_items_ids ) ) {
1624
+ $total = wc_format_decimal( $total );
1625
+ $child_line_item_refund += $total;
1626
+ $line_items[ $child_item_id ]['refund_total'] = $total;
1627
+ }
1628
+ }
1629
+
1630
+ foreach ( $line_item_tax_totals as $item_id => $tax_totals ) {
1631
+ $child_item_id = self::get_child_item_id( $item_id );
1632
+ if ( $child_item_id && in_array( $child_item_id, $suborder_items_ids ) ) {
1633
+ $line_items[ $child_item_id ]['refund_tax'] = array_map( 'wc_format_decimal', $tax_totals );
1634
+ }
1635
+ }
1636
+
1637
+ //calculate refund amount percentage
1638
+ $suborder_refund_amount = ( ( ( $refund_amount - $parent_line_item_refund ) * $suborder_total ) / $parent_order_total );
1639
+ $suborder_total_refund = wc_format_decimal( $child_line_item_refund + $suborder_refund_amount );
1640
+
1641
+ if ( ! $refund_amount || $max_refund < $suborder_total_refund || 0 > $suborder_total_refund ) {
1642
+ /**
1643
+ * Invalid refund amount.
1644
+ * Check if suborder total != 0 create a partial refund, exit otherwise
1645
+ */
1646
+ $surplus = wc_format_decimal( $suborder_total_refund - $max_refund );
1647
+ $suborder_total_refund = $suborder_total_refund - $surplus;
1648
+ $create_refund = $suborder_total_refund > 0 ? true : false;
1649
+ }
1650
+
1651
+ if ( $create_refund ) {
1652
+ // Create the refund object
1653
+ $refund = wc_create_refund( array(
1654
+ 'amount' => $suborder_total_refund,
1655
+ 'reason' => $refund_reason,
1656
+ 'order_id' => yit_get_prop( $suborder, 'id' ),
1657
+ 'line_items' => $line_items,
1658
+ )
1659
+ );
1660
+
1661
+ add_post_meta( yit_get_prop( $refund, 'id' ), '_parent_refund_id', $parent_refund_id );
1662
+ }
1663
+ }
1664
+ }
1665
+ add_action( 'woocommerce_order_refunded', array( $this, 'order_refunded' ), 10, 2 );
1666
+ }
1667
+
1668
+ /**
1669
+ * Handle a refund via the edit order screen.
1670
+ * Called after wp_ajax_woocommerce_delete_refund action
1671
+ *
1672
+ * @use woocommerce_refund_deleted action
1673
+ * @see woocommerce\includes\class-wc-ajax.php:2328
1674
+ */
1675
+ public static function refund_deleted( $refund_id, $parent_order_id ) {
1676
+ check_ajax_referer( 'order-item', 'security' );
1677
+
1678
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1679
+ die( - 1 );
1680
+ }
1681
+
1682
+ if ( ! wp_get_post_parent_id( $parent_order_id ) ) {
1683
+ global $wpdb;
1684
+ $child_refund_ids = $wpdb->get_col( $wpdb->prepare( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key=%s AND meta_value=%s", '_parent_refund_id', $refund_id ) );
1685
+
1686
+ foreach ( $child_refund_ids as $child_refund_id ) {
1687
+ if ( $child_refund_id && 'shop_order_refund' === get_post_type( $child_refund_id ) ) {
1688
+ $order_id = wp_get_post_parent_id( $child_refund_id );
1689
+ wc_delete_shop_order_transients( $order_id );
1690
+ wp_delete_post( $child_refund_id );
1691
+ }
1692
+ }
1693
+ }
1694
+ }
1695
+
1696
+ /**
1697
+ * Change commission label value
1698
+ *
1699
+ * @param $attribute_label The Label Value
1700
+ * @param $meta_key The Meta Key value
1701
+ * @param bool|\The $product The Product object
1702
+ *
1703
+ * @return string The label value
1704
+ */
1705
+ public function commissions_attribute_label( $attribute_label, $meta_key, $product = false ) {
1706
+ global $pagenow;
1707
+
1708
+ $order = ! empty( $_GET['post'] ) ? wc_get_order( $_GET['post'] ) : false;
1709
+ $order = apply_filters( 'yith_wcmv_commissions_attribute_label_order_object', $order );
1710
+
1711
+ $is_edit_order_page = apply_filters( 'yith_wcmv_commissions_attribute_label_is_edit_order_page', $product && 'post.php' == $pagenow );
1712
+
1713
+ if ( $is_edit_order_page && $order ) {
1714
+ $line_items = $order->get_items( 'line_item' );
1715
+ $item_meta_key = wp_get_post_parent_id( yit_get_prop( $order, 'id' ) ) ? '_commission_id' : '_child__commission_id';
1716
+ $is_variable_product = $product instanceof WC_Product_Variation;
1717
+
1718
+ foreach ( $line_items as $line_item_id => $line_item ) {
1719
+ $check = false;
1720
+
1721
+ if ( $is_variable_product ) {
1722
+ $check = $line_item['variation_id'] == yit_get_prop( $product, YITH_Vendors()->is_wc_2_7_or_greather ? 'id' : 'variation_id' );
1723
+ } elseif ( $product instanceof WC_Product ) {
1724
+ $check = $line_item['product_id'] == yit_get_prop( $product, 'id' );
1725
+ }
1726
+
1727
+ if ( $check ) {
1728
+ $commission_id = wc_get_order_item_meta( $line_item_id, $item_meta_key, true );
1729
+ $commission = YITH_Commission( $commission_id );
1730
+ $admin_url = apply_filters( 'yith_wcmv_commissions_list_table_commission_url', $commission->get_view_url( 'admin' ), $commission );
1731
+
1732
+ $url_attribute_label = sprintf(
1733
+ "<a href='%s' class='%s'>%s</a> <small>(%s: <strong>%s</strong>)</small>",
1734
+ $admin_url,
1735
+ 'commission-id-label',
1736
+ __( 'commission_id', 'yith-woocommerce-product-vendors' ),
1737
+ __( 'status', 'yith-woocommerce-product-vendors' ),
1738
+ strtolower( $commission->get_status( 'display' ) )
1739
+ );
1740
+ $attribute_label = $item_meta_key == $meta_key ? $url_attribute_label : $attribute_label;
1741
+ }
1742
+ }
1743
+ }
1744
+
1745
+ return $attribute_label;
1746
+ }
1747
+
1748
+ /**
1749
+ * Filter the edit order page for vendors
1750
+ *
1751
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1752
+ * @since 1.6
1753
+ *
1754
+ * @param $check
1755
+ *
1756
+ * @return bool
1757
+ */
1758
+ public function vendor_single_order_page( $check ) {
1759
+ global $theorder;
1760
+ $vendor = yith_get_vendor( 'current', 'user' );
1761
+ $is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
1762
+ $is_order_details = is_admin() && ! $is_ajax && 'shop_order' == get_current_screen()->id;
1763
+
1764
+ if ( ( $vendor->is_valid() || ( $vendor->is_super_user() && is_object( $theorder ) && wp_get_post_parent_id( yit_get_prop( $theorder, 'id' ) ) ) ) && $is_order_details && 'wc_order_is_editable' == current_filter() ) {
1765
+ //TODO: da sistemare
1766
+ //$check = false;
1767
+ }
1768
+
1769
+ return $check;
1770
+ }
1771
+
1772
+ /**
1773
+ * Filters meta to hide, to add to the list item order meta added by author class
1774
+ *
1775
+ * @param $to_hidden Array of order_item_meta meta_key to hide
1776
+ *
1777
+ * @return array New array of order item meta to hide
1778
+ * @since 1.0
1779
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1780
+ */
1781
+ public function hidden_order_itemmeta( $to_hidden ) {
1782
+ if ( apply_filters( 'yith_show_commissions_order_item_meta', YITH_Commissions()->show_order_item_meta )
1783
+ &&
1784
+ ( ! defined( 'WP_DEBUG' ) || ( defined( 'WP_DEBUG' ) && ! WP_DEBUG ) )
1785
+ ) {
1786
+ $to_hidden[] = '_parent_line_item_id';
1787
+ $to_hidden[] = '_commission_included_tax';
1788
+ $to_hidden[] = '_commission_included_coupon';
1789
+ }
1790
+
1791
+ return $to_hidden;
1792
+ }
1793
+
1794
+ /**
1795
+ * Add and reorder order table column
1796
+ *
1797
+ * @param $order_columns The order table column
1798
+ *
1799
+ * @return string The label value
1800
+ */
1801
+ public function shop_order_columns( $order_columns ) {
1802
+ $vendor = yith_get_vendor( 'current', 'user' );
1803
+
1804
+ if ( $vendor->is_super_user() ) {
1805
+ $order_number_col_name = YITH_Vendors()->is_wc_3_3_or_greather ? 'order_number' : 'order_title';
1806
+ if ( ( ! isset( $_GET['post_status'] ) || ( isset( $_GET['post_status'] ) && 'trash' != $_GET['post_status'] ) ) ) {
1807
+ $suborder = array( 'suborder' => _x( 'Suborders', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1808
+ $ref_pos = array_search( $order_number_col_name, array_keys( $order_columns ) );
1809
+ $order_columns = array_slice( $order_columns, 0, $ref_pos + 1, true ) + $suborder + array_slice( $order_columns, $ref_pos + 1, count( $order_columns ) - 1, true );
1810
+ }
1811
+
1812
+ else {
1813
+ $vendor = array( 'vendor' => _x( 'Vendor', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1814
+ $ref_pos = array_search( $order_number_col_name, array_keys( $order_columns ) );
1815
+ $order_columns = array_slice( $order_columns, 0, $ref_pos + 1, true ) + $vendor + array_slice( $order_columns, $ref_pos + 1, count( $order_columns ) - 1, true );
1816
+ }
1817
+ }
1818
+
1819
+ return $order_columns;
1820
+ }
1821
+
1822
+ /**
1823
+ * Output custom columns for coupons
1824
+ *
1825
+ * @param string $column
1826
+ */
1827
+ public function render_shop_order_columns( $column, $order = false ) {
1828
+ global $post, $the_order;
1829
+
1830
+ if ( ! empty( $order ) ) {
1831
+ $_the_order = $order;
1832
+ } else if ( empty( $the_order ) || yit_get_prop( $the_order, 'id' ) != $post->ID ) {
1833
+ $_the_order = wc_get_order( $post->ID );
1834
+ } else {
1835
+ $_the_order = $the_order;
1836
+ }
1837
+
1838
+ $_the_order_id = yit_get_prop( $_the_order, 'id' );
1839
+
1840
+ switch ( $column ) {
1841
+ case 'suborder' :
1842
+ $suborder_ids = self::get_suborder( $_the_order_id );
1843
+
1844
+ if ( $suborder_ids ) {
1845
+ foreach ( $suborder_ids as $suborder_id ) {
1846
+ $suborder = wc_get_order( $suborder_id );
1847
+ $vendor = yith_get_vendor( get_post_field( 'post_author', $suborder_id ), 'user' );
1848
+ $order_uri = apply_filters( 'yith_wcmv_edit_order_uri', esc_url( 'post.php?post=' . absint( $suborder_id ) . '&action=edit' ), absint( $suborder_id ) );
1849
+ $order_status_name = wc_get_order_status_name( $suborder->get_status() );
1850
+
1851
+ printf( '<mark class="%s tips" data-tip="%s">%s</mark> <strong><a href="%s">#%s</a></strong> <small class="yith-wcmv-suborder-owner">(%s %s)</small>',
1852
+ sanitize_title( $suborder->get_status() ),
1853
+ $order_status_name,
1854
+ $order_status_name,
1855
+ $order_uri,
1856
+ $suborder->get_order_number(),
1857
+ _x( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ),
1858
+ $vendor->name
1859
+ );
1860
+
1861
+ do_action( 'yith_wcmv_after_suborder_details', $suborder );
1862
+ }
1863
+ } else {
1864
+ echo '<span class="na">&ndash;</span>';
1865
+ }
1866
+
1867
+ break;
1868
+
1869
+ case 'vendor':
1870
+ $order_author_id = get_post_field( 'post_author', $_the_order_id );
1871
+ $vendor = yith_get_vendor( $order_author_id, 'user' );
1872
+ if ( $vendor->is_valid() ) {
1873
+ printf( '<a href="%s">%s</a>', $vendor->get_url( 'admin' ), $vendor->name );
1874
+ } else {
1875
+ echo '<span class="na">&ndash;</span>';
1876
+ }
1877
+ break;
1878
+ }
1879
+ }
1880
+
1881
+ /**
1882
+ * Add suborder metaboxes for Vendors order
1883
+ *
1884
+ * @return void
1885
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1886
+ */
1887
+ public function add_meta_boxes() {
1888
+ if ( 'shop_order' != get_current_screen()->id ) {
1889
+ return;
1890
+ }
1891
+
1892
+ global $post;
1893
+ $vendor = yith_get_vendor( 'current', 'user' );
1894
+ $has_suborder = self::get_suborder( absint( $post->ID ) );
1895
+ $is_suborder = wp_get_post_parent_id( absint( $post->ID ) );
1896
+
1897
+ if ( $vendor->is_super_user() ) {
1898
+ if ( $has_suborder ) {
1899
+ $metabox_suborder_description = _x( 'Suborders', 'Admin: Single order page. Suborder details box', 'yith-woocommerce-product-vendors' ) . ' <span class="tips" data-tip="' . esc_attr__( 'Note: from this box you can monitor the status of suborders associated to individual vendors.', 'yith-woocommerce-product-vendors' ) . '">[?]</span>';
1900
+ add_meta_box( 'woocommerce-suborders', $metabox_suborder_description, array(
1901
+ $this,
1902
+ 'output'
1903
+ ), 'shop_order', 'side', 'core', array( 'metabox' => 'suborders' ) );
1904
+ } else if ( $is_suborder ) {
1905
+ $metabox_parent_order_description = _x( 'Parent order', 'Admin: Single order page. Parent order details box', 'yith-woocommerce-product-vendors' );
1906
+ add_meta_box( 'woocommerce-parent-order', $metabox_parent_order_description, array(
1907
+ $this,
1908
+ 'output'
1909
+ ), 'shop_order', 'side', 'high', array( 'metabox' => 'parent-order' ) );
1910
+ }
1911
+ } elseif ( $vendor->is_valid() && $vendor->has_limited_access() ) {
1912
+ //@since 2.0.2
1913
+ $order_id = wp_get_post_parent_id( absint( $post->ID ) );
1914
+ $order = wc_get_order( $order_id );
1915
+ $metabox_parent_order_description = sprintf( '%s: <em>#%s</em>', _x( 'Parent order id', 'Admin: Single order page. Parent order details box', 'yith-woocommerce-product-vendors' ), $order->get_order_number() );
1916
+ add_meta_box( 'woocommerce-parent-order', $metabox_parent_order_description, array(
1917
+ $this,
1918
+ 'output'
1919
+ ), 'shop_order', 'side', 'high', array( 'metabox' => 'vendor' ) );
1920
+ }
1921
+ }
1922
+
1923
+ /**
1924
+ * Output the suborder metaboxes
1925
+ *
1926
+ * @param $post The post object
1927
+ * @param $param Callback args
1928
+ *
1929
+ * @return void
1930
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1931
+ */
1932
+ public function output( $post, $param ) {
1933
+ switch ( $param['args']['metabox'] ) {
1934
+ case 'suborders':
1935
+ $suborder_ids = self::get_suborder( absint( $post->ID ) );
1936
+ echo '<ul class="suborders-list single-orders">';
1937
+ foreach ( $suborder_ids as $suborder_id ) {
1938
+ $suborder = wc_get_order( absint( $suborder_id ) );
1939
+ $order_author = get_post_field( 'post_author', $suborder_id );
1940
+ $vendor = yith_get_vendor( $order_author, 'user' );
1941
+ $suborder_uri = esc_url( 'post.php?post=' . absint( $suborder_id ) . '&action=edit' );
1942
+ echo '<li class="suborder-info">';
1943
+ printf( '<mark class="%s tips" data-tip="%s">%s</mark> <strong><a href="%s">#%s</a></strong> <small class="single-order yith-wcmv-suborder-owner">%s %s</small><br/>',
1944
+ sanitize_title( $suborder->get_status() ),
1945
+ wc_get_order_status_name( $suborder->get_status() ),
1946
+ wc_get_order_status_name( $suborder->get_status() ),
1947
+ $suborder_uri,
1948
+ $suborder->get_order_number(),
1949
+ $vendor->is_valid() ? _x( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ) : '-',
1950
+ $vendor->is_valid() ? $vendor->name : __( 'Vendor deleted', 'yith-woocommerce-product-vendors' )
1951
+ );
1952
+ echo '<li>';
1953
+ do_action( 'yith_wcmv_after_suborder_vendor_info', $suborder, $vendor );
1954
+ }
1955
+ echo '</ul>';
1956
+ break;
1957
+
1958
+ case 'parent-order':
1959
+ $parent_order_id = wp_get_post_parent_id( absint( $post->ID ) );
1960
+ $parent_order_uri = esc_url( 'post.php?post=' . absint( $parent_order_id ) . '&action=edit' );
1961
+ printf( '<a href="%s">&#8592; %s</a>', $parent_order_uri, _x( 'Return to main order', 'Admin: single order page. Link to parent order', 'yith-woocommerce-product-vendors' ) );
1962
+ break;
1963
+
1964
+ case 'vendor':
1965
+ //@since 2.0.2
1966
+ _e( 'Pass this ID over to the website administrator for any communication related to this order', 'yith-woocommerce-product-vendors' );
1967
+ break;
1968
+ }
1969
+ }
1970
+
1971
+ /**
1972
+ * Retrieve all items from an order, grouping all by vendor
1973
+ *
1974
+ * @param int $parent_order_id the parent order id
1975
+ * @param array $args additional parameters
1976
+ *
1977
+ * @return array
1978
+ * @author Lorenzo Giuffrida
1979
+ * @since 1.6.0
1980
+ */
1981
+ public static function get_order_items_by_vendor( $parent_order_id, $args = array() ) {
1982
+
1983
+ /**
1984
+ * Define the array of defaults
1985
+ */
1986
+ $defaults = array(
1987
+ 'hide_no_vendor' => false,
1988
+ 'hide_without_shipping' => false,
1989
+ );
1990
+
1991
+ /**
1992
+ * Parse incoming $args into an array and merge it with $defaults
1993
+ */
1994
+ $args = wp_parse_args( $args, $defaults );
1995
+
1996
+ $parent_order = wc_get_order( $parent_order_id );
1997
+ $items = $parent_order->get_items();
1998
+ $product_by_vendor = array();
1999
+
2000
+ //check for vendor product
2001
+ foreach ( $items as $item_id => $item ) {
2002
+ $vendor = yith_get_vendor( $item['product_id'], 'product' );
2003
+
2004
+ $vendor_id = 0;
2005
+ if ( $vendor->is_valid( $vendor ) ) {
2006
+ $vendor_id = $vendor->id;
2007
+ }
2008
+
2009
+ // optionally skip product without vendor
2010
+ if ( $args["hide_no_vendor"] && ! $vendor_id ) {
2011
+ continue;
2012
+ }
2013
+
2014
+ // optionally skip product without ship
2015
+ if ( $args["hide_without_shipping"] ) {
2016
+ $product_id = $item["product_id"];
2017
+ if ( 0 != $item["variation_id"] ) {
2018
+ $product_id = $item["variation_id"];
2019
+ }
2020
+
2021
+ $product = wc_get_product( $product_id );
2022
+ if ( ! $product->needs_shipping() ) {
2023
+ continue;
2024
+ }
2025
+ }
2026
+
2027
+ $product_by_vendor[ $vendor_id ][ $item_id ] = $item;
2028
+ }
2029
+
2030
+ return $product_by_vendor;
2031
+ }
2032
+
2033
+ /**
2034
+ * Check if the current page is an order details page for vendor
2035
+ *
2036
+ * @param mixed $vendor The vendor object
2037
+ *
2038
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2039
+ * @since 1.6.0
2040
+ * @return bool
2041
+ */
2042
+ public function is_vendor_order_page( $vendor = false ) {
2043
+ if ( ! $vendor ) {
2044
+ $vendor = yith_get_vendor( 'current', 'user' );
2045
+ }
2046
+ $is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
2047
+ $is_order_details = is_admin() && 'edit-shop_order' == get_current_screen()->id;
2048
+
2049
+ return $vendor->is_valid() && $vendor->has_limited_access() && $is_order_details && ! $is_ajax;
2050
+ }
2051
+
2052
+ /**
2053
+ * Check if the current page is an order details page for vendor
2054
+ *
2055
+ * @param mixed $vendor The vendor object
2056
+ *
2057
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2058
+ * @since 1.6.0
2059
+ * @return bool
2060
+ */
2061
+ public function is_vendor_order_details_page( $vendor = false ) {
2062
+ global $theorder;
2063
+ if ( ! $vendor ) {
2064
+ $vendor = yith_get_vendor( 'current', 'user' );
2065
+ }
2066
+ $is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
2067
+ $is_order_details = is_admin() && 'shop_order' == get_current_screen()->id;
2068
+
2069
+ return apply_filters( 'yith_wcmv_is_vendor_order_details_page', $vendor->is_valid() && $vendor->has_limited_access() && $is_order_details && ! $is_ajax );
2070
+ }
2071
+
2072
+ /**
2073
+ * Only show vendor's order
2074
+ *
2075
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2076
+ *
2077
+ * @param arr $request Current request
2078
+ *
2079
+ * @return arr Modified request
2080
+ * @since 1.6
2081
+ */
2082
+ public function vendor_order_list( $query ) {
2083
+ $vendor = yith_get_vendor( 'current', 'user' );
2084
+
2085
+ if ( is_admin() && $vendor->is_valid() && $vendor->has_limited_access() ) {
2086
+ //Remove Exclude Order Comments to vendor admin dashboard
2087
+ remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ), 10, 1 );
2088
+
2089
+ $suborders = $vendor->get_orders( 'suborder' );
2090
+ $quotes = array();
2091
+
2092
+ if ( 'no' == get_option( 'yith_wpv_vendors_enable_request_quote', 'no' ) && ! empty( YITH_Vendors()->addons ) && YITH_Vendors()->addons->has_plugin( 'request-quote' ) ) {
2093
+ $quotes = $vendor->get_orders( 'quote', YITH_YWRAQ_Order_Request()->raq_order_status );
2094
+ }
2095
+
2096
+ $query['post__in'] = ! empty( $quotes ) ? array_diff( $suborders, $quotes ) : $suborders;
2097
+ $query['author'] = absint( $vendor->get_owner() );
2098
+
2099
+ /**
2100
+ * YITH Deposits and down payments support
2101
+ */
2102
+ if ( isset( $query['post_parent'] ) && $query['post_parent'] == 0 ) {
2103
+ unset( $query['post_parent'] );
2104
+ }
2105
+ }
2106
+
2107
+ return $query;
2108
+ }
2109
+
2110
+ public function check_awaiting_payment( $posted ) {
2111
+ // Insert or update the post data
2112
+ $order_id = absint( WC()->session->order_awaiting_payment );
2113
+
2114
+ // Resume the unpaid order if its pending
2115
+ if ( $order_id > 0 && ( $order = wc_get_order( $order_id ) ) && $order->has_status( array(
2116
+ 'pending',
2117
+ 'failed'
2118
+ ) )
2119
+ ) {
2120
+ $suborder_ids = $this->get_suborder( $order_id );
2121
+ YITH_Commissions()->bulk_action( $suborder_ids, 'delete' );
2122
+
2123
+ foreach ( $suborder_ids as $suborder_id ) {
2124
+ wc_delete_shop_order_transients( $suborder_id );
2125
+ wp_delete_post( $suborder_id, true );
2126
+ }
2127
+ }
2128
+ }
2129
+
2130
+ /**
2131
+ * Remove item meta on permanent deletion.
2132
+ */
2133
+ public function delete_order_items( $postid ) {
2134
+ global $wpdb;
2135
+
2136
+ if ( in_array( get_post_type( $postid ), wc_get_order_types() ) && wp_get_post_parent_id( $postid ) != 0 ) {
2137
+ $wpdb->query( "
2138
  DELETE {$wpdb->prefix}woocommerce_order_items, {$wpdb->prefix}woocommerce_order_itemmeta
2139
  FROM {$wpdb->prefix}woocommerce_order_items
2140
  JOIN {$wpdb->prefix}woocommerce_order_itemmeta ON {$wpdb->prefix}woocommerce_order_items.order_item_id = {$wpdb->prefix}woocommerce_order_itemmeta.order_item_id
2141
  WHERE {$wpdb->prefix}woocommerce_order_items.order_id = '{$postid}';
2142
  " );
2143
+ }
2144
+ }
2145
 
2146
+ /**
2147
+ * Remove downloadable permissions on permanent order deletion.
2148
+ */
2149
+ public function delete_order_downloadable_permissions( $postid ) {
2150
+ global $wpdb;
2151
 
2152
+ if ( in_array( get_post_type( $postid ), wc_get_order_types() ) && wp_get_post_parent_id( $postid ) != 0 ) {
2153
 
2154
+ $wpdb->query( $wpdb->prepare( "
2155
  DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions
2156
  WHERE order_id = %d
2157
  ", $postid ) );
2158
+ }
2159
+ }
2160
 
2161
+ /**
2162
+ * Trashed parent order sync
2163
+ */
2164
+ public function trash_suborder( $order_id ) {
2165
+ if ( wp_get_post_parent_id( $order_id ) == 0 ) {
2166
+ $suborder_ids = $this->get_suborder( $order_id );
2167
+ if ( ! empty( $suborder_ids ) ) {
2168
+ foreach ( $suborder_ids as $suborder_id ) {
2169
+ wp_trash_post( $suborder_id );
2170
+ }
2171
+ }
2172
+ }
2173
+ }
2174
 
2175
+ public function skip_stripe_charge_for_suborders( $skip, $order_id ) {
2176
+ if ( wp_get_post_parent_id( $order_id ) != 0 ) {
2177
+ $skip = false;
2178
+ }
2179
 
2180
+ return $skip;
2181
+ }
2182
 
2183
+ public function revoke_access_to_product_download( $download_id, $product_id, $order_id ) {
2184
 
2185
+ check_ajax_referer( 'revoke-access', 'security' );
2186
 
2187
 
2188
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
2189
+ die( - 1 );
2190
+ }
2191
 
2192
+ $parent_order_id = 0;
2193
+ $current_order_id = 0;
2194
+ if ( wp_get_post_parent_id( $order_id ) ) {
2195
+ $order = wc_get_order( $order_id );
2196
+ $parent_order_id = get_post_field( 'post_parent', $order_id );
2197
+ }
2198
 
2199
+ global $wpdb;
2200
 
2201
+ if ( $parent_order_id == 0 ) {
2202
+ $suborders = self::get_suborder( $order_id );
2203
+ $vendor = yith_get_vendor( $product_id, 'product' );
2204
+ $vendor_orders = $vendor->get_orders();
2205
+ $suborder_id = array_intersect( $vendor_orders, $suborders );
2206
 
2207
+ if ( count( $suborder_id ) == 1 ) {
2208
 
2209
+ $current_order_id = implode( '', $suborder_id );
2210
+ }
2211
 
2212
+ } else {
2213
+ $current_order_id = $parent_order_id;
2214
+ }
2215
 
2216
+ $query = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s;", $current_order_id, $product_id, $download_id );
2217
+ $wpdb->query( $query );
2218
 
2219
+ die();
2220
+ }
2221
 
2222
+ public static function grant_access_to_download() {
2223
 
 
 
2224
 
2225
+ check_ajax_referer( 'grant-access', 'security' );
 
 
2226
 
2227
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
2228
+ die( - 1 );
2229
+ }
2230
 
 
2231
 
2232
+ global $wpdb;
2233
 
2234
+ $wpdb->hide_errors();
2235
+
2236
+ $order_id = intval( $_POST['order_id'] );
2237
+ $product_ids = $_POST['product_ids'];
2238
+ $loop = intval( $_POST['loop'] );
2239
+ $file_counter = 0;
2240
+ $parent_order_id = 0;
2241
+
2242
+ if ( wp_get_post_parent_id( $order_id ) ) {
2243
+ $order = wc_get_order( $order_id );
2244
+ $parent_order_id = get_post_field( 'post_parent', $order_id );
2245
+ }
2246
+
2247
+ $suborders = self::get_suborder( $order_id );
2248
+
2249
+ if ( ! is_array( $product_ids ) ) {
2250
+ $product_ids = array( $product_ids );
2251
+ }
2252
+
2253
+ foreach ( $product_ids as $product_id ) {
2254
+
2255
+ $product = wc_get_product( $product_id );
2256
+ $get_downloads = YITH_Vendors()->is_wc_2_7_or_greather ? 'get_downloads' : 'get_files';
2257
+ $files = $product->$get_downloads();
2258
+
2259
+ if ( $parent_order_id == 0 ) {
2260
+ $vendor = yith_get_vendor( $product_id, 'product' );
2261
+ $vendor_orders = $vendor->get_orders();
2262
+ $suborder_id = array_intersect( $vendor_orders, $suborders );
2263
+
2264
+ if ( count( $suborder_id ) == 1 ) {
2265
+ $suborder_id = implode( '', $suborder_id );
2266
+ $order = wc_get_order( $suborder_id );
2267
+ }
2268
+ } else {
2269
+ $order = wc_get_order( $parent_order_id );
2270
+ }
2271
+
2272
+ $billing_email = ! empty( $order ) ? yit_get_prop( $order, 'billing_email' ) : false;
2273
+
2274
+ if ( ! $billing_email ) {
2275
+ return;
2276
+ }
2277
+
2278
+
2279
+ if ( ! empty( $files ) ) {
2280
+ foreach ( $files as $download_id => $file ) {
2281
+ if ( $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order ) ) {
2282
+
2283
+ // insert complete - get inserted data
2284
+ $download = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE permission_id = %d", $inserted_id ) );
2285
+
2286
+ $loop ++;
2287
+ $file_counter ++;
2288
+
2289
+ if ( isset( $file['name'] ) ) {
2290
+ $file_count = $file['name'];
2291
+ } else {
2292
+ $file_count = sprintf( __( 'File %d', 'yith-woocommerce-product-vendors' ), $file_counter );
2293
+ }
2294
+ // include( WC()->plugin_path().'/includes/admin/meta-boxes/views/html-order-download-permission.php' );
2295
+ }
2296
+ }
2297
+ }
2298
+ }
2299
+ }
2300
+
2301
+ /**
2302
+ * Checks if an order needs display the shipping address, based on shipping method.
2303
+ *
2304
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2305
+ * @return boolean
2306
+ */
2307
+ public function order_needs_shipping_address( $needs_address, $hide, $order ) {
2308
+ $raq_order_meta = get_post_meta( yit_get_prop( $order, 'id' ), 'ywraq_raq' );
2309
+ $is_quote = ! empty( $raq_order_meta );
2310
+
2311
+ $post_parent = get_post_field( 'post_parent', yit_get_prop( $order, 'id' ) );
2312
+
2313
+ if ( $post_parent && ! $is_quote ) {
2314
+ $parent_order = wc_get_order( $post_parent );
2315
+
2316
+ $shipping_enabled = function_exists( 'wc_shipping_enabled' ) ? wc_shipping_enabled() : 'yes' == get_option( 'woocommerce_calc_shipping' );
2317
+
2318
+ if ( ! $shipping_enabled ) {
2319
+ return false;
2320
+ }
2321
+
2322
+ $hide = apply_filters( 'woocommerce_order_hide_shipping_address', array( 'local_pickup' ), $this );
2323
+ $needs_address = false;
2324
+
2325
+ foreach ( $parent_order->get_shipping_methods() as $shipping_method ) {
2326
+ if ( ! in_array( $shipping_method['method_id'], $hide ) ) {
2327
+ $needs_address = true;
2328
+ break;
2329
+ }
2330
+ }
2331
+ }
2332
+
2333
+ return $needs_address;
2334
+ }
2335
+
2336
+ /**
2337
+ * @param $tax_rate_id
2338
+ * @param int $tax_amount
2339
+ * @param int $shipping_tax_amount
2340
+ */
2341
+ public function add_tax( $order, $tax_rate_id, $tax_amount = 0, $shipping_tax_amount = 0 ) {
2342
+ if ( YITH_Vendors()->is_wc_2_7_or_greather ) {
2343
+ $item = new WC_Order_Item_Tax();
2344
+ $item->set_props( array(
2345
+ 'rate_id' => $tax_rate_id,
2346
+ 'tax_total' => $tax_amount,
2347
+ 'shipping_tax_total' => $shipping_tax_amount,
2348
+ ) );
2349
+ $item->set_rate( $tax_rate_id );
2350
+ $item->set_order_id( $order->get_id() );
2351
+ $item->save();
2352
+ $order->add_item( $item );
2353
+ } else {
2354
+ $order->add_tax( $tax_rate_id, $tax_amount, $shipping_tax_amount );
2355
+ }
2356
+ }
2357
+
2358
+ /**
2359
+ * Wrapper to add shipping to suborder.
2360
+ *
2361
+ * @param WC_Order $order Vendor suborder object
2362
+ * @param WC_Shipping_Rate $shipping_rate Shipping rate object from cart
2363
+ *
2364
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2365
+ * @since 1.6
2366
+ * @return int shipping item id
2367
+ */
2368
+ public function add_shipping( $order, $shipping_rate ) {
2369
+ $shipping_item_id = 0;
2370
+
2371
+ if ( YITH_Vendors()->is_wc_2_7_or_greather ) {
2372
+ $item = new WC_Order_Item_Shipping();
2373
+ $item->set_props( array(
2374
+ 'method_title' => $shipping_rate->label,
2375
+ 'method_id' => $shipping_rate->id,
2376
+ 'total' => wc_format_decimal( $shipping_rate->cost ),
2377
+ 'taxes' => $shipping_rate->taxes,
2378
+ 'order_id' => $order->get_id(),
2379
+ ) );
2380
+
2381
+ foreach ( $shipping_rate->get_meta_data() as $key => $value ) {
2382
+ $item->add_meta_data( $key, $value, true );
2383
+ }
2384
+
2385
+ $item->save();
2386
+ $order->add_item( $item );
2387
+ $shipping_item_id = $item->get_id();
2388
+ } else {
2389
+ $shipping_item_id = $order->add_shipping( $shipping_rate );
2390
+ }
2391
+
2392
+
2393
+ return $shipping_item_id;
2394
+ }
2395
+
2396
+ /**
2397
+ * Update total sales amount for each product within a paid order.
2398
+ *
2399
+ * @param int $order_id
2400
+ *
2401
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2402
+ * @return void
2403
+ */
2404
+ public function recorded_sales_hack( $order_id ){
2405
+ if( wp_get_post_parent_id( $order_id ) ){
2406
+ $order = wc_get_order( $order_id );
2407
+ if ( $order instanceof WC_Order && sizeof( $order->get_items() ) > 0 ) {
2408
+ foreach ( $order->get_items() as $item ) {
2409
+ if ( $product_id = $item->get_product_id() ) {
2410
+ $data_store = WC_Data_Store::load( 'product' );
2411
+ $data_store->update_product_sales( $product_id, absint( $item['qty'] ), 'decrease' );
2412
+ }
2413
+ }
2414
+ }
2415
+ $order->get_data_store()->set_recorded_sales( $order, true );
2416
+ }
2417
+ }
2418
+ }
2419
  }
modules/yith-woocommerce-product-vendors/includes/class.yith-vendor.php CHANGED
@@ -45,7 +45,6 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
45
  * @property string $vat
46
  * @property string $featured_products
47
  * @property string $bank_account
48
- * @property string $website
49
  *
50
  */
51
  class YITH_Vendor {
@@ -294,6 +293,12 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
294
  $value = $this->get_pending();
295
  break;
296
 
 
 
 
 
 
 
297
  default:
298
  if ( isset( $this->term->$key ) ) {
299
  $value = $this->term->$key;
@@ -363,8 +368,23 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
363
  */
364
  public function __isset ( $key ) {
365
  /* Support to WooCommerce 2.6 */
366
- $meta_type = YITH_Vendors()->is_wc_lower_2_6 ? 'woocommerce_term' : 'term';
367
- return isset( $this->term->$key ) ? true : metadata_exists ( $meta_type, $this->id, $key );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
368
  }
369
 
370
  /**
@@ -784,29 +804,30 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
784
  return $response;
785
  }
786
 
787
- $average_rating = $reviews_product_count = $average = 0;
788
- $product_ids = $this->get_products ();
789
 
790
- foreach ( $product_ids as $product_id ) {
791
- $product = wc_get_product ( $product_id );
792
- $product_review_count = $product->get_review_count ();
793
 
794
- if ( ! empty( $product_review_count ) ) {
795
- $reviews_product_count ++;
796
- }
797
- $average += $product->get_average_rating ();
798
- }
 
799
 
800
- if ( ! empty( $reviews_product_count ) ) {
801
- $average_rating = number_format ( $average / $reviews_product_count, 2 );
802
- }
803
 
804
- $response = array (
805
- 'average_rating' => $average_rating,
806
- 'reviews_product_count' => $reviews_product_count,
807
- );
808
 
809
- return $response;
810
  }
811
 
812
  /**
45
  * @property string $vat
46
  * @property string $featured_products
47
  * @property string $bank_account
 
48
  *
49
  */
50
  class YITH_Vendor {
293
  $value = $this->get_pending();
294
  break;
295
 
296
+ case 'website':
297
+ if( ! empty( $this->socials['website'] ) ){
298
+ $value = $this->socials['website'];
299
+ }
300
+ break;
301
+
302
  default:
303
  if ( isset( $this->term->$key ) ) {
304
  $value = $this->term->$key;
368
  */
369
  public function __isset ( $key ) {
370
  /* Support to WooCommerce 2.6 */
371
+ $socials = YITH_Vendors()->get_social_fields();
372
+ $meta_type = YITH_Vendors()->is_wc_lower_2_6 ? 'woocommerce_term' : 'term';
373
+ $isset = false;
374
+
375
+ if( isset( $this->term->$key ) ){
376
+ $isset = true;
377
+ }
378
+ //Check if the fields is a socials
379
+ elseif( ! empty( $socials ) && ! empty( $socials['social_fields'] ) && isset( $socials['social_fields'][ $key ] ) ){
380
+ $isset = true;
381
+ }
382
+ //check for valid metadata
383
+ else{
384
+ $isset = metadata_exists ( $meta_type, $this->id, $key );
385
+ }
386
+
387
+ return $isset;
388
  }
389
 
390
  /**
804
  return $response;
805
  }
806
 
807
+ $average_rating = $reviews_product_count = $average = $count_reviewed_products = 0;
808
+ $product_ids = $this->get_products();
809
 
810
+ foreach ( $product_ids as $product_id ) {
811
+ $product = wc_get_product( $product_id );
812
+ $product_review_count = $product->get_review_count();
813
 
814
+ if ( !empty( $product_review_count ) ) {
815
+ $reviews_product_count += $product_review_count;
816
+ $count_reviewed_products++;
817
+ }
818
+ $average += $product->get_average_rating();
819
+ }
820
 
821
+ if ( !empty( $count_reviewed_products ) ) {
822
+ $average_rating = number_format( $average / $count_reviewed_products, 2 );
823
+ }
824
 
825
+ $response = array(
826
+ 'average_rating' => $average_rating,
827
+ 'reviews_product_count' => $reviews_product_count,
828
+ );
829
 
830
+ return $response;
831
  }
832
 
833
  /**
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-admin.php CHANGED
@@ -111,6 +111,9 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
111
  add_action( 'save_post', array( $this, 'add_vendor_taxonomy_to_product' ), 10, 2 );
112
  add_action( 'current_screen', array( $this, 'disabled_manage_other_vendors_posts' ) );
113
 
 
 
 
114
  /* Grouped Products */
115
  add_action( 'pre_get_posts', array( $this, 'filter_vendor_linked_products' ), 10, 1 );
116
 
@@ -219,22 +222,27 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
219
  public function enqueue_scripts() {
220
  wp_register_script( 'yith-wpv-tax-menu', YITH_WPV_ASSETS_URL . 'js/tax-admin-menu.js', array( 'jquery' ), '1.0.0', true );
221
  wp_enqueue_script( 'yith-wpv-admin', YITH_WPV_ASSETS_URL . 'js/admin.js', array( 'jquery' ), '1.0.0', true );
222
- wp_enqueue_style( 'yith-wc-product-vendors-admin', YITH_WPV_ASSETS_URL . 'css/admin.css', array( 'jquery-chosen' ) );
223
  wp_localize_script( 'yith-wpv-admin', 'yith_vendors_caps', array( 'reviews' => get_option( 'yith_wpv_vendors_option_review_management', 'no' ) ) );
224
 
 
 
 
 
 
225
  /* === Admin Menu Hack === */
226
  if ( $this->is_vendor_tax_page() ) {
227
  wp_enqueue_script( 'yith-wpv-tax-menu' );
228
- wp_enqueue_script( 'wc-enhanced-select' );
229
  $css = '#adminmenu li#menu-posts-product > a:after{display:none;}
230
  #adminmenu .wp-has-current-submenu .wp-submenu{display: none;}
231
  #adminmenu li#menu-posts-product:not(.yith-wcmv-tax-menu) > a {color: #eee; background-color: transparent;}
232
  #adminmenu #menu-posts-product:not(.yith-wcmv-tax-menu) .menu-icon-post div.wp-menu-image:before {color: #eee !important;}';
233
  wp_add_inline_style( 'yith-wc-product-vendors-admin', $css );
234
- }
235
 
236
- if( $this->is_vendor_dashboard() ){
237
- wp_enqueue_script( 'wc-enhanced-select' );
 
238
  }
239
  }
240
 
@@ -574,7 +582,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
574
  'class' => 'wc-customer-search',
575
  'id' => 'key_user',
576
  'name' => 'yith_vendor_data[owner]',
577
- 'data-placeholder' => esc_attr__( 'Search for a customer&hellip;', 'woocommerce' ),
578
  'data-allow_clear' => true,
579
  'data-selected' => '',
580
  'value' => ''
@@ -607,7 +615,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
607
  'class' => 'wc-customer-search',
608
  'id' => 'key_user',
609
  'name' => 'yith_vendor_data[owner]',
610
- 'data-placeholder' => esc_attr__( 'Search for a customer&hellip;', 'woocommerce' ),
611
  'data-allow_clear' => true,
612
  'data-selected' => YITH_Vendors()->is_wc_2_7_or_greather ? array( $owner_id => $vendor_owner ) : $vendor_owner,
613
  'value' => $owner_id
@@ -682,7 +690,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
682
  if( ! empty( $_POST['yith_vendor_data']['owner'] ) ){
683
  $vendor = yith_get_vendor( $_POST['yith_vendor_data']['owner'], 'user' );
684
  if( $vendor->is_valid() ){
685
- $to_return = new WP_Error( 'owner_exists', __( "You can't create more vendor with the same shop owner.", 'yith-woocommerce-product-vendors' ), $duplicate );
686
  }
687
  }
688
 
@@ -702,139 +710,147 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
702
  */
703
  public function save_taxonomy_fields( $vendor_id = 0 ) {
704
 
705
- if ( !isset( $_POST[ 'yith_vendor_data' ] ) ) {
706
- return;
707
- }
708
 
709
- $is_new = strpos( current_action(), 'created_' ) !== false;
710
 
711
- // if not is set $vendor_id check if there is the update_vendor_id field inside the $_POST array
712
- if ( empty( $vendor_id ) && isset( $_POST[ 'update_vendor_id' ] ) ) {
713
- $vendor_id = $_POST[ 'update_vendor_id' ];
714
- }
715
 
716
- $vendor = yith_get_vendor( $vendor_id );
717
 
718
- if ( ! $vendor->is_valid() ) {
719
- return;
720
- }
721
 
722
- $vendor_name = '';
723
 
724
- if( isset( $_POST[ 'tag-name' ] ) ){
725
- $vendor_name = $_POST[ 'tag-name' ];
726
- }
727
 
728
- elseif( isset( $_POST[ 'name' ] ) ){
729
- $vendor_name = $_POST[ 'name' ];
730
- }
731
 
732
  $check = $this->check_duplicate_term_name( $vendor_name, YITH_Vendors()->get_taxonomy_name() );
733
 
734
- if( is_wp_error( $check ) && ! empty( $check->error_data['term_exists'] ) && $check->error_data['term_exists']->term_id != $vendor->id ){
735
- $show_admin_notices = 'name_exists';
736
- }
737
-
738
- else {
739
- $post_value = $_POST['yith_vendor_data'];
740
- $usermeta_owner = YITH_Vendors()->get_user_meta_owner();
741
- $usermeta_admin = YITH_Vendors()->get_user_meta_key();
742
-
743
- if ( ! $vendor->has_limited_access() ) {
744
- foreach (apply_filters('yith_wpv_save_checkboxes', array('enable_selling'), $vendor->has_limited_access()) as $key) {
745
- !isset($post_value[$key]) && $post_value[$key] = 'no';
746
- }
747
- } else {
748
- foreach (apply_filters('yith_wpv_save_checkboxes', array(), $vendor->has_limited_access()) as $key) {
749
- !isset($post_value[$key]) && $post_value[$key] = 'no';
750
- }
751
- }
752
-
753
- // set values
754
- foreach ($post_value as $key => $value) {
755
- if ($key == 'description') {
756
- $vendor->$key = $value;
757
- } else {
758
- $vendor->$key = !is_array($value) ? wc_clean($value) : $value;
759
- }
760
- }
761
-
762
- // add vendor registrantion date
763
- if ($is_new) {
764
- $vendor->registration_date = current_time('mysql');
765
- $vendor->registration_date_gmt = current_time('mysql', 1);
766
- }
767
-
768
- // Get current vendor admins and owner
769
- $admins = $vendor->get_admins();
770
- $owner = $vendor->get_owner();
771
-
772
- if (empty($post_value['admins']) && 'admin_action_yith_admin_save_fields' == current_action()) {
773
- //If the vendor save a tab different of vendor settings
774
- $post_value['admins'] = $admins;
775
- }
776
-
777
- // Remove all current admins (user meta)
778
- foreach ($admins as $user_id) {
779
- $user = get_user_by('id', $user_id);
780
- delete_user_meta($user_id, $usermeta_admin);
781
- $user->remove_role(YITH_Vendors()->get_role_name());
782
- $user->add_role('customer');
783
- }
784
-
785
- // Remove current owner and update it
786
- if (!empty($post_value['owner']) && $owner != $post_value['owner']) {
787
- delete_user_meta($owner, $usermeta_owner);
788
- update_user_meta(intval($post_value['owner']), $usermeta_owner, $vendor->id);
789
- $owner = intval($post_value['owner']);
790
- } // Vendor with noi owner
791
- elseif (empty($post_value['owner']) && 'admin_action_yith_admin_save_fields' != current_action() && $vendor->is_super_user()) {
792
- delete_user_meta($owner, $usermeta_owner);
793
- delete_user_meta($owner, $usermeta_admin);
794
- $user = get_user_by('id', $owner);
795
- if ($user instanceof WP_User) {
796
- $user->remove_role(YITH_Vendors()->get_role_name());
797
- $user->add_role('customer');
798
- }
799
- $owner = '';
800
- }
801
-
802
- //Add Vendor Owner
803
- if (!isset($post_value['admins'])) {
804
- $post_value['admins'] = array($owner);
805
- } else {
806
- $temp_admins = $post_value['admins'];
807
- $post_value['admins'] = YITH_Vendors()->is_wc_2_7_or_greather ? maybe_unserialize($temp_admins) : explode(',', $temp_admins);
808
-
809
- if (!empty($owner)) {
810
- $post_value['admins'][] = $owner;
811
- }
812
- }
813
-
814
- // Only add selected admins
815
- if (!empty($post_value['admins'])) {
816
- foreach ($post_value['admins'] as $user_id) {
817
- update_user_meta($user_id, $usermeta_admin, $vendor->id);
818
- $user = get_user_by('id', $user_id);
819
- if ($user instanceof WP_User) {
820
- $user->add_role(YITH_Vendors()->get_role_name());
821
- foreach (array('customer', 'subscriber') as $role) {
822
- $user->remove_role($role);
823
- }
824
- }
825
- }
826
- }
827
-
828
- $show_admin_notices = 'success';
829
-
830
- do_action('yith_wpv_after_save_taxonomy', $vendor, $post_value);
831
- }
832
-
833
- if ( 'admin_action_yith_admin_save_fields' == current_action() ) {
834
- $url = esc_url_raw( $_REQUEST['_wp_http_referer'] );
835
- $url = add_query_arg( array( 'message' => $show_admin_notices ), $url );
836
- wp_redirect( $url );
837
- }
 
 
 
 
 
 
 
 
838
  }
839
 
840
  /**
@@ -885,7 +901,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
885
 
886
  global $wpdb;
887
 
888
- $sql = $wpdb->prepare( "SELECT user_id FROM {$wpdb->usermeta} WHERE meta_value=%d AND meta_key=%s", $term, 'yith_product_vendor_owner' );
889
  $user_id = $wpdb->get_var( $sql );
890
 
891
  if ( $user_id > 0 ) {
@@ -1249,7 +1265,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1249
  $wp_admin_bar->add_node( array(
1250
  'parent' => 'site-name',
1251
  'id' => 'view-store',
1252
- 'title' => __( 'Visit Store', 'woocommerce' ),
1253
  'href' => $vendor->get_url( 'frontend' )
1254
  ) );
1255
  }
@@ -1305,7 +1321,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1305
  /* Add the pending products bubble on Products -> Vendors menu */
1306
  if ( $vendor->is_super_user() ) {
1307
  global $menu, $submenu;
1308
- $products = get_posts( array( 'post_type' => 'product', 'post_status' => 'pending' ) );
1309
  $num_pending_products = count( $products );
1310
 
1311
  if ( $num_pending_products > 0 ) {
@@ -1856,7 +1872,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1856
  break;
1857
 
1858
  case 'owner_exist':
1859
- $message = __( "You can't create more vendor with the same shop owner.", 'yith-woocommerce-product-vendors' );
1860
  $type = 'error';
1861
  break;
1862
  }
@@ -1870,5 +1886,42 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1870
  <?php
1871
  endif;
1872
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1873
  }
1874
  }
111
  add_action( 'save_post', array( $this, 'add_vendor_taxonomy_to_product' ), 10, 2 );
112
  add_action( 'current_screen', array( $this, 'disabled_manage_other_vendors_posts' ) );
113
 
114
+ /* Add new attribute by Vendor */
115
+ add_action( 'wp_ajax_woocommerce_add_new_attribute', 'YITH_Vendors_Admin::add_new_attribute', 5 );
116
+
117
  /* Grouped Products */
118
  add_action( 'pre_get_posts', array( $this, 'filter_vendor_linked_products' ), 10, 1 );
119
 
222
  public function enqueue_scripts() {
223
  wp_register_script( 'yith-wpv-tax-menu', YITH_WPV_ASSETS_URL . 'js/tax-admin-menu.js', array( 'jquery' ), '1.0.0', true );
224
  wp_enqueue_script( 'yith-wpv-admin', YITH_WPV_ASSETS_URL . 'js/admin.js', array( 'jquery' ), '1.0.0', true );
225
+ wp_enqueue_style( 'yith-wc-product-vendors-admin', YITH_WPV_ASSETS_URL . 'css/admin.css' );
226
  wp_localize_script( 'yith-wpv-admin', 'yith_vendors_caps', array( 'reviews' => get_option( 'yith_wpv_vendors_option_review_management', 'no' ) ) );
227
 
228
+ if( $this->is_vendor_dashboard() || $this->is_vendor_tax_page() ){
229
+ wp_enqueue_style( 'woocommerce_admin_styles' );
230
+ wp_enqueue_script( 'wc-enhanced-select' );
231
+ }
232
+
233
  /* === Admin Menu Hack === */
234
  if ( $this->is_vendor_tax_page() ) {
235
  wp_enqueue_script( 'yith-wpv-tax-menu' );
236
+
237
  $css = '#adminmenu li#menu-posts-product > a:after{display:none;}
238
  #adminmenu .wp-has-current-submenu .wp-submenu{display: none;}
239
  #adminmenu li#menu-posts-product:not(.yith-wcmv-tax-menu) > a {color: #eee; background-color: transparent;}
240
  #adminmenu #menu-posts-product:not(.yith-wcmv-tax-menu) .menu-icon-post div.wp-menu-image:before {color: #eee !important;}';
241
  wp_add_inline_style( 'yith-wc-product-vendors-admin', $css );
 
242
 
243
+ if( ! empty( $_GET['tag_ID'] ) ){
244
+ wp_enqueue_media();
245
+ }
246
  }
247
  }
248
 
582
  'class' => 'wc-customer-search',
583
  'id' => 'key_user',
584
  'name' => 'yith_vendor_data[owner]',
585
+ 'data-placeholder' => esc_attr__( 'Search for a customer&hellip;', 'yith-woocommerce-product-vendors' ),
586
  'data-allow_clear' => true,
587
  'data-selected' => '',
588
  'value' => ''
615
  'class' => 'wc-customer-search',
616
  'id' => 'key_user',
617
  'name' => 'yith_vendor_data[owner]',
618
+ 'data-placeholder' => esc_attr__( 'Search for a customer&hellip;', 'yith-woocommerce-product-vendors' ),
619
  'data-allow_clear' => true,
620
  'data-selected' => YITH_Vendors()->is_wc_2_7_or_greather ? array( $owner_id => $vendor_owner ) : $vendor_owner,
621
  'value' => $owner_id
690
  if( ! empty( $_POST['yith_vendor_data']['owner'] ) ){
691
  $vendor = yith_get_vendor( $_POST['yith_vendor_data']['owner'], 'user' );
692
  if( $vendor->is_valid() ){
693
+ $to_return = new WP_Error( 'owner_exists', __( "You can't associate more vendor shops with the same shop owner.", 'yith-woocommerce-product-vendors' ), $duplicate );
694
  }
695
  }
696
 
710
  */
711
  public function save_taxonomy_fields( $vendor_id = 0 ) {
712
 
713
+ if ( ! isset( $_POST['yith_vendor_data'] ) ) {
714
+ return;
715
+ }
716
 
717
+ $is_new = strpos( current_action(), 'created_' ) !== false;
718
 
719
+ // if not is set $vendor_id check if there is the update_vendor_id field inside the $_POST array
720
+ if ( empty( $vendor_id ) && isset( $_POST['update_vendor_id'] ) ) {
721
+ $vendor_id = $_POST['update_vendor_id'];
722
+ }
723
 
724
+ $vendor = yith_get_vendor( $vendor_id );
725
 
726
+ if ( ! $vendor->is_valid() ) {
727
+ return;
728
+ }
729
 
730
+ $vendor_name = '';
731
 
732
+ if ( isset( $_POST['tag-name'] ) ) {
733
+ $vendor_name = $_POST['tag-name'];
734
+ }
735
 
736
+ elseif ( isset( $_POST['name'] ) ) {
737
+ $vendor_name = $_POST['name'];
738
+ }
739
 
740
  $check = $this->check_duplicate_term_name( $vendor_name, YITH_Vendors()->get_taxonomy_name() );
741
 
742
+ if ( is_wp_error( $check ) && ! empty( $check->error_data['term_exists'] ) && $check->error_data['term_exists']->term_id != $vendor->id ) {
743
+ $show_admin_notices = 'name_exists';
744
+ }
745
+
746
+ else {
747
+ $post_value = $_POST['yith_vendor_data'];
748
+ $usermeta_owner = YITH_Vendors()->get_user_meta_owner();
749
+ $usermeta_admin = YITH_Vendors()->get_user_meta_key();
750
+
751
+ if ( ! $vendor->has_limited_access() ) {
752
+ foreach ( apply_filters( 'yith_wpv_save_checkboxes', array( 'enable_selling' ), $vendor->has_limited_access() ) as $key ) {
753
+ ! isset( $post_value[ $key ] ) && $post_value[ $key ] = 'no';
754
+ }
755
+ }
756
+
757
+ else {
758
+ foreach ( apply_filters( 'yith_wpv_save_checkboxes', array(), $vendor->has_limited_access() ) as $key ) {
759
+ ! isset( $post_value[ $key ] ) && $post_value[ $key ] = 'no';
760
+ }
761
+ }
762
+
763
+ // set values
764
+ foreach ( $post_value as $key => $value ) {
765
+ error_log( print_r( $post_value, true ) );
766
+ if ( $key == 'description' ) {
767
+ $vendor->$key = $value;
768
+ }
769
+
770
+ else {
771
+ $vendor->$key = ! is_array( $value ) ? wc_clean( $value ) : $value;
772
+ }
773
+ }
774
+
775
+ // add vendor registrantion date
776
+ if ( $is_new ) {
777
+ $vendor->registration_date = current_time( 'mysql' );
778
+ $vendor->registration_date_gmt = current_time( 'mysql', 1 );
779
+ }
780
+
781
+ // Get current vendor admins and owner
782
+ $admins = $vendor->get_admins();
783
+ $owner = $vendor->get_owner();
784
+
785
+ if ( empty( $post_value['admins'] ) && 'admin_action_yith_admin_save_fields' == current_action() ) {
786
+ //If the vendor save a tab different of vendor settings
787
+ $post_value['admins'] = $admins;
788
+ }
789
+
790
+ // Remove all current admins (user meta)
791
+ foreach ( $admins as $user_id ) {
792
+ $user = get_user_by( 'id', $user_id );
793
+ delete_user_meta( $user_id, $usermeta_admin );
794
+ $user->remove_role( YITH_Vendors()->get_role_name() );
795
+ $user->add_role( 'customer' );
796
+ }
797
+
798
+ // Remove current owner and update it
799
+ if ( ! empty( $post_value['owner'] ) && $owner != $post_value['owner'] ) {
800
+ delete_user_meta( $owner, $usermeta_owner );
801
+ update_user_meta( intval( $post_value['owner'] ), $usermeta_owner, $vendor->id );
802
+ $owner = intval( $post_value['owner'] );
803
+ } // Vendor with noi owner
804
+
805
+ elseif ( empty( $post_value['owner'] ) && 'admin_action_yith_admin_save_fields' != current_action() && $vendor->is_super_user() ) {
806
+ delete_user_meta( $owner, $usermeta_owner );
807
+ delete_user_meta( $owner, $usermeta_admin );
808
+ $user = get_user_by( 'id', $owner );
809
+ if ( $user instanceof WP_User ) {
810
+ $user->remove_role( YITH_Vendors()->get_role_name() );
811
+ $user->add_role( 'customer' );
812
+ }
813
+ $owner = '';
814
+ }
815
+
816
+ //Add Vendor Owner
817
+ if ( ! isset( $post_value['admins'] ) ) {
818
+ $post_value['admins'] = array( $owner );
819
+ }
820
+
821
+ else {
822
+ $temp_admins = $post_value['admins'];
823
+ $post_value['admins'] = YITH_Vendors()->is_wc_2_7_or_greather ? maybe_unserialize( $temp_admins ) : explode( ',', $temp_admins );
824
+
825
+ if ( ! empty( $owner ) ) {
826
+ $post_value['admins'][] = $owner;
827
+ }
828
+ }
829
+
830
+ // Only add selected admins
831
+ if ( ! empty( $post_value['admins'] ) ) {
832
+ foreach ( $post_value['admins'] as $user_id ) {
833
+ update_user_meta( $user_id, $usermeta_admin, $vendor->id );
834
+ $user = get_user_by( 'id', $user_id );
835
+ if ( $user instanceof WP_User ) {
836
+ $user->add_role( YITH_Vendors()->get_role_name() );
837
+ foreach ( array( 'customer', 'subscriber' ) as $role ) {
838
+ $user->remove_role( $role );
839
+ }
840
+ }
841
+ }
842
+ }
843
+
844
+ $show_admin_notices = 'success';
845
+
846
+ do_action( 'yith_wpv_after_save_taxonomy', $vendor, $post_value );
847
+ }
848
+
849
+ if ( 'admin_action_yith_admin_save_fields' == current_action() ) {
850
+ $url = esc_url_raw( $_REQUEST['_wp_http_referer'] );
851
+ $url = add_query_arg( array( 'message' => $show_admin_notices ), $url );
852
+ wp_redirect( $url );
853
+ }
854
  }
855
 
856
  /**
901
 
902
  global $wpdb;
903
 
904
+ $sql = $wpdb->prepare( "SELECT user_id FROM {$wpdb->usermeta} WHERE meta_value=%d AND meta_key=%s", $term, YITH_Vendors()->get_user_meta_owner() );
905
  $user_id = $wpdb->get_var( $sql );
906
 
907
  if ( $user_id > 0 ) {
1265
  $wp_admin_bar->add_node( array(
1266
  'parent' => 'site-name',
1267
  'id' => 'view-store',
1268
+ 'title' => __( 'Visit Store', 'yith-woocommerce-product-vendors' ),
1269
  'href' => $vendor->get_url( 'frontend' )
1270
  ) );
1271
  }
1321
  /* Add the pending products bubble on Products -> Vendors menu */
1322
  if ( $vendor->is_super_user() ) {
1323
  global $menu, $submenu;
1324
+ $products = get_posts( array( 'post_type' => 'product', 'post_status' => 'pending', 'posts_per_page' => -1 ) );
1325
  $num_pending_products = count( $products );
1326
 
1327
  if ( $num_pending_products > 0 ) {
1872
  break;
1873
 
1874
  case 'owner_exist':
1875
+ $message = __( "You can't associate more vendor shops with the same shop owner.", 'yith-woocommerce-product-vendors' );
1876
  $type = 'error';
1877
  break;
1878
  }
1886
  <?php
1887
  endif;
1888
  }
1889
+
1890
+ /**
1891
+ * Add a new attribute via ajax function.
1892
+ *
1893
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
1894
+ * @since 2.3.2
1895
+ * @return void
1896
+ * @use admin_notices hooks
1897
+ */
1898
+ public static function add_new_attribute() {
1899
+ check_ajax_referer( 'add-attribute', 'security' );
1900
+ $vendor = yith_get_vendor( 'current', 'user' );
1901
+
1902
+ if ( $vendor->is_valid() && $vendor->has_limited_access() ) {
1903
+ $taxonomy = esc_attr( $_POST['taxonomy'] );
1904
+ $term = wc_clean( $_POST['term'] );
1905
+
1906
+ if ( taxonomy_exists( $taxonomy ) ) {
1907
+
1908
+ $result = wp_insert_term( $term, $taxonomy );
1909
+
1910
+ if ( is_wp_error( $result ) ) {
1911
+ wp_send_json( array(
1912
+ 'error' => $result->get_error_message(),
1913
+ ) );
1914
+ } else {
1915
+ $term = get_term_by( 'id', $result['term_id'], $taxonomy );
1916
+ wp_send_json( array(
1917
+ 'term_id' => $term->term_id,
1918
+ 'name' => $term->name,
1919
+ 'slug' => $term->slug,
1920
+ ) );
1921
+ }
1922
+ }
1923
+ wp_die( -1 );
1924
+ }
1925
+ }
1926
  }
1927
  }
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-frontend.php CHANGED
@@ -47,7 +47,9 @@ if ( ! class_exists( 'YITH_Vendors_Frontend' ) ) {
47
  add_action( 'template_redirect', array( $this, 'exit_direct_access_no_selling_capabilities' ) );
48
 
49
  /* Related Products */
50
- add_filter( 'woocommerce_related_products_args', array( $this, 'related_products_args' ), 15 );
 
 
51
 
52
  /* Ajax Product Filter Support */
53
  add_filter( 'yith_wcan_product_taxonomy_type', array( $this, 'add_taxonomy_page' ) );
47
  add_action( 'template_redirect', array( $this, 'exit_direct_access_no_selling_capabilities' ) );
48
 
49
  /* Related Products */
50
+ if( YITH_Vendors()->is_wc_2_6 || YITH_Vendors()->is_wc_lower_2_6 ){
51
+ add_filter( 'woocommerce_related_products_args', array( $this, 'related_products_args' ), 15 );
52
+ }
53
 
54
  /* Ajax Product Filter Support */
55
  add_filter( 'yith_wcan_product_taxonomy_type', array( $this, 'add_taxonomy_page' ) );
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php CHANGED
@@ -160,6 +160,22 @@ if ( ! class_exists( 'YITH_Vendors' ) ) {
160
  */
161
  public $is_wc_2_7_or_greather;
162
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  /**
164
  * Main Orders Instance
165
  *
@@ -204,6 +220,8 @@ if ( ! class_exists( 'YITH_Vendors' ) ) {
204
 
205
  $this->is_wc_lower_2_6 = version_compare( $wc_version, '2.6', '<' );
206
  $this->is_wc_2_7_or_greather = version_compare( $wc_version, '2.7', '>=' );
 
 
207
  $this->is_wc_2_6 = ! $this->is_wc_lower_2_6 && ! $this->is_wc_2_7_or_greather;
208
 
209
  /* Check for WooCommerce Version */
@@ -257,7 +275,7 @@ if ( ! class_exists( 'YITH_Vendors' ) ) {
257
  * @access protected
258
  */
259
  public function init() {
260
- if ( is_admin() ) {
261
  $this->admin = new YITH_Vendors_Admin();
262
  }
263
 
160
  */
161
  public $is_wc_2_7_or_greather;
162
 
163
+ /**
164
+ * Check if WooCommerce run version 3.2 or greather
165
+ *
166
+ * @var string
167
+ * @since 1.9.8
168
+ */
169
+ public $is_wc_3_2_or_greather;
170
+
171
+ /**
172
+ * Check if WooCommerce run version 3.3 or greather
173
+ *
174
+ * @var string
175
+ * @since 1.9.8
176
+ */
177
+ public $is_wc_3_3_or_greather;
178
+
179
  /**
180
  * Main Orders Instance
181
  *
220
 
221
  $this->is_wc_lower_2_6 = version_compare( $wc_version, '2.6', '<' );
222
  $this->is_wc_2_7_or_greather = version_compare( $wc_version, '2.7', '>=' );
223
+ $this->is_wc_3_2_or_greather = version_compare( $wc_version, '3.2', '>=' );
224
+ $this->is_wc_3_3_or_greather = version_compare( $wc_version, '3.3', '>=' );
225
  $this->is_wc_2_6 = ! $this->is_wc_lower_2_6 && ! $this->is_wc_2_7_or_greather;
226
 
227
  /* Check for WooCommerce Version */
275
  * @access protected
276
  */
277
  public function init() {
278
+ if ( is_admin() && ! is_ajax() ) {
279
  $this->admin = new YITH_Vendors_Admin();
280
  }
281
 
modules/yith-woocommerce-product-vendors/includes/functions.yith-update.php CHANGED
@@ -4,15 +4,33 @@
4
  * Database Table Check
5
  */
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  //Check if Commission tables are created
8
  function yith_vendors_check_commissions_table() {
9
- $create_commissions_table = get_option( 'yith_product_vendors_commissions_table_created' );
10
- if ( ! $create_commissions_table ) {
11
- /**
12
- * Create new Commissions DB table
13
- */
14
- YITH_Commissions::create_commissions_table();
15
- }
16
  }
17
 
18
  add_action( 'admin_init', 'yith_vendors_check_commissions_table' );
@@ -23,12 +41,12 @@ add_action( 'admin_init', 'yith_vendors_check_commissions_table' );
23
 
24
  //Add support to YITH Product Vendors db version 1.0.1
25
  function yith_vendors_update_db_1_0_1() {
26
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
27
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.1', '<' ) ) {
28
- global $wpdb;
29
- $termmeta_table = YITH_Vendors()->termmeta_table;
30
- $termmeta_term_id = YITH_Vendors()->termmeta_term_id;
31
- $sql = "SELECT {$termmeta_term_id} as vendor_id, meta_value as user_id
32
  FROM {$termmeta_table} as wtm
33
  WHERE wtm.meta_key = %s
34
  AND {$termmeta_table} IN (
@@ -37,166 +55,166 @@ function yith_vendors_update_db_1_0_1() {
37
  WHERE tt.taxonomy = %s
38
  )";
39
 
40
- $results = $wpdb->get_results( $wpdb->prepare( $sql, 'owner', YITH_Vendors()->get_taxonomy_name() ) );
41
 
42
- foreach ( $results as $result ) {
43
- $user = get_user_by( 'id', $result->user_id );
44
 
45
- if ( $user ) {
46
- YITH_Vendors()->update_term_meta( $result->vendor_id, 'registration_date', get_date_from_gmt( $user->user_registered ) );
47
- YITH_Vendors()->update_term_meta( $result->vendor_id, 'registration_date_gmt', $user->user_registered );
48
- if( defined( 'YITH_WPV_PREMIUM' ) ){
49
- $user->add_cap( 'view_woocommerce_reports' );
50
- }
51
- }
52
- }
53
 
54
- update_option( 'yith_product_vendors_db_version', '1.0.1' );
55
- }
56
  }
57
 
58
  //Add support to YITH Product Vendors db version 1.0.2
59
  function yith_vendors_update_db_1_0_2() {
60
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
61
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.2', '<' ) ) {
62
- global $wpdb;
63
 
64
- $sql = "ALTER TABLE `{$wpdb->prefix}yith_vendors_commissions` CHANGE `rate` `rate` DECIMAL(5,4) NOT NULL";
65
- $wpdb->query( $sql );
66
 
67
- update_option( 'yith_product_vendors_db_version', '1.0.2' );
68
- }
69
  }
70
 
71
  //Add support to YITH Product Vendors db version 1.0.3
72
- function yith_vendors_update_db_1_0_3(){
73
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
74
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.3', '<' ) ) {
75
- /**
76
- * Create "Become a Vendor" and Terms and Conditions Pages
77
- */
78
- if( defined( 'YITH_WPV_PREMIUM' ) ){
79
- YITH_Vendors_Admin_Premium::create_plugins_page();
80
- }
81
-
82
- /**
83
- * Show Gravatar Option
84
- */
85
- $vendors = YITH_Vendors()->get_vendors();
86
- foreach( $vendors as $vendor ){
87
- if( empty( $vendor->show_gravatar ) ) {
88
- $vendor->show_gravatar = 'yes';
89
- }
90
- }
91
- update_option( 'yith_product_vendors_db_version', '1.0.3' );
92
- }
93
  }
94
 
95
  //Add support to YITH Product Vendors plugin version 1.8.1
96
  function yith_vendors_update_db_1_0_4() {
97
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
98
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.4', '<' ) ) {
99
- /**
100
- * Create "Become a vendor" and "Terms and conditions" Pages
101
- */
102
- if( defined( 'YITH_WPV_PREMIUM' ) ){
103
- YITH_Vendors_Admin_Premium::create_plugins_page();
104
- }
105
- update_option( 'yith_product_vendors_db_version', '1.0.4' );
106
- }
107
  }
108
 
109
  //Add support to YITH Product Vendors plugin version 1.9.6
110
  function yith_vendors_update_db_1_0_5() {
111
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
112
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.5', '<' ) ) {
113
- /**
114
- * Create new DB table yith_vendors_payments and yith_vendors_payments_relathionship
115
- */
116
- if( defined( 'YITH_WPV_PREMIUM' ) ){
117
- YITH_Commissions::create_transaction_table();
118
- }
119
- update_option( 'yith_product_vendors_db_version', '1.0.5' );
120
- }
121
  }
122
 
123
  //Add support to YITH Product Vendors plugin version 1.9.6
124
  function yith_vendors_update_db_1_0_6() {
125
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
126
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.6', '<' ) ) {
127
- $vendor_role_name = YITH_Vendors()->get_role_name();
128
- $vendor_role = get_role( $vendor_role_name );
129
- if( $vendor_role instanceof WP_Role ){
130
- $vendor_role->add_cap( 'edit_posts' );
131
- }
132
- update_option( 'yith_product_vendors_db_version', '1.0.6' );
133
- }
134
 
135
  }
136
 
137
  //Add support to YITH Product Vendors plugin version 1.11.4
138
  function yith_vendors_update_db_1_0_7() {
139
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
140
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.7', '<' ) ) {
141
- global $wpdb;
142
- if( ! empty( $wpdb ) ){
143
- $query = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_order_itemmeta WHERE meta_key IN( %s, %s )", '_parent__commission_included_coupon', '_parent__commission_included_tax' );
144
- $wpdb->query( $query );
145
- }
146
- update_option( 'yith_product_vendors_db_version', '1.0.7' );
147
- }
148
 
149
  }
150
 
151
  //Add support to YITH Product Vendors plugin version 1.12.0
152
- function yith_vendors_update_db_1_0_8(){
153
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
154
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.8', '<' ) ) {
155
- $skin_option_id = 'yith_vendors_skin_header';
156
- $background_option_id = 'yith_skin_background_color';
157
- $font_color_option_id = 'yith_skin_font_color';
158
-
159
- $old_skin = get_option( $skin_option_id, 'skin1');
160
-
161
- if ('skin1' == $old_skin) {
162
- update_option($background_option_id, '#000000');
163
- update_option($font_color_option_id, '#ffffff');
164
- } else {
165
- update_option($background_option_id, '#ffffff');
166
- update_option($font_color_option_id, '#000000');
167
- }
168
-
169
- update_option($skin_option_id, 'small-box');
170
- update_option( 'yith_product_vendors_db_version', '1.0.8' );
171
- }
172
  }
173
 
174
  //Add support to YITH Product Vendors plugin version 1.12.1
175
  function yith_vendors_update_db_1_0_9() {
176
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
177
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.9', '<' ) ) {
178
- $vendor_role_name = YITH_Vendors()->get_role_name();
179
- $vendor_role = get_role( $vendor_role_name );
180
- if( $vendor_role instanceof WP_Role ){
181
- //Fix: vendor admins can't edit orders
182
- $vendor_role->add_cap( 'edit_others_shop_orders' );
183
- }
184
- update_option( 'yith_product_vendors_db_version', '1.0.9' );
185
- }
186
  }
187
 
188
  //ALTER TABLE `wp_yith_vendors_payments` ;
189
  //Add support to shipping module
190
  function yith_vendors_update_db_1_1_0() {
191
- $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
192
- if ( $vendors_db_option && version_compare( $vendors_db_option, '1.1.0', '<' ) ) {
193
- global $wpdb;
194
 
195
- $sql = "ALTER TABLE `{$wpdb->prefix}yith_vendors_commissions` ADD `type` VARCHAR(30) NOT NULL DEFAULT 'product' AFTER `status`";
196
- $wpdb->query( $sql );
197
 
198
- update_option( 'yith_product_vendors_db_version', '1.1.0' );
199
- }
200
  }
201
 
202
 
@@ -217,6 +235,63 @@ function yith_vendors_update_db_1_1_1() {
217
  }
218
  }
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
 
221
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_1' );
222
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_2' );
@@ -229,6 +304,9 @@ add_action( 'admin_init', 'yith_vendors_update_db_1_0_8' );
229
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_9' );
230
  add_action( 'admin_init', 'yith_vendors_update_db_1_1_0' );
231
  add_action( 'admin_init', 'yith_vendors_update_db_1_1_1' );
 
 
 
232
 
233
  /**
234
  * Plugin Version Update
@@ -236,36 +314,106 @@ add_action( 'admin_init', 'yith_vendors_update_db_1_1_1' );
236
 
237
  //Add support to YITH Product Vendors plugin version 1.8.1
238
  function yith_vendors_plugin_update_1_8_1() {
239
- $plugin_version = get_option( 'yith_wcmv_version', '1.0.0' );
240
- if ( version_compare( $plugin_version, YITH_Vendors()->version, '<' ) ) {
241
- // _money_spent and _order_count may be out of sync - clear them
242
- delete_metadata( 'user', 0, '_money_spent', '', true );
243
- delete_metadata( 'user', 0, '_order_count', '', true );
244
- }
245
  }
246
 
247
  //priority set to 20 after vendor register taxonomy
248
  add_action( 'admin_init', 'yith_vendors_plugin_update_1_8_1', 20 );
249
 
250
  /**
251
- * Regenerate Vendor Role Capabilities fter update by FTP
252
  */
253
 
254
- function yith_vendors_plugin_update() {
255
- $plugin_version = get_option( 'yith_wcmv_version', '1.0.0' );
256
- if ( version_compare( $plugin_version, YITH_Vendors()->version, '<' ) ) {
257
- /* Check if Vendor Role Exists */
258
- YITH_Vendors::add_vendor_role();
259
- /* Add Vendor Role to vendor owner and admins */
260
- YITH_Vendors::setup( 'add_role' );
261
- update_option( 'yith_wcmv_version', YITH_Vendors()->version );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  }
263
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  //priority set to 30 after vendor register taxonomy and other actions
265
  add_action( 'admin_init', 'yith_vendors_plugin_update', 30 );
266
 
267
  // Deprecated hook yith_wcmv_show_vendor_profile. Look: includes/class.yith-vendors-admin-premium.php:185
268
  add_filter( 'yith_wcmv_hide_vendor_profile', 'yith_deprecated_show_vendor_profile_hook', 9999 );
269
- function yith_deprecated_show_vendor_profile_hook( $value ){
270
- return apply_filters( 'yith_wcmv_show_vendor_profile', $value );
271
  }
4
  * Database Table Check
5
  */
6
 
7
+ function yith_wcmv_get_paypal_options_array(){
8
+ return array(
9
+ //PayPal Tab
10
+ 'payment_gateway' => 'masspay',
11
+ 'payment_method' => 'choose',
12
+ 'payment_minimum_withdrawals' => 1,
13
+ 'paypal_sandbox' => 'yes',
14
+ 'paypal_api_username' => '',
15
+ 'paypal_api_password' => '',
16
+ 'paypal_api_signature' => '',
17
+ 'paypal_payment_mail_subject' => '',
18
+ 'paypal_ipn_notification_url' => site_url() . '/?paypal_ipn_response=true',
19
+
20
+ //Add-ons Tab
21
+ 'yith_wpv_vendors_option_adaptive_payment' => 'no',
22
+ );
23
+ }
24
+
25
  //Check if Commission tables are created
26
  function yith_vendors_check_commissions_table() {
27
+ $create_commissions_table = get_option( 'yith_product_vendors_commissions_table_created', false );
28
+ if ( ! $create_commissions_table || isset( $_GET['yith_wcmv_force_create_commissions_table'] ) ) {
29
+ /**
30
+ * Create new Commissions DB table
31
+ */
32
+ YITH_Commissions::create_commissions_table();
33
+ }
34
  }
35
 
36
  add_action( 'admin_init', 'yith_vendors_check_commissions_table' );
41
 
42
  //Add support to YITH Product Vendors db version 1.0.1
43
  function yith_vendors_update_db_1_0_1() {
44
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
45
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.1', '<' ) ) {
46
+ global $wpdb;
47
+ $termmeta_table = YITH_Vendors()->termmeta_table;
48
+ $termmeta_term_id = YITH_Vendors()->termmeta_term_id;
49
+ $sql = "SELECT {$termmeta_term_id} as vendor_id, meta_value as user_id
50
  FROM {$termmeta_table} as wtm
51
  WHERE wtm.meta_key = %s
52
  AND {$termmeta_table} IN (
55
  WHERE tt.taxonomy = %s
56
  )";
57
 
58
+ $results = $wpdb->get_results( $wpdb->prepare( $sql, 'owner', YITH_Vendors()->get_taxonomy_name() ) );
59
 
60
+ foreach ( $results as $result ) {
61
+ $user = get_user_by( 'id', $result->user_id );
62
 
63
+ if ( $user ) {
64
+ YITH_Vendors()->update_term_meta( $result->vendor_id, 'registration_date', get_date_from_gmt( $user->user_registered ) );
65
+ YITH_Vendors()->update_term_meta( $result->vendor_id, 'registration_date_gmt', $user->user_registered );
66
+ if ( defined( 'YITH_WPV_PREMIUM' ) ) {
67
+ $user->add_cap( 'view_woocommerce_reports' );
68
+ }
69
+ }
70
+ }
71
 
72
+ update_option( 'yith_product_vendors_db_version', '1.0.1' );
73
+ }
74
  }
75
 
76
  //Add support to YITH Product Vendors db version 1.0.2
77
  function yith_vendors_update_db_1_0_2() {
78
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
79
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.2', '<' ) ) {
80
+ global $wpdb;
81
 
82
+ $sql = "ALTER TABLE `{$wpdb->prefix}yith_vendors_commissions` CHANGE `rate` `rate` DECIMAL(5,4) NOT NULL";
83
+ $wpdb->query( $sql );
84
 
85
+ update_option( 'yith_product_vendors_db_version', '1.0.2' );
86
+ }
87
  }
88
 
89
  //Add support to YITH Product Vendors db version 1.0.3
90
+ function yith_vendors_update_db_1_0_3() {
91
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
92
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.3', '<' ) ) {
93
+ /**
94
+ * Create "Become a Vendor" and Terms and Conditions Pages
95
+ */
96
+ if ( defined( 'YITH_WPV_PREMIUM' ) ) {
97
+ YITH_Vendors_Admin_Premium::create_plugins_page();
98
+ }
99
+
100
+ /**
101
+ * Show Gravatar Option
102
+ */
103
+ $vendors = YITH_Vendors()->get_vendors();
104
+ foreach ( $vendors as $vendor ) {
105
+ if ( empty( $vendor->show_gravatar ) ) {
106
+ $vendor->show_gravatar = 'yes';
107
+ }
108
+ }
109
+ update_option( 'yith_product_vendors_db_version', '1.0.3' );
110
+ }
111
  }
112
 
113
  //Add support to YITH Product Vendors plugin version 1.8.1
114
  function yith_vendors_update_db_1_0_4() {
115
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
116
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.4', '<' ) ) {
117
+ /**
118
+ * Create "Become a vendor" and "Terms and conditions" Pages
119
+ */
120
+ if ( defined( 'YITH_WPV_PREMIUM' ) ) {
121
+ YITH_Vendors_Admin_Premium::create_plugins_page();
122
+ }
123
+ update_option( 'yith_product_vendors_db_version', '1.0.4' );
124
+ }
125
  }
126
 
127
  //Add support to YITH Product Vendors plugin version 1.9.6
128
  function yith_vendors_update_db_1_0_5() {
129
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
130
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.5', '<' ) ) {
131
+ /**
132
+ * Create new DB table yith_vendors_payments and yith_vendors_payments_relathionship
133
+ */
134
+ if ( defined( 'YITH_WPV_PREMIUM' ) ) {
135
+ YITH_Commissions::create_transaction_table();
136
+ }
137
+ update_option( 'yith_product_vendors_db_version', '1.0.5' );
138
+ }
139
  }
140
 
141
  //Add support to YITH Product Vendors plugin version 1.9.6
142
  function yith_vendors_update_db_1_0_6() {
143
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
144
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.6', '<' ) ) {
145
+ $vendor_role_name = YITH_Vendors()->get_role_name();
146
+ $vendor_role = get_role( $vendor_role_name );
147
+ if ( $vendor_role instanceof WP_Role ) {
148
+ $vendor_role->add_cap( 'edit_posts' );
149
+ }
150
+ update_option( 'yith_product_vendors_db_version', '1.0.6' );
151
+ }
152
 
153
  }
154
 
155
  //Add support to YITH Product Vendors plugin version 1.11.4
156
  function yith_vendors_update_db_1_0_7() {
157
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
158
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.7', '<' ) ) {
159
+ global $wpdb;
160
+ if ( ! empty( $wpdb ) ) {
161
+ $query = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_order_itemmeta WHERE meta_key IN( %s, %s )", '_parent__commission_included_coupon', '_parent__commission_included_tax' );
162
+ $wpdb->query( $query );
163
+ }
164
+ update_option( 'yith_product_vendors_db_version', '1.0.7' );
165
+ }
166
 
167
  }
168
 
169
  //Add support to YITH Product Vendors plugin version 1.12.0
170
+ function yith_vendors_update_db_1_0_8() {
171
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
172
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.8', '<' ) ) {
173
+ $skin_option_id = 'yith_vendors_skin_header';
174
+ $background_option_id = 'yith_skin_background_color';
175
+ $font_color_option_id = 'yith_skin_font_color';
176
+
177
+ $old_skin = get_option( $skin_option_id, 'skin1' );
178
+
179
+ if ( 'skin1' == $old_skin ) {
180
+ update_option( $background_option_id, '#000000' );
181
+ update_option( $font_color_option_id, '#ffffff' );
182
+ } else {
183
+ update_option( $background_option_id, '#ffffff' );
184
+ update_option( $font_color_option_id, '#000000' );
185
+ }
186
+
187
+ update_option( $skin_option_id, 'small-box' );
188
+ update_option( 'yith_product_vendors_db_version', '1.0.8' );
189
+ }
190
  }
191
 
192
  //Add support to YITH Product Vendors plugin version 1.12.1
193
  function yith_vendors_update_db_1_0_9() {
194
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
195
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.0.9', '<' ) ) {
196
+ $vendor_role_name = YITH_Vendors()->get_role_name();
197
+ $vendor_role = get_role( $vendor_role_name );
198
+ if ( $vendor_role instanceof WP_Role ) {
199
+ //Fix: vendor admins can't edit orders
200
+ $vendor_role->add_cap( 'edit_others_shop_orders' );
201
+ }
202
+ update_option( 'yith_product_vendors_db_version', '1.0.9' );
203
+ }
204
  }
205
 
206
  //ALTER TABLE `wp_yith_vendors_payments` ;
207
  //Add support to shipping module
208
  function yith_vendors_update_db_1_1_0() {
209
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
210
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.1.0', '<' ) ) {
211
+ global $wpdb;
212
 
213
+ $sql = "ALTER TABLE `{$wpdb->prefix}yith_vendors_commissions` ADD `type` VARCHAR(30) NOT NULL DEFAULT 'product' AFTER `status`";
214
+ $wpdb->query( $sql );
215
 
216
+ update_option( 'yith_product_vendors_db_version', '1.1.0' );
217
+ }
218
  }
219
 
220
 
235
  }
236
  }
237
 
238
+ //change the old user meta $vendor->website to $vendor->socials['website']
239
+ function yith_vendors_update_db_1_1_2() {
240
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
241
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.1.2', '<' ) ) {
242
+ $vendors = YITH_Vendors()->get_vendors( array( 'fields' => 'ids' ) );
243
+ if ( ! empty( $vendors ) ) {
244
+ foreach ( $vendors as $vendor_id ) {
245
+ $website = YITH_Vendors()->is_wc_2_6 || YITH_Vendors()->is_wc_2_7_or_greather ? get_term_meta( $vendor_id, 'website', true ) : get_metadata( 'woocommerce_term', $vendor_id, 'website', true );
246
+ if ( ! empty( $website ) ) {
247
+ $socials = YITH_Vendors()->is_wc_2_6 || YITH_Vendors()->is_wc_2_7_or_greather ? get_term_meta( $vendor_id, 'socials', true ) : get_metadata( 'woocommerce_term', $vendor_id, 'socials', true );
248
+ $socials['website'] = $website;
249
+ update_term_meta( $vendor_id, 'socials', $socials );
250
+ delete_term_meta( $vendor_id, 'website', $website );
251
+ }
252
+ }
253
+ }
254
+
255
+ if ( 'yes' == get_option( 'yith_wpv_vendor_show_vendor_website', 'no' ) ) {
256
+ update_option( 'yith_wpv_vendor_show_vendor_website', 'header' );
257
+ }
258
+
259
+ update_option( 'yith_product_vendors_db_version', '1.1.2' );
260
+ }
261
+ }
262
+
263
+ //change the old option to new one for New tax management for vendor's commission
264
+ function yith_vendors_update_db_1_1_3() {
265
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
266
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.1.3', '<' ) ) {
267
+ $old_option_value = get_option( 'yith_vendors_related_products', 'vendor' );
268
+ if ( 'disable' == $old_option_value ) {
269
+ /**
270
+ * Set the new option value
271
+ */
272
+ update_option( 'yith_vendors_related_products', 'disabled' );
273
+ }
274
+
275
+ update_option( 'yith_product_vendors_db_version', '1.1.3' );
276
+ }
277
+ }
278
+
279
+ function yith_vendors_update_db_1_1_4() {
280
+ $vendors_db_option = get_option( 'yith_product_vendors_db_version', '1.0.0' );
281
+ if ( $vendors_db_option && version_compare( $vendors_db_option, '1.1.4', '<' ) ) {
282
+ $paypal_options = yith_wcmv_get_paypal_options_array();
283
+ $options_backup = array();
284
+
285
+ foreach ( $paypal_options as $option => $default ) {
286
+ $options_backup[ $option ] = get_option( $option, $default );
287
+ delete_option( $option );
288
+ }
289
+
290
+ add_option( 'yith_wcmv_deprecated_paypal_options', $options_backup );
291
+ }
292
+
293
+ update_option( 'yith_product_vendors_db_version', '1.1.4' );
294
+ }
295
 
296
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_1' );
297
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_2' );
304
  add_action( 'admin_init', 'yith_vendors_update_db_1_0_9' );
305
  add_action( 'admin_init', 'yith_vendors_update_db_1_1_0' );
306
  add_action( 'admin_init', 'yith_vendors_update_db_1_1_1' );
307
+ add_action( 'admin_init', 'yith_vendors_update_db_1_1_2' );
308
+ add_action( 'admin_init', 'yith_vendors_update_db_1_1_3' );
309
+ add_action( 'admin_init', 'yith_vendors_update_db_1_1_4' );
310
 
311
  /**
312
  * Plugin Version Update
314
 
315
  //Add support to YITH Product Vendors plugin version 1.8.1
316
  function yith_vendors_plugin_update_1_8_1() {
317
+ $plugin_version = get_option( 'yith_wcmv_version', '1.0.0' );
318
+ if ( version_compare( $plugin_version, YITH_Vendors()->version, '<' ) ) {
319
+ // _money_spent and _order_count may be out of sync - clear them
320
+ delete_metadata( 'user', 0, '_money_spent', '', true );
321
+ delete_metadata( 'user', 0, '_order_count', '', true );
322
+ }
323
  }
324
 
325
  //priority set to 20 after vendor register taxonomy
326
  add_action( 'admin_init', 'yith_vendors_plugin_update_1_8_1', 20 );
327
 
328
  /**
329
+ * PayPal MassPay and PayPal Adaptive Payments Message
330
  */
331
 
332
+ //Add support to YITH Product Vendors plugin version 2.5.0
333
+ function yith_vendors_plugin_update_2_5_0() { ?>
334
+ <div id="yith_wcmv_dismissable_notice" class="notice notice-error is-dismissable" style="position: relative;">
335
+ <span class="yith_wcmv_notice_dismiss notice-dismiss"></span>
336
+ <p style="line-height: 25px;">
337
+ <strong>Please note!</strong>
338
+ <br/>
339
+ From December 2017, PayPal deprecated <i><b>MassPay</b></i> and <i><b>Adaptive Payments</b></i> methods.
340
+ <br/>
341
+ This implies <b>it is no longer possible to request for the activation of these services for new accounts</b>. However, those who have the services already active will still be able to use them.
342
+ <br/>
343
+ For this reason, from next version 2.5.0 of our plugin YITH WooCommerce Multi Vendor, <b><u>all the options related to these payment methods will be removed</u></b>.
344
+ <br/>
345
+ If you are a former client using <i>MassPay or Adaptive Payments</i> service, we invite you to read this article on our Help Center:
346
+ <br/>
347
+ <a href='http://bit.ly/2GWeD1j' target="_blank">Multi Vendor: Support for Deprecated PayPal Service</a>
348
+ </p>
349
+ </div>
350
+ <?php
351
+ }
352
+
353
+ if( ! function_exists( 'yith_wcmv_dismissable_notice' ) ){
354
+ function yith_wcmv_dismissable_notice(){
355
+ if( ! wp_script_is( 'js-cookie', 'registered' ) ){
356
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
357
+ wp_register_script( 'js-cookie', WC()->plugin_url() . '/assets/js/js-cookie/js.cookie' . $suffix . '.js', array(), WC_VERSION, true );
358
+ }
359
+
360
+ wp_enqueue_script( 'js-cookie' );
361
+ $js = "jQuery(document).on( 'click', '.yith_wcmv_notice_dismiss', function(){jQuery( '#yith_wcmv_dismissable_notice' ).animate({ opacity: 0.25, height: 'toggle' }, 650 ); Cookies.set( 'yith_paypal_deprecated_notice', 'dismiss', {path: '/'} );});";
362
+ wp_add_inline_script( 'js-cookie', $js );
363
+ }
364
+ }
365
+
366
+ global $pagenow;
367
+ $is_plugin_page = 'plugins.php' == $pagenow;
368
+ $is_mv_section = ( 'admin.php' == $pagenow || 'edit-tags.php' == $pagenow );
369
+ $is_mv_page = $is_mv_section && ! empty( $_GET['page'] ) && ( 'yith_wpv_panel' == $_GET['page'] || 'yith_vendor_commissions' == $_GET['page'] || 'yith_plugins_activation' == $_GET['page'] );
370
+ $is_mv_taxonomy_page = $is_mv_section && ! empty( $_GET['taxonomy'] ) && 'yith_shop_vendor' == $_GET['taxonomy'];
371
+
372
+ if ( defined( 'YITH_WPV_VERSION' ) && version_compare( YITH_WPV_VERSION, '2.5.0', '<' )
373
+ &&
374
+ empty( $_COOKIE['yith_paypal_deprecated_notice'] )
375
+ &&
376
+ ( $is_plugin_page || $is_mv_page || $is_mv_taxonomy_page )
377
+ ) {
378
+
379
+
380
+ add_action( 'admin_notices', 'yith_vendors_plugin_update_2_5_0', 20 );
381
+ add_action( 'admin_enqueue_scripts', 'yith_wcmv_dismissable_notice', 20 );
382
+ }
383
+
384
+ function yith_vendors_plugin_update_2_6_0(){
385
+ if ( version_compare( YITH_Vendors()->version, '2.6.0', '>=' ) ) {
386
+ $to_remove = yith_wcmv_get_paypal_options_array();
387
+ $to_remove['yith_wcmv_deprecated_paypal_options'] = $to_remove['yith_wcmv_deprecated_paypal_options_restored'] = '';
388
+
389
+ foreach( $to_remove as $key => $value ){
390
+ delete_option( $key );
391
+ }
392
  }
393
  }
394
+
395
+ add_action( 'admin_notices', 'yith_vendors_plugin_update_2_6_0', 20 );
396
+
397
+ /**
398
+ * Regenerate Vendor Role Capabilities after update by FTP
399
+ */
400
+
401
+ function yith_vendors_plugin_update() {
402
+ $plugin_version = get_option( 'yith_wcmv_version', '1.0.0' );
403
+ if ( version_compare( $plugin_version, YITH_Vendors()->version, '<' ) ) {
404
+ /* Check if Vendor Role Exists */
405
+ YITH_Vendors::add_vendor_role();
406
+ /* Add Vendor Role to vendor owner and admins */
407
+ YITH_Vendors::setup( 'add_role' );
408
+ update_option( 'yith_wcmv_version', YITH_Vendors()->version );
409
+ }
410
+ }
411
+
412
  //priority set to 30 after vendor register taxonomy and other actions
413
  add_action( 'admin_init', 'yith_vendors_plugin_update', 30 );
414
 
415
  // Deprecated hook yith_wcmv_show_vendor_profile. Look: includes/class.yith-vendors-admin-premium.php:185
416
  add_filter( 'yith_wcmv_hide_vendor_profile', 'yith_deprecated_show_vendor_profile_hook', 9999 );
417
+ function yith_deprecated_show_vendor_profile_hook( $value ) {
418
+ return apply_filters( 'yith_wcmv_show_vendor_profile', $value );
419
  }
modules/yith-woocommerce-product-vendors/includes/functions.yith-vendors.php CHANGED
File without changes
modules/yith-woocommerce-product-vendors/includes/lib/class.yith-commissions-list-table.php CHANGED
@@ -129,6 +129,10 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
129
  $args['product_id'] = $_GET['product_id'];
130
  }
131
 
 
 
 
 
132
  $args = apply_filters( 'yith_wpv_commissions_table_args', $args );
133
 
134
  $commission_ids = YITH_Commissions()->get_commissions( $args );
@@ -255,15 +259,15 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
255
  $username = trim( $billing_first_name . ' ' . $billing_last_name );
256
  }
257
  else {
258
- $username = __( 'Guest', 'woocommerce' );
259
  }
260
  }
261
 
262
- $order_id = yit_get_prop( $order, 'id', true );
263
- $order_number = '<strong>#' . esc_attr( $order->get_order_number() ) . '</strong>';
264
- $order_uri = apply_filters( 'yith_wcmv_commissions_list_table_order_url', admin_url( 'post.php?post=' . absint( $order_id ) . '&action=edit' ), $rec, $order );
265
- $order_uri_html = '<a href="' . $order_uri . '">' . $order_number . '</a>';
266
- $order_info = $this->_vendor->is_super_user() ? $order_uri : apply_filters( 'yith_wcmv_commissions_order_column', $order_number, $order->get_order_number(), $rec );
267
 
268
  if( $this->_vendor->is_super_user() ){
269
  $order_info = $order_uri_html;
@@ -323,14 +327,18 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
323
  break;
324
 
325
  case 'vendor':
 
326
  $vendor = $rec->get_vendor();
327
 
328
- if ( ! $vendor->is_valid() ) {
329
- return "<em>" . __( 'Vendor deleted', 'yith-woocommerce-product-vendors' ) . "</em>";
 
 
 
 
 
330
  }
331
 
332
- $vendor_url = apply_filters( 'yith_wcmv_commissions_list_table_vendor_url', get_edit_term_link( $vendor->id, $vendor->taxonomy ), $vendor, $rec );
333
- $vendor_name = $vendor->name;
334
  return ! empty( $vendor_url ) ? "<a href='{$vendor_url}' target='_blank'>{$vendor_name}</a>" : $vendor_name;
335
  break;
336
 
@@ -383,6 +391,10 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
383
 
384
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
385
  break;
 
 
 
 
386
  }
387
 
388
  return null;
129
  $args['product_id'] = $_GET['product_id'];
130
  }
131
 
132
+ if( ! empty( $_GET['m'] ) ){
133
+ $args['m'] = $_GET['m'];
134
+ }
135
+
136
  $args = apply_filters( 'yith_wpv_commissions_table_args', $args );
137
 
138
  $commission_ids = YITH_Commissions()->get_commissions( $args );
259
  $username = trim( $billing_first_name . ' ' . $billing_last_name );
260
  }
261
  else {
262
+ $username = __( 'Guest', 'yith-woocommerce-product-vendors' );
263
  }
264
  }
265
 
266
+ $order_id = yit_get_prop( $order, 'id', true );
267
+ $order_number = '<strong>#' . esc_attr( $order->get_order_number() ) . '</strong>';
268
+ $order_uri = apply_filters( 'yith_wcmv_commissions_list_table_order_url', admin_url( 'post.php?post=' . absint( $order_id ) . '&action=edit' ), $rec, $order );
269
+ $order_uri_html = '<a href="' . $order_uri . '">' . $order_number . '</a>';
270
+ $order_info = $this->_vendor->is_super_user() ? $order_uri : apply_filters( 'yith_wcmv_commissions_order_column', $order_number, $order->get_order_number(), $rec );
271
 
272
  if( $this->_vendor->is_super_user() ){
273
  $order_info = $order_uri_html;
327
  break;
328
 
329
  case 'vendor':
330
+ $vendor_url = $vendor_name = '';
331
  $vendor = $rec->get_vendor();
332
 
333
+ if( ! empty( $vendor ) ){
334
+ if ( ! $vendor->is_valid() ) {
335
+ return "<em>" . __( 'Vendor deleted', 'yith-woocommerce-product-vendors' ) . "</em>";
336
+ }
337
+
338
+ $vendor_url = apply_filters( 'yith_wcmv_commissions_list_table_vendor_url', get_edit_term_link( $vendor->id, $vendor->taxonomy ), $vendor, $rec );
339
+ $vendor_name = $vendor->name;
340
  }
341
 
 
 
342
  return ! empty( $vendor_url ) ? "<a href='{$vendor_url}' target='_blank'>{$vendor_name}</a>" : $vendor_name;
343
  break;
344
 
391
 
392
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
393
  break;
394
+
395
+ default:
396
+ do_action( "yith_wcmv_commissions_list_table_col_{$column_name}", $rec, $this->_vendor, $column_name );
397
+ break;
398
  }
399
 
400
  return null;
modules/yith-woocommerce-product-vendors/includes/lib/class.yith-walker-category-dropdown.php CHANGED
@@ -53,7 +53,7 @@ if ( ! class_exists( 'YITH_Walker_CategoryDropdown' ) ) {
53
  /** This filter is documented in wp-includes/category-template.php */
54
  $cat_name = apply_filters( 'list_cats', $category->name, $category );
55
 
56
- $output .= "\t<option class=\"level-$depth\" value=\"" . $category->name . "\"";
57
  if ( $category->term_id == $args['selected'] ) {
58
  $output .= ' selected="selected"';
59
  }
53
  /** This filter is documented in wp-includes/category-template.php */
54
  $cat_name = apply_filters( 'list_cats', $category->name, $category );
55
 
56
+ $output .= "\t<option class=\"level-$depth\" value=\"" . $category->slug . "\"";
57
  if ( $category->term_id == $args['selected'] ) {
58
  $output .= ' selected="selected"';
59
  }
modules/yith-woocommerce-product-vendors/includes/widgets/class.yith-woocommerce-vendors-widget.php CHANGED
File without changes
modules/yith-woocommerce-product-vendors/init.php CHANGED
@@ -5,11 +5,11 @@
5
  * Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  * Author: YITHEMES
7
  * Text Domain: yith-woocommerce-product-vendors
8
- * Version: 2.2.1
9
  * Author URI: http://yithemes.com/
10
  *
11
  * WC requires at least: 2.6.0
12
- * WC tested up to: 3.2.0
13
  */
14
 
15
  /*
@@ -49,11 +49,11 @@ if ( ! function_exists( 'WC' ) ) {
49
  if ( defined( 'YITH_WPV_VERSION' ) ) {
50
  return;
51
  } else {
52
- define( 'YITH_WPV_VERSION', '2.2.1' );
53
  }
54
 
55
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
56
- define( 'YITH_WPV_DB_VERSION', '1.1.1' );
57
  }
58
 
59
  /* Load YWCM text domain */
@@ -114,7 +114,6 @@ if ( ! function_exists( 'YITH_Vendors' ) ) {
114
  }
115
  }
116
 
117
-
118
  /**
119
  * Instance main plugin class
120
  */
5
  * Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  * Author: YITHEMES
7
  * Text Domain: yith-woocommerce-product-vendors
8
+ * Version: 2.5.0
9
  * Author URI: http://yithemes.com/
10
  *
11
  * WC requires at least: 2.6.0
12
+ * WC tested up to: 3.3.3
13
  */
14
 
15
  /*
49
  if ( defined( 'YITH_WPV_VERSION' ) ) {
50
  return;
51
  } else {
52
+ define( 'YITH_WPV_VERSION', '2.5.0' );
53
  }
54
 
55
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
56
+ define( 'YITH_WPV_DB_VERSION', '1.1.4' );
57
  }
58
 
59
  /* Load YWCM text domain */
114
  }
115
  }
116
 
 
117
  /**
118
  * Instance main plugin class
119
  */
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-es_ES.mo ADDED
Binary file
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-es_ES.po ADDED
@@ -0,0 +1,4360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
+ "POT-Creation-Date: 2017-12-18 11:27+0100\n"
5
+ "PO-Revision-Date: 2017-12-18 11:27+0100\n"
6
+ "Last-Translator: Fernando Tellado <fernando@tellado.es>\n"
7
+ "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
+ "Language: es_ES\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.9\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
17
+ "esc_attr__;esc_attr_e\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
21
+
22
+ #: includes/class.yith-commission.php:485
23
+ #, php-format
24
+ msgid "Commission status changed from %s to %s."
25
+ msgstr "El estado de la comisión cambió de %s a %s."
26
+
27
+ #: includes/class.yith-commissions.php:188
28
+ msgid "Commission status not updated!"
29
+ msgstr "¡Estado de la comisión sin actualizar!"
30
+
31
+ #: includes/class.yith-commissions.php:189
32
+ msgid "Commission status updated!"
33
+ msgstr "¡Estado de la comisión actualizado!"
34
+
35
+ #: includes/class.yith-commissions.php:190
36
+ msgid ""
37
+ "Payment successful. In a few minutes you will receive an email with the "
38
+ "outcome of the payment and the commission state will be changed accordingly."
39
+ msgstr ""
40
+ "Pago realizado con éxito. En unos minutos recibirás un correo electrónico "
41
+ "con el resultado del pago y en consecuencia, el estado de la comisión "
42
+ "cambiará."
43
+
44
+ #: includes/class.yith-commissions.php:191
45
+ msgid "Payment failed."
46
+ msgstr "Pago fallido."
47
+
48
+ #: includes/class.yith-commissions.php:226
49
+ msgid "Paid"
50
+ msgstr "Pagado"
51
+
52
+ #: includes/class.yith-commissions.php:227
53
+ msgid "Unpaid"
54
+ msgstr "No pagado"
55
+
56
+ #: includes/class.yith-commissions.php:228
57
+ msgid "Pending"
58
+ msgstr "Pendiente"
59
+
60
+ #: includes/class.yith-commissions.php:229
61
+ #: templates/admin/commission-view.php:619
62
+ msgid "Refunded"
63
+ msgstr "Reembolsado"
64
+
65
+ #: includes/class.yith-commissions.php:230
66
+ msgid "Cancelled"
67
+ msgstr "Cancelado"
68
+
69
+ #: includes/class.yith-commissions.php:231
70
+ msgid "Processing"
71
+ msgstr "Procesando"
72
+
73
+ #: includes/class.yith-commissions.php:290
74
+ #: includes/class.yith-commissions.php:291
75
+ #: includes/class.yith-commissions.php:1429
76
+ #: includes/class.yith-vendors-admin.php:184
77
+ msgid "Commissions"
78
+ msgstr "Comisiones"
79
+
80
+ #: includes/class.yith-commissions.php:358
81
+ msgid "Vendor Commissions"
82
+ msgstr "Comisiones del vendedor"
83
+
84
+ #: includes/class.yith-commissions.php:395
85
+ msgid "Earnings by vendor"
86
+ msgstr "Ganancias por vendedor"
87
+
88
+ #: includes/class.yith-commissions.php:413
89
+ #, php-format
90
+ msgid "Commission #%d details"
91
+ msgstr "Detalles de comisión #%d"
92
+
93
+ #: includes/class.yith-commissions.php:414
94
+ #, php-format
95
+ msgid "%1$s &lsaquo; %2$s &#8212; WordPress"
96
+ msgstr "%1$s &lsaquo; %2$s &#8212; WordPress"
97
+
98
+ # Puesto en plural
99
+ #: includes/class.yith-commissions.php:1285
100
+ #, php-format
101
+ msgid "Refunded %s from order"
102
+ msgstr "Reembolsados %s del pedido"
103
+
104
+ #: includes/class.yith-commissions.php:1304
105
+ msgid "Order Refunded"
106
+ msgstr "Pedido reembolsado"
107
+
108
+ # Cambiado orden del texto de la traducción
109
+ #: includes/class.yith-commissions.php:1339
110
+ #, php-format
111
+ msgid "Cancelled %s refund from order"
112
+ msgstr "Cancelado el reembolso de %s del pedido"
113
+
114
+ #: includes/class.yith-commissions.php:1466 includes/class.yith-orders.php:1733
115
+ msgid "commission_id"
116
+ msgstr "commission_id"
117
+
118
+ #: includes/class.yith-commissions.php:1563
119
+ msgctxt "[Admin]: Option description"
120
+ msgid "Credit taxes to the website admin"
121
+ msgstr "Impuestos a la administración del sitio web"
122
+
123
+ #: includes/class.yith-commissions.php:1564
124
+ msgctxt "[Admin]: Option description"
125
+ msgid "Split tax by percentage between website admin and vendor"
126
+ msgstr ""
127
+ "Dividir el impuesto por porcentaje entre el administrador del sitio web y el "
128
+ "vendedor"
129
+
130
+ #: includes/class.yith-commissions.php:1565
131
+ msgctxt "[Admin]: Option description"
132
+ msgid "Credit taxes to the vendor"
133
+ msgstr "Impuestos al vendedor"
134
+
135
+ #: includes/class.yith-commissions.php:1569
136
+ msgctxt "means: Vendor commission have been calculated: tax included"
137
+ msgid "included"
138
+ msgstr "incluido"
139
+
140
+ #: includes/class.yith-commissions.php:1569
141
+ msgctxt "means: Vendor commission have been calculated: tax excluded"
142
+ msgid "excluded"
143
+ msgstr "excluido"
144
+
145
+ #: includes/class.yith-commissions.php:1572
146
+ msgctxt "part of: tax included or tax excluded"
147
+ msgid "tax"
148
+ msgstr "impuesto"
149
+
150
+ #: includes/class.yith-commissions.php:1578
151
+ msgctxt "part of: Vendor commission have been calculated: tax included"
152
+ msgid "Vendor commission have been calculated"
153
+ msgstr "Las comisiones del vendedor han sido calculadas"
154
+
155
+ #: includes/class.yith-commissions.php:1583
156
+ msgctxt "part of: coupon included or coupon excluded"
157
+ msgid "coupon"
158
+ msgstr "cupón"
159
+
160
+ #: includes/class.yith-orders.php:272
161
+ #, php-format
162
+ msgid "Order &ndash; %s"
163
+ msgstr "Pedido &ndash; %s"
164
+
165
+ #: includes/class.yith-orders.php:272
166
+ msgctxt "Order date parsed by strftime"
167
+ msgid "%b %d, %Y @ %I:%M %p"
168
+ msgstr "%b %d, %Y @ %I:%M %p"
169
+
170
+ #: includes/class.yith-orders.php:434
171
+ #, php-format
172
+ msgid "Error %d: Unable to create order. Please try again."
173
+ msgstr "Error %d: No se puede crear el pedido, Por favor, vuelve a intentarlo."
174
+
175
+ #: includes/class.yith-orders.php:580 includes/class.yith-orders.php:968
176
+ msgctxt "Order note"
177
+ msgid "Update by admin: "
178
+ msgstr "Actualización por admin:"
179
+
180
+ #: includes/class.yith-orders.php:961
181
+ msgid "Delete note"
182
+ msgstr "Eliminar nota"
183
+
184
+ # Sustituido stock por inventario
185
+ #: includes/class.yith-orders.php:1072
186
+ #, php-format
187
+ msgid "Item #%s stock reduced from %s to %s."
188
+ msgstr "Artículo #%s inventario reducido de %s a %s."
189
+
190
+ #: includes/class.yith-orders.php:1076
191
+ #, php-format
192
+ msgid "Item #%s stock increased from %s to %s."
193
+ msgstr "Artículo #%s inventario incrementado de %s a %s."
194
+
195
+ #: includes/class.yith-orders.php:1734
196
+ msgid "status"
197
+ msgstr "estado"
198
+
199
+ #: includes/class.yith-orders.php:1802
200
+ msgctxt "Admin: Order table column"
201
+ msgid "Suborders"
202
+ msgstr "Subpedidos"
203
+
204
+ #: includes/class.yith-orders.php:1806
205
+ msgctxt "Admin: Order table column"
206
+ msgid "Vendor"
207
+ msgstr "Vendedor"
208
+
209
+ #: includes/class.yith-orders.php:1850 includes/class.yith-orders.php:1940
210
+ msgctxt "Order table details"
211
+ msgid "in"
212
+ msgstr "en"
213
+
214
+ #: includes/class.yith-orders.php:1892
215
+ msgctxt "Admin: Single order page. Suborder details box"
216
+ msgid "Suborders"
217
+ msgstr "Subpedidos"
218
+
219
+ #: includes/class.yith-orders.php:1892
220
+ msgid ""
221
+ "Note: from this box you can monitor the status of suborders associated to "
222
+ "individual vendors."
223
+ msgstr ""
224
+ "Nota: desde esta casilla puede supervisar el estado de los subpedidos "
225
+ "asociados a los vendedores individuales."
226
+
227
+ #: includes/class.yith-orders.php:1898
228
+ msgctxt "Admin: Single order page. Parent order details box"
229
+ msgid "Parent order"
230
+ msgstr "Pedido padre"
231
+
232
+ #: includes/class.yith-orders.php:1906
233
+ msgctxt "Admin: Single order page. Parent order details box"
234
+ msgid "Parent order id"
235
+ msgstr "Id de pedido padre"
236
+
237
+ #: includes/class.yith-orders.php:1941
238
+ #: includes/lib/class.yith-commissions-list-table.php:331
239
+ #: templates/admin/commission-view.php:213
240
+ msgid "Vendor deleted"
241
+ msgstr "Vendedor eliminado"
242
+
243
+ #: includes/class.yith-orders.php:1952
244
+ msgctxt "Admin: single order page. Link to parent order"
245
+ msgid "Return to main order"
246
+ msgstr "Regresar al pedido principal"
247
+
248
+ #: includes/class.yith-orders.php:1957
249
+ msgid ""
250
+ "Pass this ID over to the website administrator for any communication related "
251
+ "to this order"
252
+ msgstr ""
253
+ "Transmita este ID al administrador del sitio web para cualquier comunicación "
254
+ "relacionada con este pedido"
255
+
256
+ #: includes/class.yith-orders.php:2283
257
+ #, php-format
258
+ msgid "File %d"
259
+ msgstr "Archivo %d"
260
+
261
+ #: includes/class.yith-vendors-admin.php:185
262
+ #: includes/class.yith-vendors.php:380
263
+ msgid "Vendors"
264
+ msgstr "Vendedores"
265
+
266
+ #: includes/class.yith-vendors-admin.php:186
267
+ #: includes/class.yith-vendors-admin.php:1129
268
+ msgid "Premium Version"
269
+ msgstr "Versión Premium"
270
+
271
+ #: includes/class.yith-vendors-admin.php:192
272
+ #: includes/class.yith-vendors-admin.php:193
273
+ msgid "Multi Vendor"
274
+ msgstr "Multi Vendor"
275
+
276
+ #: includes/class.yith-vendors-admin.php:450
277
+ #, php-format
278
+ msgid ""
279
+ "You do not have permission to edit this product. %1$sClick here to view and "
280
+ "edit your products%2$s."
281
+ msgstr ""
282
+ "No tienes permisos para editar este producto. %1$s Haz clic aquí para ver y "
283
+ "editar tus productos%2$s."
284
+
285
+ #: includes/class.yith-vendors-admin.php:457
286
+ #, php-format
287
+ msgid ""
288
+ "You do not have permission to edit this order. %1$sClick here to view and "
289
+ "edit your orders%2$s."
290
+ msgstr ""
291
+ "No tienes permisos para editar este pedido. %1$s Haz clic aquí para ver y "
292
+ "editar tus pedidos%2$s."
293
+
294
+ #: includes/class.yith-vendors-admin.php:504
295
+ #: includes/class.yith-vendors-admin.php:505
296
+ msgid "Vendor Profile"
297
+ msgstr "Perfil del vendedor"
298
+
299
+ #: includes/class.yith-vendors-admin.php:577
300
+ msgid "VAT/SSN"
301
+ msgstr "IVA"
302
+
303
+ #: includes/class.yith-vendors-admin.php:582
304
+ #: includes/class.yith-vendors-admin.php:615
305
+ msgid "Search for a customer&hellip;"
306
+ msgstr "Buscar un cliente&hellip;"
307
+
308
+ #: includes/class.yith-vendors-admin.php:624
309
+ msgid "Search for a shop admins&hellip;"
310
+ msgstr "Buscar la tienda del administrador;"
311
+
312
+ #: includes/class.yith-vendors-admin.php:663
313
+ #: includes/class.yith-vendors-admin.php:684
314
+ #: includes/class.yith-vendors-admin.php:1859
315
+ msgid "A vendor with this name already exists."
316
+ msgstr "Ya existe un vendedor con este nombre."
317
+
318
+ #: includes/class.yith-vendors-admin.php:664
319
+ msgid "Vendor name already exists"
320
+ msgstr "Este nombre de vendedor ya existe"
321
+
322
+ #: includes/class.yith-vendors-admin.php:690
323
+ #: includes/class.yith-vendors-admin.php:1864
324
+ msgid "You can't associate more vendor shops with the same shop owner."
325
+ msgstr ""
326
+
327
+ #: includes/class.yith-vendors-admin.php:1041
328
+ #, php-format
329
+ msgid "No %s"
330
+ msgstr "No %s"
331
+
332
+ #: includes/class.yith-vendors-admin.php:1124
333
+ msgid "Settings"
334
+ msgstr "Ajustes"
335
+
336
+ #: includes/class.yith-vendors-admin.php:1125
337
+ #: includes/class.yith-vendors-admin.php:1666
338
+ msgid "Premium live demo"
339
+ msgstr "Demo en vivo Premium"
340
+
341
+ #: includes/class.yith-vendors-admin.php:1125
342
+ msgid "Live demo"
343
+ msgstr "Demo en vivo"
344
+
345
+ #: includes/class.yith-vendors-admin.php:1153
346
+ msgid "Plugin Documentation"
347
+ msgstr "Documentación del plugin"
348
+
349
+ #: includes/class.yith-vendors-admin.php:1257
350
+ msgid "Visit Store"
351
+ msgstr "Visitar la tienda"
352
+
353
+ #: includes/class.yith-vendors-admin.php:1649
354
+ msgid "Plugin documentation"
355
+ msgstr "Documentación del plugin"
356
+
357
+ #: includes/class.yith-vendors-admin.php:1656
358
+ msgid "Discover the premium version"
359
+ msgstr "Descubre la versión premium"
360
+
361
+ #: includes/class.yith-vendors-admin.php:1661
362
+ msgid "Free Vs Premium"
363
+ msgstr "Gratis Vs Premium"
364
+
365
+ #: includes/class.yith-vendors-admin.php:1671
366
+ msgid "WordPress support forum"
367
+ msgstr "Foro de soporte de WordPress"
368
+
369
+ #: includes/class.yith-vendors-admin.php:1676
370
+ #: includes/class.yith-vendors-admin.php:1688
371
+ msgid "Changelog"
372
+ msgstr "Registro de cambios"
373
+
374
+ #: includes/class.yith-vendors-admin.php:1683
375
+ msgid "Support platform"
376
+ msgstr "Plataforma de soporte"
377
+
378
+ #: includes/class.yith-vendors-admin.php:1688
379
+ msgid "current version"
380
+ msgstr "versión actual"
381
+
382
+ #: includes/class.yith-vendors-admin.php:1693
383
+ msgid "PayPal sandbox test accounts"
384
+ msgstr "Cuentas de prueba de sandbox PayPal"
385
+
386
+ #: includes/class.yith-vendors-admin.php:1698
387
+ msgid "Enable PayPal MassPay"
388
+ msgstr "Habilitar PayPal MassPay"
389
+
390
+ #: includes/class.yith-vendors-admin.php:1854
391
+ msgid "Option Saved"
392
+ msgstr "Opción guardada"
393
+
394
+ #: includes/class.yith-vendors.php:378 includes/class.yith-vendors.php:379
395
+ #: templates/admin/commission-view.php:207
396
+ msgid "Vendor"
397
+ msgstr "Vendedor"
398
+
399
+ # quitada capitalización en Vendedores
400
+ #: includes/class.yith-vendors.php:381
401
+ msgid "Search Vendors"
402
+ msgstr "Buscar vendedores"
403
+
404
+ # quitada capitalización
405
+ #: includes/class.yith-vendors.php:382
406
+ msgid "All Vendors"
407
+ msgstr "Todos los vendedores"
408
+
409
+ #: includes/class.yith-vendors.php:383
410
+ msgid "Parent Vendor"
411
+ msgstr "Vendedor padre"
412
+
413
+ #: includes/class.yith-vendors.php:384
414
+ msgid "Parent Vendor:"
415
+ msgstr "Vendedor padre:"
416
+
417
+ #: includes/class.yith-vendors.php:385
418
+ msgid "View Vendor"
419
+ msgstr "Ver vendedor"
420
+
421
+ #: includes/class.yith-vendors.php:386
422
+ msgid "Edit Vendor"
423
+ msgstr "Editar vendedor"
424
+
425
+ #: includes/class.yith-vendors.php:387
426
+ msgid "Update Vendor"
427
+ msgstr "Actualizar vendedor"
428
+
429
+ #: includes/class.yith-vendors.php:388
430
+ msgid "Add New Vendor"
431
+ msgstr "Añadir nuevo vendedor"
432
+
433
+ #: includes/class.yith-vendors.php:389
434
+ msgid "New Vendor's Name"
435
+ msgstr "Nombre del nuevo vendedor"
436
+
437
+ #: includes/class.yith-vendors.php:391
438
+ msgid "Separate vendors with commas"
439
+ msgstr "Separar vendedores con comas"
440
+
441
+ #: includes/class.yith-vendors.php:392
442
+ msgid "Add or remove vendors"
443
+ msgstr "Añadir o eliminar vendedores"
444
+
445
+ #: includes/class.yith-vendors.php:393
446
+ msgid "Choose from most used vendors"
447
+ msgstr "Elige entre los vendedores más utilizados"
448
+
449
+ #: includes/class.yith-vendors.php:394
450
+ msgid "No vendors found"
451
+ msgstr "No se encontraron vendedores"
452
+
453
+ #: includes/lib/class.yith-commissions-list-table.php:59
454
+ msgid "ID"
455
+ msgstr "ID"
456
+
457
+ #: includes/lib/class.yith-commissions-list-table.php:60
458
+ #: templates/admin/commission-view.php:172
459
+ msgid "Status"
460
+ msgstr "Estado"
461
+
462
+ #: includes/lib/class.yith-commissions-list-table.php:61
463
+ msgid "Order"
464
+ msgstr "Pedido"
465
+
466
+ #: includes/lib/class.yith-commissions-list-table.php:62
467
+ msgid "Product"
468
+ msgstr "Producto"
469
+
470
+ #: includes/lib/class.yith-commissions-list-table.php:63
471
+ #: templates/admin/commission-view.php:591
472
+ msgid "Rate"
473
+ msgstr "Valoración"
474
+
475
+ #: includes/lib/class.yith-commissions-list-table.php:64
476
+ msgid "User"
477
+ msgstr "Usuario"
478
+
479
+ #: includes/lib/class.yith-commissions-list-table.php:66
480
+ #: templates/admin/premium.php:849
481
+ msgid "IBAN/BIC"
482
+ msgstr "IBAN/BIC"
483
+
484
+ #: includes/lib/class.yith-commissions-list-table.php:67
485
+ msgid "Amount"
486
+ msgstr "Cantidad"
487
+
488
+ #: includes/lib/class.yith-commissions-list-table.php:68
489
+ #: templates/admin/commission-view.php:176
490
+ msgid "Date"
491
+ msgstr "Fecha"
492
+
493
+ #: includes/lib/class.yith-commissions-list-table.php:69
494
+ #: templates/admin/commission-view.php:180
495
+ msgid "Last update"
496
+ msgstr "Última actualización"
497
+
498
+ #: includes/lib/class.yith-commissions-list-table.php:70
499
+ #: templates/admin/commission-view.php:52
500
+ msgid "Actions"
501
+ msgstr "Acciones"
502
+
503
+ #: includes/lib/class.yith-commissions-list-table.php:225
504
+ msgid "Order Deleted"
505
+ msgstr "Pedido eliminado"
506
+
507
+ #: includes/lib/class.yith-commissions-list-table.php:258
508
+ #: templates/admin/commission-view.php:139
509
+ msgid "Guest"
510
+ msgstr "Invitado"
511
+
512
+ #: includes/lib/class.yith-commissions-list-table.php:280
513
+ #, php-format
514
+ msgctxt "Order number by user"
515
+ msgid "%s by %s"
516
+ msgstr "%s por %s"
517
+
518
+ #: includes/lib/class.yith-commissions-list-table.php:294
519
+ msgctxt "[admin]: commission type"
520
+ msgid "Shipping fee"
521
+ msgstr "Gastos de envío"
522
+
523
+ #: includes/lib/class.yith-commissions-list-table.php:317
524
+ #: templates/admin/commission-view.php:202
525
+ msgid "User deleted"
526
+ msgstr "Usuario eliminado"
527
+
528
+ #: includes/lib/class.yith-commissions-list-table.php:354
529
+ msgid "View"
530
+ msgstr "Ver"
531
+
532
+ #: includes/lib/class.yith-commissions-list-table.php:359
533
+ #: includes/lib/class.yith-commissions-list-table.php:377
534
+ #: templates/admin/commission-view.php:183
535
+ msgid "Y/m/d g:i:s A"
536
+ msgstr "d/m/A g:i:s A"
537
+
538
+ #: includes/lib/class.yith-commissions-list-table.php:366
539
+ #: includes/lib/class.yith-commissions-list-table.php:384
540
+ #: templates/admin/commission-view.php:184
541
+ #, php-format
542
+ msgid "%s ago"
543
+ msgstr "Hace %s"
544
+
545
+ #: includes/lib/class.yith-commissions-list-table.php:369
546
+ #: includes/lib/class.yith-commissions-list-table.php:386
547
+ msgid "Y/m/d"
548
+ msgstr "d/m/A"
549
+
550
+ #: includes/lib/class.yith-commissions-list-table.php:422
551
+ msgid "No commissions found."
552
+ msgstr "No se encontraron comisiones."
553
+
554
+ # traducido nombre de ajuste
555
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:29
556
+ msgid "YITH Vendor List"
557
+ msgstr "YITH Lista de vendedor"
558
+
559
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:31
560
+ msgid "Display the list with enabled vendors."
561
+ msgstr "Mostrar la lista con los vendedores habilitados."
562
+
563
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:74
564
+ msgid "Vendor List"
565
+ msgstr "Lista de vendedores"
566
+
567
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:83
568
+ msgid "Title"
569
+ msgstr "Título"
570
+
571
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:88
572
+ msgid "Hide this widget on vendor page"
573
+ msgstr "Ocultar este widget en la página del vendedor"
574
+
575
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:93
576
+ msgid "Vendor's products amount"
577
+ msgstr "Cantidad de productos del vendedor"
578
+
579
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:98
580
+ msgid "Hide vendors with no products"
581
+ msgstr "Ocultar vendedores sin productos"
582
+
583
+ #: init.php:37
584
+ msgid ""
585
+ "YITH WooCommerce Multi Vendor is enabled but not effective. It requires "
586
+ "WooCommerce in order to work."
587
+ msgstr ""
588
+ "YITH WooCommerce Multi Vendor está activado pero no es efectivo. Necesita "
589
+ "WooCommerce para funcionar."
590
+
591
+ #: plugin-options/commissions-options.php:20
592
+ msgid "General settings"
593
+ msgstr "Ajustes generales"
594
+
595
+ # traducido para que se entienda
596
+ #: plugin-options/commissions-options.php:27
597
+ msgid "Commission Base"
598
+ msgstr "Comisión por defecto"
599
+
600
+ #: plugin-options/commissions-options.php:30
601
+ msgid "Default commission percentage"
602
+ msgstr "Porcentaje de comisión predeterminado"
603
+
604
+ #: plugin-options/vendors-options.php:20
605
+ msgid "Product management"
606
+ msgstr "Gestión de producto"
607
+
608
+ #: plugin-options/vendors-options.php:27
609
+ msgid "Vendor name label color"
610
+ msgstr "Color de la etiqueta del nombre del vendedor"
611
+
612
+ #: plugin-options/vendors-options.php:29
613
+ msgid "Use in shop page and single product page"
614
+ msgstr "Úsalo en página de tienda y página de producto individual"
615
+
616
+ #: plugin-options/vendors-options.php:43
617
+ msgid "Order management"
618
+ msgstr "Gestión de pedidos"
619
+
620
+ #: plugin-options/vendors-options.php:50
621
+ msgid "Enable order management"
622
+ msgstr "Habilitar gestión de pedidos"
623
+
624
+ #: plugin-options/vendors-options.php:52
625
+ msgid ""
626
+ "If you enable this option, each vendor will be able to manage orders on his/"
627
+ "her own products independently."
628
+ msgstr ""
629
+ "Si habilitas esta opción, cada vendedor podrá administrar pedidos de sus "
630
+ "productos independientemente."
631
+
632
+ #: plugin-options/vendors-options.php:58
633
+ msgid "Order synchronization"
634
+ msgstr "Sincronización del pedido"
635
+
636
+ #: plugin-options/vendors-options.php:60
637
+ msgid ""
638
+ "All changes to general orders will be synchronized with the individual "
639
+ "vendor's order"
640
+ msgstr ""
641
+ "Todos los cambios en los pedidos generales se sincronizarán con el pedido "
642
+ "del vendedor individual"
643
+
644
+ #: templates/admin/add-product-vendors-taxonomy.php:12
645
+ #: templates/admin/edit-product-vendors-taxonomy.php:13
646
+ msgid "Vendor Shop Owner"
647
+ msgstr "Propietario de la tienda del vendedor"
648
+
649
+ #: templates/admin/add-product-vendors-taxonomy.php:17
650
+ #: templates/admin/edit-product-vendors-taxonomy.php:24
651
+ msgid "PayPal email address"
652
+ msgstr "Dirección de correo electrónico de PayPal"
653
+
654
+ #: templates/admin/add-product-vendors-taxonomy.php:19
655
+ #: templates/admin/edit-product-vendors-taxonomy.php:29
656
+ msgid "Vendor's PayPal email address where profits will be delivered."
657
+ msgstr ""
658
+ "Dirección de correo electrónico de PayPal del vendedor donde se entregarán "
659
+ "los beneficios."
660
+
661
+ #: templates/admin/add-product-vendors-taxonomy.php:23
662
+ #: templates/admin/edit-product-vendors-taxonomy.php:35
663
+ msgid "Enable sales"
664
+ msgstr "Habilitar ventas"
665
+
666
+ #: templates/admin/add-product-vendors-taxonomy.php:25
667
+ #: templates/admin/edit-product-vendors-taxonomy.php:41
668
+ msgid "Enable or disable product sales."
669
+ msgstr "Habilitar o deshabilitar las ventas del producto."
670
+
671
+ #: templates/admin/add-product-vendors-taxonomy.php:30
672
+ #: templates/admin/edit-product-vendors-taxonomy.php:48
673
+ msgid "Commission:"
674
+ msgstr "Comisión:"
675
+
676
+ #: templates/admin/add-product-vendors-taxonomy.php:34
677
+ msgid "Percentage of the total sale price that this vendor receives"
678
+ msgstr "Porcentaje del precio de venta total que este vendedor recibe"
679
+
680
+ # quitada capitalización
681
+ #: templates/admin/commission-view.php:32
682
+ msgid "View Commission"
683
+ msgstr "Ver comisión"
684
+
685
+ #: templates/admin/commission-view.php:33
686
+ msgid "Back"
687
+ msgstr "Atrás"
688
+
689
+ # quitada capitalización
690
+ #: templates/admin/commission-view.php:46
691
+ msgid "Commission Actions"
692
+ msgstr "Acciones de la comisión"
693
+
694
+ #: templates/admin/commission-view.php:54
695
+ #, php-format
696
+ msgid "Change to %s"
697
+ msgstr "Cambiar a %s"
698
+
699
+ #: templates/admin/commission-view.php:60
700
+ msgid "Apply"
701
+ msgstr "Aplicar"
702
+
703
+ #: templates/admin/commission-view.php:69
704
+ msgid "Commission notes"
705
+ msgstr "Notas de la comisión"
706
+
707
+ #: templates/admin/commission-view.php:80
708
+ #, php-format
709
+ msgid "added on %1$s at %2$s"
710
+ msgstr "añadido en %1$s a %2$s"
711
+
712
+ #: templates/admin/commission-view.php:85
713
+ msgid "There are no notes yet."
714
+ msgstr "Aún no hay notas."
715
+
716
+ #: templates/admin/commission-view.php:107
717
+ msgctxt "[admin] part of commission details"
718
+ msgid "Commission"
719
+ msgstr "Comisión"
720
+
721
+ #: templates/admin/commission-view.php:107
722
+ msgctxt "[admin] part of shipping fee details"
723
+ msgid "Shipping fee"
724
+ msgstr "Gastos de envío"
725
+
726
+ #: templates/admin/commission-view.php:108
727
+ msgctxt "[admin] part of commission details"
728
+ msgid "details"
729
+ msgstr "Detalles"
730
+
731
+ #: templates/admin/commission-view.php:162
732
+ #, php-format
733
+ msgctxt "Commission credited to [user]"
734
+ msgid "credited to %s &#8212; from order %s &#8212; order status: %s"
735
+ msgstr "acreditado a %s &#8212; del pedido %s &#8212; estado del pedido: %s"
736
+
737
+ #: templates/admin/commission-view.php:169
738
+ msgid "General details"
739
+ msgstr "Detalles generales"
740
+
741
+ #: templates/admin/commission-view.php:194
742
+ msgid "User details"
743
+ msgstr "Detalles del usuario"
744
+
745
+ #: templates/admin/commission-view.php:199
746
+ msgid "Email"
747
+ msgstr "Correo electrónico"
748
+
749
+ #: templates/admin/commission-view.php:218
750
+ msgid "PayPal"
751
+ msgstr "PayPal"
752
+
753
+ #: templates/admin/commission-view.php:222
754
+ msgid "Email address not set "
755
+ msgstr "Dirección de correo electrónico no establecida"
756
+
757
+ #: templates/admin/commission-view.php:230
758
+ msgid "Billing information"
759
+ msgstr "Datos de facturación"
760
+
761
+ #: templates/admin/commission-view.php:257
762
+ msgid "Shipping information"
763
+ msgstr "Información de envío"
764
+
765
+ #: templates/admin/commission-view.php:293
766
+ msgid "Item data"
767
+ msgstr "Datos del artículo"
768
+
769
+ # traducido
770
+ #: templates/admin/commission-view.php:302
771
+ msgid "Item"
772
+ msgstr "Artículo"
773
+
774
+ #: templates/admin/commission-view.php:304
775
+ msgid "Cost"
776
+ msgstr "Coste"
777
+
778
+ #: templates/admin/commission-view.php:305
779
+ msgid "Qty"
780
+ msgstr "Cant."
781
+
782
+ #: templates/admin/commission-view.php:306
783
+ #: templates/admin/commission-view.php:626
784
+ msgid "Total"
785
+ msgstr "Total"
786
+
787
+ #: templates/admin/commission-view.php:311
788
+ #: templates/admin/commission-view.php:312
789
+ msgid "Tax"
790
+ msgstr "Impuesto"
791
+
792
+ #: templates/admin/commission-view.php:337
793
+ msgid "Product ID:"
794
+ msgstr "ID de producto:"
795
+
796
+ #: templates/admin/commission-view.php:340
797
+ #: templates/admin/commission-view.php:342
798
+ msgid "Variation ID:"
799
+ msgstr "ID de variación:"
800
+
801
+ #: templates/admin/commission-view.php:342
802
+ msgid "No longer exists"
803
+ msgstr "Ya no existe"
804
+
805
+ #: templates/admin/commission-view.php:346
806
+ msgid "Product SKU:"
807
+ msgstr "Número de referencia del producto:"
808
+
809
+ #: templates/admin/commission-view.php:503
810
+ msgid "Pre-discount:"
811
+ msgstr "Pre-descuento:"
812
+
813
+ #: templates/admin/commission-view.php:507
814
+ msgid "Total:"
815
+ msgstr "Total:"
816
+
817
+ #: templates/admin/commission-view.php:534
818
+ msgid "Refund"
819
+ msgstr "Reembolso"
820
+
821
+ #: templates/admin/commission-view.php:567
822
+ msgid "Coupon(s) Used"
823
+ msgstr "Cupón(es) usados"
824
+
825
+ #: templates/admin/commission-view.php:600
826
+ msgid "Commission"
827
+ msgstr "Comisión"
828
+
829
+ #: templates/admin/commissions.php:24
830
+ msgid "Search commissions"
831
+ msgstr "Buscar comisiones"
832
+
833
+ #: templates/admin/edit-product-vendors-taxonomy.php:18
834
+ msgid "User that can manage products in this shop and view sale reports."
835
+ msgstr ""
836
+ "Usuario que puede gestionar productos en esta tienda y ver los informes de "
837
+ "ventas."
838
+
839
+ #: templates/admin/edit-product-vendors-taxonomy.php:54
840
+ msgid "Percentage of the total sale price that this vendor receives."
841
+ msgstr "Porcentaje del precio de venta total que recibe este vendedor."
842
+
843
+ #: templates/admin/premium.php:239 templates/admin/premium.php:994
844
+ #, php-format
845
+ msgid ""
846
+ "Upgrade to the %1$spremium version%2$s of %1$sYITH WooCommerce Multi Vendor"
847
+ "%2$s to benefit from all features!"
848
+ msgstr ""
849
+
850
+ #: templates/admin/premium.php:243 templates/admin/premium.php:998
851
+ #, php-format
852
+ msgid "%1$s UPGRADE %2$s %3$s to the premium version %2$s"
853
+ msgstr ""
854
+
855
+ #: templates/admin/premium.php:250
856
+ msgid "Premium Features"
857
+ msgstr ""
858
+
859
+ #: templates/admin/premium.php:259
860
+ msgid "A richer vendor shop page"
861
+ msgstr ""
862
+
863
+ #: templates/admin/premium.php:262
864
+ #, php-format
865
+ msgid ""
866
+ "The vendor page gets more details!Vendors will be able to add their %s "
867
+ "contact details %s (email, address, phone number) and the most common social "
868
+ "network profiles (Facebook, Twitter, Google+, LinkedIn and YouTube)"
869
+ msgstr ""
870
+
871
+ #: templates/admin/premium.php:265
872
+ #, php-format
873
+ msgid ""
874
+ "These pieces of information are gathered in the page of every vendor shop "
875
+ "with a %sheader%s where style and images can be customized."
876
+ msgstr ""
877
+
878
+ #: templates/admin/premium.php:276
879
+ msgid "One or more administrators for every vendor shop"
880
+ msgstr ""
881
+
882
+ #: templates/admin/premium.php:279
883
+ #, php-format
884
+ msgid ""
885
+ "The administrators of the vendor shop are one of the most important new "
886
+ "features.%s They are simple registered users of the shop that have been "
887
+ "admitted to %smanage the products%s and all the information about a vendor "
888
+ "shop by the administrator of the store or the owner of the vendor shop."
889
+ msgstr ""
890
+
891
+ #: templates/admin/premium.php:282
892
+ #, php-format
893
+ msgid ""
894
+ "The only element they can't change is the %stype of payment%s that only "
895
+ "administrator of the store or the owner of the vendor shop can set."
896
+ msgstr ""
897
+
898
+ #: templates/admin/premium.php:299
899
+ msgid "Direct product sale"
900
+ msgstr ""
901
+
902
+ #: templates/admin/premium.php:302
903
+ #, php-format
904
+ msgid ""
905
+ "Thanks to the %s\"Skip Admin review\"%s option, vendors can publish new "
906
+ "products without the store administrator approval. This option can be "
907
+ "applied to all the vendor shops, or just to the selected ones."
908
+ msgstr ""
909
+
910
+ #: templates/admin/premium.php:313
911
+ msgid "Actions for commissions"
912
+ msgstr ""
913
+
914
+ #: templates/admin/premium.php:316
915
+ msgid ""
916
+ "A commissions table with more details to be always up-to-date. Every "
917
+ "commission offers a set of buttons to quickly proceed to the PayPal payments "
918
+ "(if set as manual), or to change the state of the commission."
919
+ msgstr ""
920
+
921
+ #: templates/admin/premium.php:333 templates/admin/premium.php:367
922
+ msgid "Variable commission rates"
923
+ msgstr ""
924
+
925
+ #: templates/admin/premium.php:336 templates/admin/premium.php:370
926
+ #, php-format
927
+ msgid ""
928
+ "%sNo more single commission rate for all the vendor shops:%s in the premium "
929
+ "version of the plugin, this rate can be modified for every single vendor "
930
+ "shop and for every product associated."
931
+ msgstr ""
932
+
933
+ #: templates/admin/premium.php:347
934
+ msgid "Coupon handling"
935
+ msgstr "Gestión de cupones"
936
+
937
+ #: templates/admin/premium.php:350
938
+ #, php-format
939
+ msgid ""
940
+ "If users use a coupon during a purchase, how will vendor commissions be "
941
+ "calculated? It's up to you: with the %s\"Coupon handling\"%s option, you can "
942
+ "decide whether you want to calculate the commission for the discounted total "
943
+ "or not."
944
+ msgstr ""
945
+
946
+ #: templates/admin/premium.php:381
947
+ msgid "COUPON CREATION"
948
+ msgstr ""
949
+
950
+ #: templates/admin/premium.php:384
951
+ #, php-format
952
+ msgid ""
953
+ "With the option %s \"Enable coupon management\" %s, the vendors of your shop "
954
+ "can create coupons regarding the products they own. A nice innovation to "
955
+ "offer to your vendor-users."
956
+ msgstr ""
957
+
958
+ #: templates/admin/premium.php:401
959
+ msgid "REVIEWS"
960
+ msgstr ""
961
+
962
+ #: templates/admin/premium.php:404
963
+ #, php-format
964
+ msgid ""
965
+ " Just like coupons, this option is tailored on the need to manage reviews "
966
+ "and it has been added to the premium version of the plugin. Activating the %s"
967
+ "\"Enable review management\"%s option from the option panel of the plugin, "
968
+ "vendors will be free to manage the reviews of the products they own, and act "
969
+ "with the same privileges of the administrator of the store."
970
+ msgstr ""
971
+
972
+ #: templates/admin/premium.php:415
973
+ msgid "Advanced reports"
974
+ msgstr ""
975
+
976
+ #: templates/admin/premium.php:418
977
+ #, php-format
978
+ msgid ""
979
+ "Statistics have a central relevance in the e-commerce field and WooCommerce "
980
+ "Multi Vendor offers you different reports to %sanalyze your data%s: from the "
981
+ "most lucrative vendors, to the best sellers, including convenient commission "
982
+ "diagrams for each of them."
983
+ msgstr ""
984
+
985
+ #: templates/admin/premium.php:435
986
+ msgid "CSV exportation of the reports"
987
+ msgstr ""
988
+
989
+ #: templates/admin/premium.php:438
990
+ #, php-format
991
+ msgid ""
992
+ "For each report, %syou can export its data in the CSV format%s: in this way, "
993
+ "you will be free to use all the report details in every fields not "
994
+ "expressively related to WordPress."
995
+ msgstr ""
996
+
997
+ #: templates/admin/premium.php:449
998
+ msgid "Vendor's product exclusion from the shop (Product listing)"
999
+ msgstr ""
1000
+
1001
+ #: templates/admin/premium.php:452
1002
+ #, php-format
1003
+ msgid ""
1004
+ "The %s\"Product listing\"%s option has been conceived to exclude from the "
1005
+ "shop the products of a particular vendor. In this way, these would be "
1006
+ "consultable only from the relative vendor's page."
1007
+ msgstr ""
1008
+
1009
+ #: templates/admin/premium.php:469
1010
+ msgid "Complete list of vendors "
1011
+ msgstr ""
1012
+
1013
+ #: templates/admin/premium.php:472
1014
+ #, php-format
1015
+ msgid ""
1016
+ "The YITH Vendor List widget allows showing the complete list of all the "
1017
+ "vendors available on your site. %1$sA fast way to have access to the vendor "
1018
+ "detail page%2$s in whom they are interested."
1019
+ msgstr ""
1020
+
1021
+ #: templates/admin/premium.php:482
1022
+ msgid "Vendor location "
1023
+ msgstr ""
1024
+
1025
+ #: templates/admin/premium.php:485
1026
+ msgid "Would you like to help your users to reach your store in an easy way? "
1027
+ msgstr ""
1028
+
1029
+ #: templates/admin/premium.php:488
1030
+ #, php-format
1031
+ msgid ""
1032
+ "Just add the widget %1$sYITH Vendor Store Location%2$s to the vendor page "
1033
+ "sidebar. The system will show a different %1$sGoogle map%2$s on each shop "
1034
+ "detail page calculated basing on the address inserted in the vendor's "
1035
+ "profile."
1036
+ msgstr ""
1037
+
1038
+ #: templates/admin/premium.php:505
1039
+ msgid "In contact with the vendor..."
1040
+ msgstr ""
1041
+
1042
+ #: templates/admin/premium.php:508
1043
+ msgid ""
1044
+ "Simplify the exchange of information between buyer and vendor thanks to the "
1045
+ "related contact form."
1046
+ msgstr ""
1047
+
1048
+ #: templates/admin/premium.php:511
1049
+ #, php-format
1050
+ msgid ""
1051
+ "The form shows both in the sidebars of the shop and/or product detail pages. "
1052
+ "%3$s %1$sThe message sent by the user is forwarded directly to the vendor"
1053
+ "%2$s without any intermediary. "
1054
+ msgstr ""
1055
+
1056
+ #: templates/admin/premium.php:521
1057
+ msgid "Shortcode"
1058
+ msgstr ""
1059
+
1060
+ #: templates/admin/premium.php:524
1061
+ msgid ""
1062
+ "Take advantage of the YITH WooCommerce Multi Vendor List shortcode to show "
1063
+ "the complete list of your shop vendors in any page."
1064
+ msgstr ""
1065
+
1066
+ #: templates/admin/premium.php:541
1067
+ msgid "VISUALIZATION OF THE VENDOR'S NAME"
1068
+ msgstr ""
1069
+
1070
+ #: templates/admin/premium.php:544
1071
+ msgid ""
1072
+ "The default setting of the plugin shows the name of each vendor in three "
1073
+ "pages of your site: the shop page, the product detail page and product "
1074
+ "category page. Now you can decide whether you want to show their name and "
1075
+ "hide them whenever you want with three different options."
1076
+ msgstr ""
1077
+
1078
+ #: templates/admin/premium.php:554
1079
+ msgid "VENDOR REGISTRATION"
1080
+ msgstr ""
1081
+
1082
+ #: templates/admin/premium.php:557
1083
+ #, php-format
1084
+ msgid ""
1085
+ "A more dynamic management for whoever wants to become a vendor in your "
1086
+ "store. It doesn't matter whether you are a registered user or a new one: "
1087
+ "everyone will be free to register as a vendor with the related "
1088
+ "%1$sregistration form.%2$s Following your settings, the registration request "
1089
+ "can be accepted automatically or manually by administrators"
1090
+ msgstr ""
1091
+
1092
+ #: templates/admin/premium.php:574
1093
+ msgid "RESTRICTED NUMBER OF PRODUCTS"
1094
+ msgstr ""
1095
+
1096
+ #: templates/admin/premium.php:577
1097
+ msgid ""
1098
+ "The option \"Enable product amount limit\" has been conceived to whoever "
1099
+ "would like to limit the creation of products of the shop vendors, with the "
1100
+ "freedom to indicate a specific maximum number of products that each vendor "
1101
+ "can create."
1102
+ msgstr ""
1103
+
1104
+ #: templates/admin/premium.php:587
1105
+ msgid "BULK ACTIONS ON VENDORS"
1106
+ msgstr ""
1107
+
1108
+ #: templates/admin/premium.php:590
1109
+ msgid ""
1110
+ "How many times did you find yourself annoyed by the repetition of the same "
1111
+ "passages with a huge waste of time? Well, now vendors management is "
1112
+ "completely renewed! You will be able to apply bulk actions on all the "
1113
+ "registered vendors, approving or deleting them all together with just one "
1114
+ "click."
1115
+ msgstr ""
1116
+
1117
+ #: templates/admin/premium.php:606
1118
+ msgid "Advanced administration area for each vendor"
1119
+ msgstr ""
1120
+
1121
+ #: templates/admin/premium.php:609
1122
+ msgid ""
1123
+ "A breath of fresh air for the \"vendor users\" that can take advantage of a "
1124
+ "big and advanced administrative area. From this place, they will be free to "
1125
+ "consult the reports about their products,change their profile information "
1126
+ "and choose the payment method they prefer. Each vendor can also check the "
1127
+ "commissions table, with the whole sum of the relative commissions up to that "
1128
+ "moment."
1129
+ msgstr ""
1130
+
1131
+ #: templates/admin/premium.php:619
1132
+ msgid "ABUSE REPORT"
1133
+ msgstr ""
1134
+
1135
+ #: templates/admin/premium.php:622
1136
+ msgid ""
1137
+ "With this feature, your users will be able to send you a message about one "
1138
+ "of the products of your shop with a dedicated form that will open in a popup "
1139
+ "within the related product detail page."
1140
+ msgstr ""
1141
+
1142
+ #: templates/admin/premium.php:638
1143
+ msgid "Second email"
1144
+ msgstr ""
1145
+
1146
+ #: templates/admin/premium.php:641
1147
+ msgid ""
1148
+ "Each time that a new order is registered or cancelled, a notification email "
1149
+ "is sent to the corresponding vendor. This sending can sometimes be affected "
1150
+ "by some problems, and this is why you should be able to send again the lost "
1151
+ "email. With the premium version of the plugin, you will just have to go to "
1152
+ "the detail page of the order and with a single click everything will be "
1153
+ "solved."
1154
+ msgstr ""
1155
+
1156
+ #: templates/admin/premium.php:651
1157
+ msgid "Minimum amount of commissions"
1158
+ msgstr ""
1159
+
1160
+ #: templates/admin/premium.php:654
1161
+ msgid ""
1162
+ "If each vendor can decide a commission threshold for which asking the "
1163
+ "payment, administrators must be free to control how this works.Setting a "
1164
+ "minimum amount of commissions, you will be free to pay commissions starting "
1165
+ "from the amount you have set."
1166
+ msgstr ""
1167
+
1168
+ #: templates/admin/premium.php:670
1169
+ msgid "Highlighted products"
1170
+ msgstr ""
1171
+
1172
+ #: templates/admin/premium.php:673
1173
+ msgid ""
1174
+ "Setting a WooCommerce product as \"Featured\" means standing it out among "
1175
+ "the others, maybe putting it in the main part of the homepage, or in one of "
1176
+ "the widgets of the siderbars of your shop. With the related option, you will "
1177
+ "be free to allow or block vendors to set their products as \"featured\"."
1178
+ msgstr ""
1179
+
1180
+ #: templates/admin/premium.php:683
1181
+ msgid "Sales amount"
1182
+ msgstr "Cantidad de ventas"
1183
+
1184
+ #: templates/admin/premium.php:686
1185
+ msgid ""
1186
+ "Enrich your shop with more information. Show the amount of sales made by "
1187
+ "each vendor, placing it in the detail page of the related product, and for "
1188
+ "each single product assigned to a vendor."
1189
+ msgstr ""
1190
+
1191
+ #: templates/admin/premium.php:702
1192
+ msgid "Shop closed"
1193
+ msgstr ""
1194
+
1195
+ #: templates/admin/premium.php:705
1196
+ msgid ""
1197
+ "Even the owners of online shops need a break, maybe for deserved vacations "
1198
+ "or for other reasons. Therefore, when administrators offers this freedom to "
1199
+ "their vendors, they will be free to close their stores, showing a customized "
1200
+ "message to users. Vendors will also be free to decide whether they want to "
1201
+ "keep their products purchasable, or showing them in catalogue mode with no "
1202
+ "opportunity to add them to the cart. "
1203
+ msgstr ""
1204
+
1205
+ #: templates/admin/premium.php:715
1206
+ msgid "Vendor Chat"
1207
+ msgstr ""
1208
+
1209
+ #: templates/admin/premium.php:718
1210
+ #, php-format
1211
+ msgid ""
1212
+ "Thanks to the integration with %1$sYITH Live Chat%2$s, vendors of your site "
1213
+ "will be free to answer immediately to their customers' questions. In this "
1214
+ "way, vendors and purchasers will be even nearer, for a complete success of "
1215
+ "your e-commerce."
1216
+ msgstr ""
1217
+
1218
+ #: templates/admin/premium.php:734
1219
+ msgid "VAT numbers"
1220
+ msgstr ""
1221
+
1222
+ #: templates/admin/premium.php:737
1223
+ msgid ""
1224
+ "If you need the VAT number of your vendors, make it mandatory during the "
1225
+ "registration. In this way, no request to become vendor could be completed "
1226
+ "without adding the VAT number, as this can also be showed in the related "
1227
+ "detailed vendor's page."
1228
+ msgstr ""
1229
+
1230
+ #: templates/admin/premium.php:747
1231
+ msgid "Refund management"
1232
+ msgstr ""
1233
+
1234
+ #: templates/admin/premium.php:750
1235
+ msgid ""
1236
+ "Now refund management can be designated to the vendors of your shop. In "
1237
+ "fact, they will be able to refund partially or totally users about the "
1238
+ "products they own, with a related recalculation of the commissions received. "
1239
+ "Another way to empower your vendors about the management of their shops."
1240
+ msgstr ""
1241
+
1242
+ #: templates/admin/premium.php:766
1243
+ msgid "VENDOR TAXONOMY"
1244
+ msgstr ""
1245
+
1246
+ #: templates/admin/premium.php:769
1247
+ #, php-format
1248
+ msgid ""
1249
+ "With a specific option, %1$svendor taxonomy slug%2$s becomes customizable "
1250
+ "according to your needs."
1251
+ msgstr ""
1252
+
1253
+ #: templates/admin/premium.php:779
1254
+ msgid "VENDOR LOGO"
1255
+ msgstr ""
1256
+
1257
+ #: templates/admin/premium.php:782
1258
+ msgid ""
1259
+ "Vendors might wish to show their own logo, but not all vendors have one. "
1260
+ "This is the reason why you can give them the chance to add it or not in "
1261
+ "their shop pages. If you prefer to have an uniform style in your site, you "
1262
+ "can also choose to hide all your vendors’ logos."
1263
+ msgstr ""
1264
+
1265
+ #: templates/admin/premium.php:785
1266
+ msgid ""
1267
+ " If you prefer to have an suniform style in your site, you can also choose "
1268
+ "to hide all your vendors’ logos."
1269
+ msgstr ""
1270
+
1271
+ #: templates/admin/premium.php:801
1272
+ msgid "USERS PRIVACY"
1273
+ msgstr ""
1274
+
1275
+ #: templates/admin/premium.php:804
1276
+ msgid ""
1277
+ "Protect your customers' privacy! With a specific option of the plugin, you "
1278
+ "can hide \"Customer\" search section in order detail page, so that other "
1279
+ "vendors won’t have access to your customers email addresses."
1280
+ msgstr ""
1281
+
1282
+ #: templates/admin/premium.php:814
1283
+ msgid "Advanced editor"
1284
+ msgstr "Editor avanzado"
1285
+
1286
+ #: templates/admin/premium.php:817
1287
+ msgid ""
1288
+ "All vendors can have WordPress advanced editor so that they can add a richer "
1289
+ "description of their shop by inserting HTML tags and images."
1290
+ msgstr ""
1291
+
1292
+ #: templates/admin/premium.php:830
1293
+ msgid "LEGAL NOTES"
1294
+ msgstr ""
1295
+
1296
+ #: templates/admin/premium.php:833
1297
+ msgid ""
1298
+ "Each vendor of your shop can insert important legal notes in their reserved "
1299
+ "area, which will be shown with the other profile information in vendor "
1300
+ "detail page."
1301
+ msgstr ""
1302
+
1303
+ #: templates/admin/premium.php:852
1304
+ msgid ""
1305
+ "By giving your users the possibility to add their IBAN/BIC code, it will be "
1306
+ "much easier to pay their commissions by bank transfer when requested. "
1307
+ msgstr ""
1308
+
1309
+ #: templates/admin/premium.php:862
1310
+ msgid "TERMS AND CONDITIONS"
1311
+ msgstr ""
1312
+
1313
+ #: templates/admin/premium.php:865
1314
+ msgid ""
1315
+ "Ask to users who wish to become vendors in your shop, to accept \"terms and "
1316
+ "conditions\" during their registration, which, in case of non-acceptance, "
1317
+ "could not be completed."
1318
+ msgstr ""
1319
+
1320
+ #: templates/admin/premium.php:881
1321
+ msgid "WordPress gallery"
1322
+ msgstr ""
1323
+
1324
+ #: templates/admin/premium.php:884
1325
+ msgid ""
1326
+ "All the functionalities of WordPress gallery made available to vendors. From "
1327
+ "now on, they could add and manage media in relation to the products they "
1328
+ "own, by creating image galleries to outstand important details to make a "
1329
+ "difference on market."
1330
+ msgstr ""
1331
+
1332
+ #: templates/admin/premium.php:894
1333
+ msgid "Vendors menu"
1334
+ msgstr ""
1335
+
1336
+ #: templates/admin/premium.php:897
1337
+ msgid ""
1338
+ "Each vendor can be managed by menu field in order to create the list of all "
1339
+ "vendors of the shop and include it, for example, within the main navigation "
1340
+ "of your site"
1341
+ msgstr ""
1342
+
1343
+ #: templates/admin/premium.php:913
1344
+ msgid "Google API Key"
1345
+ msgstr "Clave API de Google"
1346
+
1347
+ #: templates/admin/premium.php:916
1348
+ msgid ""
1349
+ "Does your site generate a huge amount of traffic that interferes with Google "
1350
+ "Maps services? Register a Google account and insert the required API KEY so "
1351
+ "that you could work around, for example, the limitation of the number of "
1352
+ "permitted visits for the maps integrated on your site"
1353
+ msgstr ""
1354
+
1355
+ #: templates/admin/premium.php:926
1356
+ msgid "Massive assignment "
1357
+ msgstr ""
1358
+
1359
+ #: templates/admin/premium.php:929
1360
+ msgid ""
1361
+ "Time is money! Don’t waste it! No more repeated actions to assign more "
1362
+ "products to the same vendor. From now on you can optimize your time thanks "
1363
+ "to the massive assignment allowed by the plugin with just one click."
1364
+ msgstr ""
1365
+
1366
+ #: templates/admin/premium.php:945
1367
+ msgid "User switch"
1368
+ msgstr ""
1369
+
1370
+ #: templates/admin/premium.php:948
1371
+ msgid ""
1372
+ "Thanks to this feature, you can access the dashboard of your site as a "
1373
+ "vendor. This allows having the same view vendors registered on your store "
1374
+ "have and verifying any notified issue "
1375
+ msgstr ""
1376
+
1377
+ #: templates/admin/premium.php:958
1378
+ msgid "Enable shipping for vendors"
1379
+ msgstr ""
1380
+
1381
+ #: templates/admin/premium.php:961
1382
+ #, php-format
1383
+ msgid ""
1384
+ "Thanks to the shipping module, you can %1$slet vendors manage shipping costs"
1385
+ "%2$s for their own products. "
1386
+ msgstr ""
1387
+
1388
+ #: templates/admin/premium.php:964
1389
+ msgid ""
1390
+ "Vendors can create shipping zones and apply the related costs directly from "
1391
+ "their dashboard."
1392
+ msgstr ""
1393
+
1394
+ #: templates/admin/premium.php:980
1395
+ msgid "Shipping Info"
1396
+ msgstr ""
1397
+
1398
+ #: templates/admin/premium.php:983
1399
+ msgid ""
1400
+ "Each vendor can insert information related to his/her shipping costs and "
1401
+ "processing that users can view on the product detail page."
1402
+ msgstr ""
1403
+
1404
+ #: templates/admin/vendor-admin.php:17
1405
+ msgid "Vendor Details"
1406
+ msgstr ""
1407
+
1408
+ #: templates/admin/vendor-admin.php:24
1409
+ msgid "Name:"
1410
+ msgstr "Nombre:"
1411
+
1412
+ #: templates/admin/vendor-admin.php:29
1413
+ msgid "Slug:"
1414
+ msgstr "Slug:"
1415
+
1416
+ #: templates/admin/vendor-admin.php:34
1417
+ msgid "PayPal email address:"
1418
+ msgstr ""
1419
+
1420
+ #: templates/admin/vendor-admin.php:39
1421
+ msgid "Description:"
1422
+ msgstr "Descripción:"
1423
+
1424
+ #: templates/admin/vendor-admin.php:45
1425
+ msgid "Commission Rate: "
1426
+ msgstr "Porcentaje de comisión:"
1427
+
1428
+ #: templates/admin/vendor-admin.php:52
1429
+ msgid "Vendor's selling status: "
1430
+ msgstr ""
1431
+
1432
+ #: templates/admin/vendor-admin.php:54
1433
+ msgid "Enabled"
1434
+ msgstr "Habilitado"
1435
+
1436
+ #: templates/admin/vendor-admin.php:54
1437
+ msgid "Disabled"
1438
+ msgstr "Deshabilitado"
1439
+
1440
+ #: templates/admin/vendor-admin.php:60
1441
+ msgid "Save Vendor Information"
1442
+ msgstr ""
1443
+
1444
+ #: templates/woocommerce/loop/vendor-name-title.php:20
1445
+ #: templates/woocommerce/single-product/vendor-name-title.php:20
1446
+ msgid "by"
1447
+ msgstr "por"
1448
+
1449
+ #~ msgctxt "part of: Commission: 19,00$ (50% on product price)"
1450
+ #~ msgid "on product price"
1451
+ #~ msgstr "en el precio del producto"
1452
+
1453
+ #~ msgid "Vendor commissions have been calculated including coupon value"
1454
+ #~ msgstr ""
1455
+ #~ "Las comisiones de los vendedores se han calculado incluyendo el valor del "
1456
+ #~ "cupón"
1457
+
1458
+ #~ msgid "Vendor commissions have been calculated excluding coupon value"
1459
+ #~ msgstr ""
1460
+ #~ "Las comisiones de los vendedores se calcularon excluyendo el valor del "
1461
+ #~ "cupón"
1462
+
1463
+ #~ msgid "on product price"
1464
+ #~ msgstr "en el precio del producto"
1465
+
1466
+ #~ msgctxt "Order note"
1467
+ #~ msgid "Sync with vendor's suborders: "
1468
+ #~ msgstr "Sincronizar con los subpedidos del vendedor: "
1469
+
1470
+ #~ msgid "Sale Commissions"
1471
+ #~ msgstr "Comisiones de venta"
1472
+
1473
+ #~ msgid "Vendor Sales"
1474
+ #~ msgstr "Ventas del vendedor"
1475
+
1476
+ #~ msgid "Registered Vendors"
1477
+ #~ msgstr "Vendedores registrados"
1478
+
1479
+ #~ msgid "Commissions by Vendor"
1480
+ #~ msgstr "Comisiones por vendedor"
1481
+
1482
+ #~ msgid "Export CSV"
1483
+ #~ msgstr "Exportar CSV"
1484
+
1485
+ #~ msgid "Year"
1486
+ #~ msgstr "Año"
1487
+
1488
+ #~ msgid "Last Month"
1489
+ #~ msgstr "Mes pasado"
1490
+
1491
+ #~ msgid "This Month"
1492
+ #~ msgstr "Este mes"
1493
+
1494
+ #~ msgid "Last 7 Days"
1495
+ #~ msgstr "Últimos 7 días"
1496
+
1497
+ #~ msgid "Search for a vendor&hellip;"
1498
+ #~ msgstr "Buscar a un vendedor&hellip;"
1499
+
1500
+ #~ msgid "Payments"
1501
+ #~ msgstr "Pagos"
1502
+
1503
+ #~ msgid "Frontpage"
1504
+ #~ msgstr "Página principal"
1505
+
1506
+ #~ msgid "Reports"
1507
+ #~ msgstr "Informes"
1508
+
1509
+ # Addons por extensiones
1510
+ #~ msgid "Add-ons"
1511
+ #~ msgstr "Extensiones"
1512
+
1513
+ #~ msgctxt "Admin menu name"
1514
+ #~ msgid "Orders"
1515
+ #~ msgstr "Pedidos"
1516
+
1517
+ #~ msgid "Front page"
1518
+ #~ msgstr "Página principal"
1519
+
1520
+ #~ msgid "Vendor settings"
1521
+ #~ msgstr "Ajustes del vendedor"
1522
+
1523
+ #~ msgid "Header image"
1524
+ #~ msgstr "Imagen de cabecera"
1525
+
1526
+ #~ msgid "Choose an image"
1527
+ #~ msgstr "Elige una imagen"
1528
+
1529
+ #~ msgid "Use image"
1530
+ #~ msgstr "Usar imagen"
1531
+
1532
+ #~ msgid "Registration date"
1533
+ #~ msgstr "Fecha de registro"
1534
+
1535
+ #~ msgid "Owner"
1536
+ #~ msgstr "Propietario"
1537
+
1538
+ #~ msgid "Enable"
1539
+ #~ msgstr "Habilitar"
1540
+
1541
+ #~ msgid "Items"
1542
+ #~ msgstr "Artículos"
1543
+
1544
+ #~ msgid "Set an owner"
1545
+ #~ msgstr "Establecer un propietario"
1546
+
1547
+ #~ msgid "Edit extra info"
1548
+ #~ msgstr "Editar información extra"
1549
+
1550
+ #~ msgid "Approve"
1551
+ #~ msgstr "Aprobar"
1552
+
1553
+ #~ msgid "Disable sales"
1554
+ #~ msgstr "Deshabilitar ventas"
1555
+
1556
+ #~ msgid "Instant Payment"
1557
+ #~ msgstr "Pago instantáneo"
1558
+
1559
+ #~ msgid "Payment threshold"
1560
+ #~ msgstr "Umbral de pago"
1561
+
1562
+ #~ msgid ""
1563
+ #~ "Are you sure? If you click \"YES\" you change skip review option for each "
1564
+ #~ "vendor"
1565
+ #~ msgstr ""
1566
+ #~ "¿Estás seguro? Si haces clic en \"SÍ\", cambias la opción de omisión de "
1567
+ #~ "valoración para cada vendedor"
1568
+
1569
+ #~ msgid ""
1570
+ #~ "If you continue, the commission will be paid automatically to the vendor "
1571
+ #~ "via PayPal. Do you want to continue?"
1572
+ #~ msgstr ""
1573
+ #~ "Si continúas, la comisión se pagará automáticamente al vendedor a través "
1574
+ #~ "de PayPal. ¿Quieres continuar?"
1575
+
1576
+ #~ msgid "Payment failed: %s"
1577
+ #~ msgstr "Pago fallido: %s"
1578
+
1579
+ #~ msgid "Product commission"
1580
+ #~ msgstr "Comisión del producto"
1581
+
1582
+ #~ msgid ""
1583
+ #~ "You can set a specific commission for a single product. Keep this field "
1584
+ #~ "blank or zero to use the vendor commission"
1585
+ #~ msgstr ""
1586
+ #~ "Puede establecer una comisión específica para un solo producto. Mantenga "
1587
+ #~ "este campo en blanco o cero para usar la comisión del vendedor"
1588
+
1589
+ #~ msgid ""
1590
+ #~ "You do not have sufficient permissions to access this page. %1$sClick "
1591
+ #~ "here to return in your dashboard%2$s."
1592
+ #~ msgstr ""
1593
+ #~ "No tienes suficientes permisos para acceder a esta página. %1$s Haz clic "
1594
+ #~ "aquí para volver al escritorio%2$s."
1595
+
1596
+ #~ msgid ""
1597
+ #~ "You are not allowed to create more than %1$s products. %2$sClick here to "
1598
+ #~ "return in your admin area%3$s."
1599
+ #~ msgstr ""
1600
+ #~ "No se te permite crear más de %1$s productos. %2$s Haz clic aquí para "
1601
+ #~ "volver a su área de administración%3$s."
1602
+
1603
+ #~ msgid ""
1604
+ #~ "You do not have permission to edit this post. %1$sClick here to view your "
1605
+ #~ "dashboard%2$s."
1606
+ #~ msgstr ""
1607
+ #~ "No tienes permisos para editar esta publicación. %1$s Haz clic aquí para "
1608
+ #~ "ver su panel%2$s."
1609
+
1610
+ #~ msgid ""
1611
+ #~ "You do not have permission to edit this coupon. %1$sClick here to view "
1612
+ #~ "and edit your coupons%2$s."
1613
+ #~ msgstr ""
1614
+ #~ "No tienes permisos para editar este cupón. %1$s Haz clic aquí para ver y "
1615
+ #~ "editar tus cupones%2$s."
1616
+
1617
+ #~ msgid ""
1618
+ #~ "You do not have permission to edit this order. %1$sClick here to view "
1619
+ #~ "your orders%2$s."
1620
+ #~ msgstr ""
1621
+ #~ "No tienes permisos para editar este pedido. %1$s Haz clic aquí para ver "
1622
+ #~ "tus pedidos%2$s."
1623
+
1624
+ #~ msgid ""
1625
+ #~ "You do not have permission to edit this review. %1$sClick here to view "
1626
+ #~ "and edit your product reviews%2$s."
1627
+ #~ msgstr ""
1628
+ #~ "No tienes permisos para editar esta valoración. %1$s Haz clic aquí para "
1629
+ #~ "ver y editar las valoraciones de tus productos%2$s."
1630
+
1631
+ #~ msgid "Recent reviews"
1632
+ #~ msgstr "Valoraciones recientes"
1633
+
1634
+ #~ msgid "Recent comments"
1635
+ #~ msgstr "Comentarios recientes"
1636
+
1637
+ #~ msgid "out of 5"
1638
+ #~ msgstr "de 5"
1639
+
1640
+ #~ msgid "reviewed by"
1641
+ #~ msgstr "valorado por"
1642
+
1643
+ #~ msgid "There are no product reviews yet."
1644
+ #~ msgstr "No hay valoraciones del producto todavía."
1645
+
1646
+ #~ msgctxt "Order details: Product sold by"
1647
+ #~ msgid "Sold by"
1648
+ #~ msgstr "Vendido por"
1649
+
1650
+ #~ msgid "Warning"
1651
+ #~ msgstr "Advertencia"
1652
+
1653
+ #~ msgid ""
1654
+ #~ "vendor shops have no owner set. Please, set an owner for each vendor shop "
1655
+ #~ "in order to enable them"
1656
+ #~ msgstr ""
1657
+ #~ "las tiendas de vendedores no tienen ningún propietario establecido. Por "
1658
+ #~ "favor, establece un propietario para cada tienda de vendedores con el fin "
1659
+ #~ "de habilitarlos"
1660
+
1661
+ #~ msgid "Go to Vendor page to fix it."
1662
+ #~ msgstr "Ve a la página Vendedor para arreglarlo."
1663
+
1664
+ #~ msgctxt "part of: vendor shops have no VAT/SSN set"
1665
+ #~ msgid "vendor shops have no"
1666
+ #~ msgstr "las tiendas del vendedor no tienen"
1667
+
1668
+ # cambiado de establecer a definido, forma correcta en el contexto “las tiendas del vendedor no tienen un VAT/SSN xxx”, o sea, “definido”, o establecido
1669
+ #~ msgctxt "part of: vendor shops have no VAT/SSN set"
1670
+ #~ msgid "set"
1671
+ #~ msgstr "definido"
1672
+
1673
+ #~ msgctxt "part of: Please, set VAT/SSN field for each vendor shop"
1674
+ #~ msgid "Please, set"
1675
+ #~ msgstr "Por favor, establece"
1676
+
1677
+ #~ msgctxt "part of: Please, set VAT/SSN field for each vendor shop"
1678
+ #~ msgid "field for each vendor shop"
1679
+ #~ msgstr "campo para cada tienda del vendedor"
1680
+
1681
+ #~ msgid "Warning: "
1682
+ #~ msgstr "Advertencia: "
1683
+
1684
+ #~ msgctxt ""
1685
+ #~ "part of: Please, set the VAT/SSN field to complete your profile in "
1686
+ #~ "\"Vendor profile\""
1687
+ #~ msgid "Please, set the"
1688
+ #~ msgstr "Por favor, establece el"
1689
+
1690
+ #~ msgctxt ""
1691
+ #~ "part of: Please, set the VAT/SSN field to complete your profile in "
1692
+ #~ "\"Vendor profile\""
1693
+ #~ msgid "field to complete your profile in \"Vendor profile\""
1694
+ #~ msgstr "campo para completar tu perfil en ''Perfil del vendedor''"
1695
+
1696
+ #~ msgid ""
1697
+ #~ "Please, set the VAT/SSN field to complete your profile in \"Vendor profile"
1698
+ #~ "\""
1699
+ #~ msgstr ""
1700
+ #~ "Por favor, establece el campo IVA para completar tu perfil en \"Perfil "
1701
+ #~ "del vendedor\""
1702
+
1703
+ #~ msgid "Go to Vendor details page to fix it."
1704
+ #~ msgstr "Ve a la página de detalles del Vendedor para arreglarlo."
1705
+
1706
+ #~ msgid "Become a vendor"
1707
+ #~ msgstr "Convertirse en vendedor"
1708
+
1709
+ # quitada capitalización de Condiciones
1710
+ #~ msgid "Terms and Conditions for Vendors"
1711
+ #~ msgstr "Términos y condiciones para los Vendedores"
1712
+
1713
+ #~ msgctxt "Taxonomy Description"
1714
+ #~ msgid "Description"
1715
+ #~ msgstr "Descripción"
1716
+
1717
+ # cambiado prominente por visible, que es a lo que se refiere
1718
+ #~ msgid ""
1719
+ #~ "The description is not prominent by default; however, some themes may "
1720
+ #~ "show it."
1721
+ #~ msgstr ""
1722
+ #~ "La descripción no es visible por defecto; Sin embargo, algunos temas "
1723
+ #~ "pueden mostrarlo."
1724
+
1725
+ # Traducido
1726
+ #~ msgid "Cheatin&#8217; uh?"
1727
+ #~ msgstr "¿Haciendo trampas?"
1728
+
1729
+ # siempre usamos el generico permisos, y no permiso
1730
+ #~ msgid "Sorry, you are not allowed to edit comments."
1731
+ #~ msgstr "Lo siento, no tienes permisos para editar comentarios."
1732
+
1733
+ #~ msgid "Commission paid via PayPal (txn ID: %s)"
1734
+ #~ msgstr "Comisión pagada vía PayPal (txn ID: %s)"
1735
+
1736
+ #~ msgid "Payment %s"
1737
+ #~ msgstr "Pago %s"
1738
+
1739
+ #~ msgid "Abuse reported correctly."
1740
+ #~ msgstr "Abuso informado correctamente."
1741
+
1742
+ #~ msgid "All fields are mandatory."
1743
+ #~ msgstr "Todos los campos son obligatorios."
1744
+
1745
+ #~ msgid "Your request could not be processed. Please try again"
1746
+ #~ msgstr ""
1747
+ #~ "Tu solicitud puede no haber sido procesada, Por favor, inténtalo de nuevo"
1748
+
1749
+ #~ msgid "Error"
1750
+ #~ msgstr "Error"
1751
+
1752
+ #~ msgid "The First name field is mandatory"
1753
+ #~ msgstr "El campo Nombre es obligatorio"
1754
+
1755
+ #~ msgid "The Last name field is mandatory"
1756
+ #~ msgstr "El campo Apellido/s es obligatorio"
1757
+
1758
+ #~ msgid "The Store address field is mandatory"
1759
+ #~ msgstr "El campo Dirección de la tienda es obligatorio"
1760
+
1761
+ #~ msgid "The Email field is mandatory"
1762
+ #~ msgstr "El campo Correo electrónico es obligatorio"
1763
+
1764
+ #~ msgid "The Email address entered is not valid"
1765
+ #~ msgstr "El campo Dirección de correo electrónico es obligatorio"
1766
+
1767
+ #~ msgid "The PayPal Email field is mandatory"
1768
+ #~ msgstr "El campo de correo electrónico de PayPal es obligatorio"
1769
+
1770
+ #~ msgid "The PayPal Email address entered is not valid"
1771
+ #~ msgstr "La dirección de PayPal introducida no es válida"
1772
+
1773
+ #~ msgid "The Telephone field is mandatory"
1774
+ #~ msgstr "El campo Teléfono es obligatorio"
1775
+
1776
+ #~ msgctxt "[frontend]: part of sentence. e.g.: The VAT/SSN field is mandatory"
1777
+ #~ msgid "The"
1778
+ #~ msgstr "El"
1779
+
1780
+ #~ msgctxt "[frontend]: part of sentence. e.g.: The VAT/SSN field is mandatory"
1781
+ #~ msgid "field is mandatory"
1782
+ #~ msgstr "campo es obligatorio"
1783
+
1784
+ #~ msgid "Insert the vendor name"
1785
+ #~ msgstr "Inserta el nombre del vendedor"
1786
+
1787
+ #~ msgid "A vendor with this name already exists"
1788
+ #~ msgstr "Ya existe un vendedor con este nombre"
1789
+
1790
+ #~ msgid "Please, read and accept the terms & conditions"
1791
+ #~ msgstr "Por favor, lee y acepta los términos y condiciones"
1792
+
1793
+ # cambiado haga a hagas (informal)
1794
+ #~ msgid "Please, no spam here"
1795
+ #~ msgstr "Por favor, no hagas spam aquí"
1796
+
1797
+ #~ msgid "Report"
1798
+ #~ msgstr "Informe"
1799
+
1800
+ #~ msgid "User %s (%s) is reporting an abuse on the following product: \n"
1801
+ #~ msgstr ""
1802
+ #~ "El usuario %s (%s) esta informando de un abuso en el siguiente "
1803
+ #~ "producto: \n"
1804
+
1805
+ #~ msgid "Product details: %s (ID: #%s) \n"
1806
+ #~ msgstr "Detalles del producto: %s (ID: #%s) \n"
1807
+
1808
+ #~ msgid "Vendor shop: %s (ID: #%s) \n"
1809
+ #~ msgstr "Tienda del vendedor: %s (ID: #%s) \n"
1810
+
1811
+ #~ msgid "Message: %s\n"
1812
+ #~ msgstr "Mensaje: %s\n"
1813
+
1814
+ #~ msgid "Product page: %s\n"
1815
+ #~ msgstr "Página del producto: %s\n"
1816
+
1817
+ #~ msgid "Vendor Account details: %s \n"
1818
+ #~ msgstr "Detalles de la cuenta del vendedor: %s\n"
1819
+
1820
+ #~ msgid "Item sold"
1821
+ #~ msgstr "Artículo vendido"
1822
+
1823
+ #~ msgctxt "Cart details: Product sold by"
1824
+ #~ msgid "Sold by"
1825
+ #~ msgstr "Vendido por"
1826
+
1827
+ #~ msgctxt "[Single Product Page]: Tab name for shipping information"
1828
+ #~ msgid "Shipping Info"
1829
+ #~ msgstr "Información del envío"
1830
+
1831
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1832
+ #~ msgid "Processing Time"
1833
+ #~ msgstr "Tiempo de procesamiento"
1834
+
1835
+ #~ msgctxt "[part of]: Ready to ship in x business day"
1836
+ #~ msgid "Ready to ship in"
1837
+ #~ msgstr "Listo para enviar en"
1838
+
1839
+ #~ msgctxt "[part of]: Ready to ship in x business day From Italy"
1840
+ #~ msgid "from"
1841
+ #~ msgstr "desde"
1842
+
1843
+ #~ msgctxt "[part of]: Shipping from Italy"
1844
+ #~ msgid "Shipping from"
1845
+ #~ msgstr "Envío desde"
1846
+
1847
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1848
+ #~ msgid "Shipping policy"
1849
+ #~ msgstr "Política de envío"
1850
+
1851
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1852
+ #~ msgid "Refund policy"
1853
+ #~ msgstr "Política de reembolso"
1854
+
1855
+ #~ msgid "Facebook"
1856
+ #~ msgstr "Facebook"
1857
+
1858
+ #~ msgid "Twitter"
1859
+ #~ msgstr "Twitter"
1860
+
1861
+ #~ msgid "Google+"
1862
+ #~ msgstr "Google+"
1863
+
1864
+ #~ msgid "Linkedin"
1865
+ #~ msgstr "Linkedin"
1866
+
1867
+ #~ msgid "Youtube"
1868
+ #~ msgstr "Youtube"
1869
+
1870
+ #~ msgid "Vimeo"
1871
+ #~ msgstr "Vimeo"
1872
+
1873
+ #~ msgid "Instagram"
1874
+ #~ msgstr "Instagram"
1875
+
1876
+ #~ msgid "Pinterest"
1877
+ #~ msgstr "Pinterest"
1878
+
1879
+ #~ msgid "Flickr"
1880
+ #~ msgstr "Flickr"
1881
+
1882
+ #~ msgid "Behance"
1883
+ #~ msgstr "Behance"
1884
+
1885
+ #~ msgid "Tripadvisor "
1886
+ #~ msgstr "Tripadvisor "
1887
+
1888
+ #~ msgid "YITH Live Chat"
1889
+ #~ msgstr "YITH Live Chat"
1890
+
1891
+ #~ msgctxt "option description"
1892
+ #~ msgid "Use this value to show live chat button"
1893
+ #~ msgstr "Utiliza este valor para mostrar el botón de chat en directo"
1894
+
1895
+ #~ msgid "Cancelled order (to vendor)"
1896
+ #~ msgstr "Pedido cancelado (al vendedor)"
1897
+
1898
+ #~ msgid ""
1899
+ #~ "Cancelled order emails are sent when orders have been marked as cancelled "
1900
+ #~ "(if they were previously set as pending or on-hold)."
1901
+ #~ msgstr ""
1902
+ #~ "Los correos de pedido cancelados se envían cuando los pedidos se han "
1903
+ #~ "marcado como cancelados (si previamente se habían configurado como "
1904
+ #~ "pendientes o en espera)."
1905
+
1906
+ #~ msgid "Cancelled order"
1907
+ #~ msgstr "Pedido cancelado"
1908
+
1909
+ #~ msgid "[{site_title}] Cancelled order ({order_number})"
1910
+ #~ msgstr "[{site_title}] Pedido cancelado ({order_number})"
1911
+
1912
+ #~ msgid "Enable/Disable"
1913
+ #~ msgstr "Activar/Desactivar"
1914
+
1915
+ #~ msgid "Enable this email notification"
1916
+ #~ msgstr "Activar esta notificación de correo electrónico"
1917
+
1918
+ #~ msgid "Subject"
1919
+ #~ msgstr "Asunto"
1920
+
1921
+ #~ msgid ""
1922
+ #~ "This controls the email subject line. Leave blank to use the default "
1923
+ #~ "subject: <code>%s</code>."
1924
+ #~ msgstr ""
1925
+ #~ "Esto controla la línea de asunto del correo electrónico. Deje en blanco "
1926
+ #~ "para usar el asunto predeterminado: <code>% s </code>."
1927
+
1928
+ #~ msgid "Email Heading"
1929
+ #~ msgstr "Encabezado del correo electrónico"
1930
+
1931
+ #~ msgid ""
1932
+ #~ "This controls the main heading contained within the email notification. "
1933
+ #~ "Leave blank to use the default heading: <code>%s</code>."
1934
+ #~ msgstr ""
1935
+ #~ "Esto controla el encabezado principal contenido en la notificación por "
1936
+ #~ "correo electrónico. Deja en blanco para usar el encabezado "
1937
+ #~ "predeterminado: <code>% s </code>."
1938
+
1939
+ #~ msgid "Email type"
1940
+ #~ msgstr "Tipo de correo electrónico"
1941
+
1942
+ #~ msgid "Choose email format."
1943
+ #~ msgstr "Elige el formato de correo electrónico."
1944
+
1945
+ #~ msgid "Order id"
1946
+ #~ msgstr "Id del pedido"
1947
+
1948
+ #~ msgid "Show parent order id instead of vendor suborder id"
1949
+ #~ msgstr ""
1950
+ #~ "Muestra el id del pedido padre en lugar del id del subpedido del vendedor"
1951
+
1952
+ #~ msgid "Commission paid (for Admin)"
1953
+ #~ msgstr "Comisión pagada (para el Admin)"
1954
+
1955
+ #~ msgid "New commissions are credited to vendor"
1956
+ #~ msgstr "Las nuevas comisiones se acreditan al vendedor"
1957
+
1958
+ #~ msgid "Commission paid"
1959
+ #~ msgstr "Comisión pagada"
1960
+
1961
+ #~ msgid "[{site_title}] - Commission paid"
1962
+ #~ msgstr "[{site_title}] - Comisión pagada"
1963
+
1964
+ #~ msgid "Recipient(s)"
1965
+ #~ msgstr "Destinatario(s)"
1966
+
1967
+ #~ msgid ""
1968
+ #~ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
1969
+ #~ "code>."
1970
+ #~ msgstr ""
1971
+ #~ "Ingrese los destinatarios (separados por coma) para este correo "
1972
+ #~ "electrónico. Por defecto a <code>%s</code>."
1973
+
1974
+ #~ msgid ""
1975
+ #~ "This controls the email subject line. Leave it blank to use the default "
1976
+ #~ "subject: <code>%s</code>."
1977
+ #~ msgstr ""
1978
+ #~ "Esto controla la línea de asunto del correo electrónico. Deja en blanco "
1979
+ #~ "para usar el asunto predeterminado: <code>% s </code>."
1980
+
1981
+ #~ msgid ""
1982
+ #~ "This controls the main heading contained in the email notification. Leave "
1983
+ #~ "it blank to use the default heading: <code>%s</code>."
1984
+ #~ msgstr ""
1985
+ #~ "Esto controla el encabezado principal contenido en la notificación por "
1986
+ #~ "correo electrónico. Deja en blanco para usar el encabezado "
1987
+ #~ "predeterminado: <code>% s </code>."
1988
+
1989
+ #~ msgid "Choose format for emails that will be sent."
1990
+ #~ msgstr "Elige el formato para los correos electrónicos que serán enviados."
1991
+
1992
+ #~ msgid "Commissions unpaid"
1993
+ #~ msgstr "Comisiones sin pagar"
1994
+
1995
+ #~ msgid "New commissions are credited to vendors"
1996
+ #~ msgstr "Las nuevas comisiones se acreditan a los vendedores"
1997
+
1998
+ #~ msgid "[{site_title}] - Commissions unpaid"
1999
+ #~ msgstr "[{site_title}] - Comisiones sin pagar"
2000
+
2001
+ #~ msgid "New order (to vendor)"
2002
+ #~ msgstr "Nuevo pedido (al vendedor)"
2003
+
2004
+ #~ msgid "New order emails are sent to vendor(s) when an order is received."
2005
+ #~ msgstr ""
2006
+ #~ "Los nuevos correos electrónicos del pedido se envían al vendedor(es) "
2007
+ #~ "cuando se recibe un pedido."
2008
+
2009
+ #~ msgid "New customer order"
2010
+ #~ msgstr "Nuevo pedido de cliente"
2011
+
2012
+ #~ msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
2013
+ #~ msgstr ""
2014
+ #~ "[{site_title}] Nuevo pedido de clienter ({order_number}) - {order_date}"
2015
+
2016
+ #~ msgid "New Vendor Registration"
2017
+ #~ msgstr "Nuevo registro de vendedor"
2018
+
2019
+ #~ msgid "New Vendor has requested to access to your store"
2020
+ #~ msgstr "Un nuevo vendedor ha solicitado acceder a tu tienda"
2021
+
2022
+ #~ msgid "[{site_title}] - New Vendor Registration"
2023
+ #~ msgstr "[{site_title}] - Nuevo registro de vendedor"
2024
+
2025
+ #~ msgid "Enable notification for this email"
2026
+ #~ msgstr "Habilitar notificación para este correo electrónico"
2027
+
2028
+ #~ msgid "Choose format for the email that will be sent."
2029
+ #~ msgstr "Elige el formato para el correo electrónico que se enviará."
2030
+
2031
+ #~ msgid "Commission paid (for Vendor)"
2032
+ #~ msgstr "Comisión pagada (para el vendedor)"
2033
+
2034
+ #~ msgid "New commissions have been credited to vendor"
2035
+ #~ msgstr "Las nuevas comisiones se han acreditado al vendedor"
2036
+
2037
+ #~ msgid "Vendor's Commission paid"
2038
+ #~ msgstr "Comisión del vendedor pagada"
2039
+
2040
+ #~ msgid ""
2041
+ #~ "Emails are sent to the vendor as soon as the admin approves his/her "
2042
+ #~ "account"
2043
+ #~ msgstr ""
2044
+ #~ "Los correos electrónicos se envían al vendedor tan pronto como el "
2045
+ #~ "administrador apruebe su cuenta"
2046
+
2047
+ #~ msgid "Your vendor account on the website {site_title} has been approved."
2048
+ #~ msgstr ""
2049
+ #~ "Tu cuenta de vendedor en el sitio web {site_title} ha sido aprobada."
2050
+
2051
+ #~ msgid "Welcome to {site_title}"
2052
+ #~ msgstr "Bienvenido a {site_title}"
2053
+
2054
+ #~ msgid "Missing required parameters for PayPal configuration"
2055
+ #~ msgstr "Faltan los parámetros necesarios para la configuración de PayPal"
2056
+
2057
+ #~ msgid "Payment sent"
2058
+ #~ msgstr "Pago enviado"
2059
+
2060
+ #~ msgid "Oldest unpaid commission"
2061
+ #~ msgstr "Comisión sin pagar más antigua"
2062
+
2063
+ #~ msgid "Sold products"
2064
+ #~ msgstr "Productos vendidos"
2065
+
2066
+ #~ msgid "Pay"
2067
+ #~ msgstr "Pagar"
2068
+
2069
+ #~ msgid "Payment Request"
2070
+ #~ msgstr "Solicitud de pago"
2071
+
2072
+ #~ msgid "Change to"
2073
+ #~ msgstr "Cambiar a"
2074
+
2075
+ #~ msgid "All"
2076
+ #~ msgstr "Todo"
2077
+
2078
+ #~ msgid "Ship to"
2079
+ #~ msgstr "Envíar a"
2080
+
2081
+ #~ msgid "Search for a product&hellip;"
2082
+ #~ msgstr "Buscar un producto&hellip;"
2083
+
2084
+ #~ msgid "Filter"
2085
+ #~ msgstr "Filtrar"
2086
+
2087
+ #~ msgid "Reset"
2088
+ #~ msgstr "Restablecer"
2089
+
2090
+ #~ msgid "Change status to"
2091
+ #~ msgstr "Cambiar estado a"
2092
+
2093
+ #~ msgid "Via"
2094
+ #~ msgstr "Vía"
2095
+
2096
+ #~ msgid "Order status:"
2097
+ #~ msgstr "Estado del pedido:"
2098
+
2099
+ #~ msgctxt "Order status"
2100
+ #~ msgid "Trashed"
2101
+ #~ msgstr "Destruido"
2102
+
2103
+ #~ msgid "You do not have permission to edit this post"
2104
+ #~ msgstr "No tienes permisos para editar esta publicación"
2105
+
2106
+ #~ msgid "Coming Soon"
2107
+ #~ msgstr "Próximamente"
2108
+
2109
+ #~ msgid "New"
2110
+ #~ msgstr "Nuevo"
2111
+
2112
+ #~ msgctxt "Admin: means needs YITH xxx plugin to works"
2113
+ #~ msgid "Needs"
2114
+ #~ msgstr "Necesita"
2115
+
2116
+ #~ msgctxt "Admin: means needs YITH xxx plugin to works"
2117
+ #~ msgid "plugin"
2118
+ #~ msgstr "plugin"
2119
+
2120
+ #~ msgctxt "means: plugin version"
2121
+ #~ msgid "version"
2122
+ #~ msgstr "versión"
2123
+
2124
+ #~ msgctxt "means: min version xxx or greater"
2125
+ #~ msgid "or greater"
2126
+ #~ msgstr "o mayor"
2127
+
2128
+ #~ msgid "YIT Plugins"
2129
+ #~ msgstr "YITH Plugins"
2130
+
2131
+ #~ msgid ""
2132
+ #~ "If you enable this option, vendors will be able to manage order tracking"
2133
+ #~ msgstr ""
2134
+ #~ "Si habilitas esta opción, los vendedores podrán administrar el "
2135
+ #~ "seguimiento de pedidos"
2136
+
2137
+ #~ msgid ""
2138
+ #~ "If you enable this option, vendors will be able to create and manage "
2139
+ #~ "Subscription products"
2140
+ #~ msgstr ""
2141
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar los "
2142
+ #~ "productos de tipo Subscription"
2143
+
2144
+ #~ msgid ""
2145
+ #~ "If you enable this option, vendors will be able to create and manage name "
2146
+ #~ "your price products"
2147
+ #~ msgstr ""
2148
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar "
2149
+ #~ "productos tipo Name Your Price"
2150
+
2151
+ #~ msgid ""
2152
+ #~ "If you enable this option, vendors will be able to add product size "
2153
+ #~ "charts for their own products"
2154
+ #~ msgstr ""
2155
+ #~ "Si habilitas esta opción, los vendedores podrán agregar gráficos de "
2156
+ #~ "tamaño de producto para sus propios productos"
2157
+
2158
+ #~ msgid ""
2159
+ #~ "If you enable this option, vendors will be able to create and manage "
2160
+ #~ "memberships for their own customers"
2161
+ #~ msgstr ""
2162
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar "
2163
+ #~ "afiliaciones para sus propios clientes"
2164
+
2165
+ #~ msgid ""
2166
+ #~ "If you enable this option, each vendor will be able to chat with their "
2167
+ #~ "customers directly"
2168
+ #~ msgstr ""
2169
+ #~ "Si habilitas esta opción, cada vendedor podrá chatear con sus clientes "
2170
+ #~ "directamente"
2171
+
2172
+ #~ msgid ""
2173
+ #~ "If you enable this option, each vendor will be able to manage their "
2174
+ #~ "waiting lists and send mail to their customers."
2175
+ #~ msgstr ""
2176
+ #~ "Si habilitas esta opción, cada vendedor podrá administrar sus listas de "
2177
+ #~ "espera y enviar correos electrónicos a sus clientes."
2178
+
2179
+ #~ msgid ""
2180
+ #~ "If you enable this option, vendors will be able to create and manage "
2181
+ #~ "surveys for their own customers"
2182
+ #~ msgstr ""
2183
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar "
2184
+ #~ "encuestas para sus clientes"
2185
+
2186
+ #~ msgid ""
2187
+ #~ "If you enable this option, vendors will be able to create and manage "
2188
+ #~ "badges for their own products"
2189
+ #~ msgstr ""
2190
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar "
2191
+ #~ "insignias para sus productos"
2192
+
2193
+ #~ msgid ""
2194
+ #~ "If you enable this option, vendors will be able to create and manage "
2195
+ #~ "discounts for their own customers"
2196
+ #~ msgstr ""
2197
+ #~ "Si habilitas esta opción, los vendedores podrán crear y administrar "
2198
+ #~ "descuentos para sus clientes"
2199
+
2200
+ #~ msgid ""
2201
+ #~ "If you enable this option, vendors will be able to create custom coupon "
2202
+ #~ "and send it by email for their own customers"
2203
+ #~ msgstr ""
2204
+ #~ "Si habilitas esta opción, los vendedores podrán crear cupones "
2205
+ #~ "personalizados y enviarlos por correo electrónico a sus clientes"
2206
+
2207
+ #~ msgid ""
2208
+ #~ "If you enable this option, vendors will be able to create invoice for "
2209
+ #~ "their order. This feature require that vendor are able to manage their "
2210
+ #~ "order individually"
2211
+ #~ msgstr ""
2212
+ #~ "Si habilitas esta opción, los vendedores podrán crear facturas para sus "
2213
+ #~ "pedidos. Esta característica requiere que el vendedor pueda administrar "
2214
+ #~ "sus pedidos individualmente"
2215
+
2216
+ #~ msgid ""
2217
+ #~ "If you enable this option, vendors will be able to receive and manage "
2218
+ #~ "their order quote. This feature require that vendor are able to manage "
2219
+ #~ "their order individually"
2220
+ #~ msgstr ""
2221
+ #~ "Si habilitas esta opción, los vendedores podrán recibir y administrar sus "
2222
+ #~ "presupuestos de pedidos. Esta característica requiere que el vendedor "
2223
+ #~ "pueda administrar sus pedidos individualmente"
2224
+
2225
+ #~ msgid ""
2226
+ #~ "If you enable this option, vendors will be able to manage the selling of "
2227
+ #~ "their products."
2228
+ #~ msgstr ""
2229
+ #~ "Si habilitas esta opción, los vendedores podrán la venta de sus productos."
2230
+
2231
+ #~ msgid ""
2232
+ #~ "If you enable this option, vendors will be able to create custom price "
2233
+ #~ "rules for their own products."
2234
+ #~ msgstr ""
2235
+ #~ "Si habilitas esta opción, los vendedores podrán crear reglas de precio "
2236
+ #~ "personalizadas para sus productos."
2237
+
2238
+ #~ msgid ""
2239
+ #~ "If you enable this option, vendors will be able to create advanced "
2240
+ #~ "product options for their products."
2241
+ #~ msgstr ""
2242
+ #~ "Si habilitas esta opción, los vendedores podrán crear opciones avanzadas "
2243
+ #~ "de producto para sus productos."
2244
+
2245
+ #~ msgid ""
2246
+ #~ "If you enable this option, vendors will be able to access to bulk product "
2247
+ #~ "editing for their products."
2248
+ #~ msgstr ""
2249
+ #~ "Si habilitas esta opción, los vendedores podrán acceder a la edición de "
2250
+ #~ "productos en lote para sus productos."
2251
+
2252
+ #~ msgid "Vendors can create bundle products"
2253
+ #~ msgstr "Los vendedores pueden crear productos de paquete"
2254
+
2255
+ #~ msgid "Vendors can add a label on their products with their energy class"
2256
+ #~ msgstr ""
2257
+ #~ "Los vendedores pueden añadir una etiqueta a sus productos con su clase de "
2258
+ #~ "energía"
2259
+
2260
+ #~ msgid ""
2261
+ #~ "The vendor commissions are paid automatically by Adaptive Payments system"
2262
+ #~ msgstr ""
2263
+ #~ "Las comisiones de los vendedores son pagadas automáticamente por el "
2264
+ #~ "sistema Adaptive Payments"
2265
+
2266
+ # Traducido booking products
2267
+ #~ msgid "Vendors can create booking products"
2268
+ #~ msgstr "Los vendedores pueden crear productos que sean reservas"
2269
+
2270
+ #~ msgid "Coupon Data"
2271
+ #~ msgstr "Datos del cupón"
2272
+
2273
+ #~ msgid "General"
2274
+ #~ msgstr "General"
2275
+
2276
+ #~ msgid "Usage Restriction"
2277
+ #~ msgstr "Restricción de uso"
2278
+
2279
+ #~ msgid "Usage Limits"
2280
+ #~ msgstr "Límite de uso"
2281
+
2282
+ #~ msgid "Discount type"
2283
+ #~ msgstr "Tipo de descuento"
2284
+
2285
+ #~ msgid "Coupon amount"
2286
+ #~ msgstr "Importe del cupón"
2287
+
2288
+ #~ msgid "Value of the coupon."
2289
+ #~ msgstr "Valor del cupón."
2290
+
2291
+ #~ msgid "Coupon expiry date"
2292
+ #~ msgstr "Fecha de caducidad del cupón"
2293
+
2294
+ #~ msgctxt "placeholder"
2295
+ #~ msgid "YYYY-MM-DD"
2296
+ #~ msgstr "DD-MM-AA"
2297
+
2298
+ #~ msgid "Minimum spend"
2299
+ #~ msgstr "Gasto mínimo"
2300
+
2301
+ #~ msgid "No minimum"
2302
+ #~ msgstr "No hay mínimo"
2303
+
2304
+ #~ msgid ""
2305
+ #~ "This field allows you to set the minimum subtotal needed to use the "
2306
+ #~ "coupon."
2307
+ #~ msgstr ""
2308
+ #~ "Este campo te permite establecer el subtotal mínimo necesario para usar "
2309
+ #~ "el cupón."
2310
+
2311
+ #~ msgid "Maximum spend"
2312
+ #~ msgstr "Gasto máximo"
2313
+
2314
+ #~ msgid "No maximum"
2315
+ #~ msgstr "No hay máximo"
2316
+
2317
+ #~ msgid ""
2318
+ #~ "This field allows you to set the maximum subtotal allowed when using the "
2319
+ #~ "coupon."
2320
+ #~ msgstr ""
2321
+ #~ "Este campo te permite establecer el subtotal máximo permitido al usar el "
2322
+ #~ "cupón."
2323
+
2324
+ #~ msgid "Individual use only"
2325
+ #~ msgstr "Uso individual solo"
2326
+
2327
+ #~ msgid ""
2328
+ #~ "Check this box if the coupon cannot be used in conjunction with other "
2329
+ #~ "coupons."
2330
+ #~ msgstr ""
2331
+ #~ "Marca esta casilla si el cupón no puede utilizarse conjuntamente con "
2332
+ #~ "otros cupones."
2333
+
2334
+ #~ msgid "Exclude sale items"
2335
+ #~ msgstr "Excluir artículos de venta"
2336
+
2337
+ #~ msgid ""
2338
+ #~ "Check this box if the coupon should not apply to items on sale. Per-item "
2339
+ #~ "coupons will only work if the item is not on sale. Per-cart coupons will "
2340
+ #~ "only work if there are no sale items in the cart."
2341
+ #~ msgstr ""
2342
+ #~ "Marca esta casilla si el cupón no debe aplicarse a artículos en venta. "
2343
+ #~ "Los cupones por artículo solo funcionarán si el artículo no está a la "
2344
+ #~ "venta. Los cupones por pedido solo funcionarán si no hay artículos de "
2345
+ #~ "venta en el carrito."
2346
+
2347
+ #~ msgid "Products"
2348
+ #~ msgstr "Productos"
2349
+
2350
+ #~ msgid ""
2351
+ #~ "Select products that must have been added to cart to use this coupon."
2352
+ #~ msgstr ""
2353
+ #~ "Seleccione los productos que deben haber sido agregados al carrito para "
2354
+ #~ "utilizar este cupón."
2355
+
2356
+ #~ msgid "Exclude products"
2357
+ #~ msgstr "Excluir productos"
2358
+
2359
+ #~ msgid "Email restrictions"
2360
+ #~ msgstr "Restricciones de correo electrónico"
2361
+
2362
+ #~ msgid "No restrictions"
2363
+ #~ msgstr "Sin restricciones"
2364
+
2365
+ #~ msgid ""
2366
+ #~ "List of allowed emails to check against the customer's billing email when "
2367
+ #~ "an order is placed. Separate email addresses with commas."
2368
+ #~ msgstr ""
2369
+ #~ "Lista de correos electrónicos permitidos para comprobar contra el correo "
2370
+ #~ "electrónico de facturación del cliente cuando se realiza un pedido. "
2371
+ #~ "Separe las direcciones de correo electrónico con comas."
2372
+
2373
+ #~ msgid "Usage limit per coupon"
2374
+ #~ msgstr "Límite de uso por cupón"
2375
+
2376
+ # ponía olimitado
2377
+ #~ msgctxt "placeholder"
2378
+ #~ msgid "Unlimited usage"
2379
+ #~ msgstr "Uso ilimitado"
2380
+
2381
+ #~ msgid "How many times this coupon can be used before it is void."
2382
+ #~ msgstr "Cuántas veces este cupón se puede utilizar antes de que sea nulo."
2383
+
2384
+ #~ msgid "Limit usage to X items"
2385
+ #~ msgstr "Limitar el uso a los artículos X"
2386
+
2387
+ #~ msgctxt "placeholder"
2388
+ #~ msgid "Apply to all qualifying items in cart"
2389
+ #~ msgstr "Aplicar a todos los artículos que califiquen en el carrito"
2390
+
2391
+ #~ msgid ""
2392
+ #~ "The maximum number of individual items this coupon can apply to when "
2393
+ #~ "using product discounts. Leave blank to apply to all qualifying items in "
2394
+ #~ "cart."
2395
+ #~ msgstr ""
2396
+ #~ "El número máximo de artículos individuales a los que puede aplicarse este "
2397
+ #~ "cupón al utilizar descuentos de productos. Deja en blanco para aplicar a "
2398
+ #~ "todos los elementos que califiquen en el carro."
2399
+
2400
+ #~ msgid "Usage limit per user"
2401
+ #~ msgstr "Límite de uso por usuario"
2402
+
2403
+ #~ msgid ""
2404
+ #~ "How many times this coupon can be used by an invidual user. Uses billing "
2405
+ #~ "email for guests, and user ID for logged in users."
2406
+ #~ msgstr ""
2407
+ #~ "Cuántas veces este cupón puede ser utilizado por un usuario individual. "
2408
+ #~ "Utiliza el correo electrónico de facturación para los invitados y el ID "
2409
+ #~ "de usuario para los usuarios registrados."
2410
+
2411
+ #~ msgid ""
2412
+ #~ "Products which need to be in the cart to use this coupon or, for "
2413
+ #~ "\"Product Discounts\", which products are discounted."
2414
+ #~ msgstr ""
2415
+ #~ "Los productos que necesitan estar en el carro para usar este cupón o, "
2416
+ #~ "para \"Descuentos de productos\", qué productos se descuentan."
2417
+
2418
+ #~ msgid ""
2419
+ #~ "Products which must not be in the cart to use this coupon or, for "
2420
+ #~ "\"Product Discounts\", which products are not discounted."
2421
+ #~ msgstr ""
2422
+ #~ "Los productos que no deben estar en el carro para usar este cupón o, para "
2423
+ #~ "\"Descuentos de productos\", qué productos no son descontados."
2424
+
2425
+ #~ msgid "Shipping"
2426
+ #~ msgstr "Envío"
2427
+
2428
+ #~ msgid "Ready to ship in..."
2429
+ #~ msgstr "Listo para enviar en..."
2430
+
2431
+ #~ msgid "1 business day"
2432
+ #~ msgstr "1 día laboral"
2433
+
2434
+ #~ msgid "1-2 business day"
2435
+ #~ msgstr "1-2 días laborales"
2436
+
2437
+ #~ msgid "1-3 business day"
2438
+ #~ msgstr "1-3 días laborales"
2439
+
2440
+ #~ msgid "3-5 business day"
2441
+ #~ msgstr "3-5 días laborales"
2442
+
2443
+ #~ msgid "1-2 weeks"
2444
+ #~ msgstr "1-2 semanas"
2445
+
2446
+ #~ msgid "2-3 weeks"
2447
+ #~ msgstr "2-3 semanas"
2448
+
2449
+ #~ msgid "3-4 weeks"
2450
+ #~ msgstr "3-4 semanas"
2451
+
2452
+ #~ msgid "4-6 weeks"
2453
+ #~ msgstr "4-6 semanas"
2454
+
2455
+ #~ msgid "6-8 weeks"
2456
+ #~ msgstr "6-8 semanas"
2457
+
2458
+ #~ msgid "Vacation"
2459
+ #~ msgstr "Vacaciones"
2460
+
2461
+ # Traducido, no es un plugin, es un ajuste de Woo
2462
+ #~ msgid "WooCommerce Cost of Goods"
2463
+ #~ msgstr "Coste de envío de WooCommerce"
2464
+
2465
+ # traducido cost of goods
2466
+ #~ msgid "Cost of goods handling"
2467
+ #~ msgstr "Gestión de costes de envío"
2468
+
2469
+ # costo de bienes por coste de envío
2470
+ #~ msgid "Include cost of goods in commission calculations"
2471
+ #~ msgstr "Incluir el coste de envío en los cálculos de comisiones"
2472
+
2473
+ #~ msgid ""
2474
+ #~ "Decide whether vendor commissions have to be calculated including cost of "
2475
+ #~ "goods value or not."
2476
+ #~ msgstr ""
2477
+ #~ "Decide si las comisiones de los vendedores deben calcularse incluyendo el "
2478
+ #~ "coste de envío\n"
2479
+ #~ " o no."
2480
+
2481
+ #~ msgid "Show Cost of goods information"
2482
+ #~ msgstr "Mostrar la información de Cost of Goods"
2483
+
2484
+ #~ msgid "Show cost of goods information in commission details page"
2485
+ #~ msgstr ""
2486
+ #~ "Mostrar la información de coste de envío en la página de detalles de la "
2487
+ #~ "comisión"
2488
+
2489
+ #~ msgctxt "part of: cost of goods included or cost of goods excluded"
2490
+ #~ msgid "cost of goods"
2491
+ #~ msgstr "coste de envío"
2492
+
2493
+ #~ msgid "%s commissions for the selected vendor"
2494
+ #~ msgstr "%s comisiones para el vendedor seleccionado"
2495
+
2496
+ #~ msgid "Showing reports for:"
2497
+ #~ msgstr "Mostrando informes de:"
2498
+
2499
+ #~ msgid "Show"
2500
+ #~ msgstr "Mostrar"
2501
+
2502
+ #~ msgid "Top Sellers"
2503
+ #~ msgstr "Los más vendidos"
2504
+
2505
+ #~ msgid "No vendors found in range"
2506
+ #~ msgstr "No se encontraron vendedores en el rango"
2507
+
2508
+ # cambiada traducción de Más ganadores (raro) a Con más ganancias en el listado
2509
+ #~ msgid "Top Earners"
2510
+ #~ msgstr "Con más ganancias"
2511
+
2512
+ #~ msgid "&larr; Choose a vendor to view stats"
2513
+ #~ msgstr "&larr; Elige a un vendedor para ver las estadísticas"
2514
+
2515
+ #~ msgid "Number of commission granted"
2516
+ #~ msgstr "Número de comisión garantizado"
2517
+
2518
+ #~ msgid "Commissions amount"
2519
+ #~ msgstr "Cantidad de comisiones"
2520
+
2521
+ #~ msgid "%s commission amount"
2522
+ #~ msgstr "%s cantidad de comisiones"
2523
+
2524
+ #~ msgid "This is the sum of commission totals."
2525
+ #~ msgstr "Esta es la suma total de las comisiones."
2526
+
2527
+ #~ msgid "%s paid commissions"
2528
+ #~ msgstr "%s comisiones pagadas"
2529
+
2530
+ #~ msgid "This is the sum of paid commission totals."
2531
+ #~ msgstr "Esta es la suma total de comisiones pagadas."
2532
+
2533
+ #~ msgid "%s unpaid commissions"
2534
+ #~ msgstr "%s de comisiones sin pagar"
2535
+
2536
+ #~ msgid "This is the sum of unpaid commission totals."
2537
+ #~ msgstr "Esta es la suma total de comisiones sin pagar."
2538
+
2539
+ #~ msgid "%s processing commissions"
2540
+ #~ msgstr "%s de procesamiento de comisiones"
2541
+
2542
+ #~ msgid "This is the sum of processing commission totals."
2543
+ #~ msgstr "Esta es la suma total de procesamiento de comisiones."
2544
+
2545
+ #~ msgid "%s pending commissions"
2546
+ #~ msgstr "%s de comisiones pendientes"
2547
+
2548
+ #~ msgid "This is the sum of pending commission totals."
2549
+ #~ msgstr "Esta es la suma total de comisiones pendientes."
2550
+
2551
+ #~ msgid "%s commissions"
2552
+ #~ msgstr "%s de comisiones"
2553
+
2554
+ #~ msgid "This is the sum of the commissions in this period."
2555
+ #~ msgstr "Esta es la suma de comisiones en este período."
2556
+
2557
+ #~ msgid "%s refunded commissions"
2558
+ #~ msgstr "%s de comisiones reembolsadas"
2559
+
2560
+ #~ msgid "This is the sum of refunded commission totals."
2561
+ #~ msgstr "Esta es la suma total de comsiones reembolsadas."
2562
+
2563
+ #~ msgid "%s cancelled commissions"
2564
+ #~ msgstr "%s de comisiones canceladas"
2565
+
2566
+ #~ msgid "This is the sum of cancelled commission totals."
2567
+ #~ msgstr "Esta es la suma total de comisiones canceladas."
2568
+
2569
+ #~ msgid "Commission Totals"
2570
+ #~ msgstr "Total de comisiones"
2571
+
2572
+ #~ msgid "Paid Commissions"
2573
+ #~ msgstr "Comisiones pagadas"
2574
+
2575
+ #~ msgid "Unpaid Commissions"
2576
+ #~ msgstr "Comisiones sin pagar"
2577
+
2578
+ #~ msgid "Processing Commissions"
2579
+ #~ msgstr "Procesamiento de comisiones"
2580
+
2581
+ #~ msgid "Pending Commissions"
2582
+ #~ msgstr "Comisiones pendientes"
2583
+
2584
+ # cambiado reenfundadas por reembolsadas
2585
+ #~ msgid "Refunded Commissions"
2586
+ #~ msgstr "Comisiones reembolsadas"
2587
+
2588
+ #~ msgid "Cancelled Commissions"
2589
+ #~ msgstr "Comisiones canceladas"
2590
+
2591
+ #~ msgid "%s net commissions in this period"
2592
+ #~ msgstr "%s de comisiones netas en este período"
2593
+
2594
+ #~ msgid ""
2595
+ #~ "This is the sum of the order totals after any refunds and excluding "
2596
+ #~ "shipping and taxes."
2597
+ #~ msgstr ""
2598
+ #~ "Esta es la suma total de los pedidos después de cualquier reembolso y "
2599
+ #~ "excluyendo el envío y los impuestos."
2600
+
2601
+ #~ msgid "%s orders placed"
2602
+ #~ msgstr "%s de pedidos realizados"
2603
+
2604
+ #~ msgid "%s items purchased"
2605
+ #~ msgstr "%s de artículos comprados"
2606
+
2607
+ #~ msgid "Items purchased"
2608
+ #~ msgstr "Artículos comprados"
2609
+
2610
+ # cambido cuenta por contador
2611
+ #~ msgid "Orders count"
2612
+ #~ msgstr "Contador de pedidos"
2613
+
2614
+ #~ msgid "Net sales"
2615
+ #~ msgstr "Ventas netas"
2616
+
2617
+ #~ msgid "%s registered vendors"
2618
+ #~ msgstr "%s de vendedores registrados"
2619
+
2620
+ #~ msgid "%s total "
2621
+ #~ msgstr "%s total "
2622
+
2623
+ #~ msgid "%s with selling capability"
2624
+ #~ msgstr "%s con capacidad de venta"
2625
+
2626
+ #~ msgid "%s enabled"
2627
+ #~ msgstr "%s habilitado"
2628
+
2629
+ #~ msgid "%s without selling capability"
2630
+ #~ msgstr "%s sin capacidad de venta"
2631
+
2632
+ #~ msgid "%s disabled"
2633
+ #~ msgstr "%s deshabilitado"
2634
+
2635
+ #~ msgid "Totals of registered vendors"
2636
+ #~ msgstr "Total de vendedores registrados"
2637
+
2638
+ #~ msgid "new vendors"
2639
+ #~ msgstr "nuevos vendedores"
2640
+
2641
+ # cambiado de xbilitados a activos/inactivos y quitada capitalización
2642
+ #~ msgid "Enabled Vs Disabled Vendors"
2643
+ #~ msgstr "Vendedores activos vs inactivos"
2644
+
2645
+ #~ msgid "vendors"
2646
+ #~ msgstr "vendedores"
2647
+
2648
+ #~ msgid "%s sales for the selected vendor"
2649
+ #~ msgstr "%s de ventas para el vendedor seleccionado"
2650
+
2651
+ #~ msgid "%s purchases for the selected vendor"
2652
+ #~ msgstr "%s de compras para el vendedor seleccionado"
2653
+
2654
+ #~ msgid "Number of items sold"
2655
+ #~ msgstr "Número de artículos vendidos"
2656
+
2657
+ #~ msgid "Add shipping method"
2658
+ #~ msgstr "Añadir método de envío"
2659
+
2660
+ #~ msgid "Save changes to continue adding shipping methods to this zone"
2661
+ #~ msgstr ""
2662
+ #~ "Guarda los cambios para continuar añadiendo métodos de envío a esta zona"
2663
+
2664
+ #~ msgid "No shipping methods offered to this zone."
2665
+ #~ msgstr "No se ofrecen métodos de envío a esta zona."
2666
+
2667
+ #~ msgid "Enable Shipping"
2668
+ #~ msgstr "Habilitar envío"
2669
+
2670
+ # quitada capitalización y mejorado artículo del por de
2671
+ #~ msgid "Method Title"
2672
+ #~ msgstr ""
2673
+ #~ "Título del\n"
2674
+ #~ " método"
2675
+
2676
+ #~ msgid "This controls the title which the user sees during checkout."
2677
+ #~ msgstr ""
2678
+ #~ "Esto controla el título que el usuario ve durante el proceso de pago."
2679
+
2680
+ # cambiada traducción
2681
+ #~ msgid "Per Vendor Shipping"
2682
+ #~ msgstr "Envío por parte del vendedor"
2683
+
2684
+ #~ msgid "Tax Status"
2685
+ #~ msgstr "Estado del impuesto"
2686
+
2687
+ #~ msgid "Taxable"
2688
+ #~ msgstr "Imponible"
2689
+
2690
+ #~ msgid "None"
2691
+ #~ msgstr "Ninguno"
2692
+
2693
+ #~ msgid "Quick Info"
2694
+ #~ msgstr "Información rápida"
2695
+
2696
+ #~ msgid "Do you need more information? Write to us!"
2697
+ #~ msgstr "¿Necesitas más información? ¡Escríbenos!"
2698
+
2699
+ #~ msgid "Submit"
2700
+ #~ msgstr "Enviar"
2701
+
2702
+ #~ msgid "Unable to send email. Please try again"
2703
+ #~ msgstr ""
2704
+ #~ "No se puede enviar el correo electrónico. Por favor, inténtalo de nuevo"
2705
+
2706
+ #~ msgid "Email sent successfully"
2707
+ #~ msgstr "Correo electrónico enviado con éxito"
2708
+
2709
+ #~ msgid "YITH Vendor Quick Info"
2710
+ #~ msgstr "YITH Vendor Quick Info"
2711
+
2712
+ #~ msgid ""
2713
+ #~ "Add a quick info contact form in vendor's store page and in single "
2714
+ #~ "product page"
2715
+ #~ msgstr ""
2716
+ #~ "Agrega un formulario de contacto para información rápida en la página de "
2717
+ #~ "tienda del vendedor y en la página de un solo producto"
2718
+
2719
+ #~ msgid "Description"
2720
+ #~ msgstr "Descripción"
2721
+
2722
+ # Cambio de la traducción, era rara, literal
2723
+ #~ msgid "Submit button label text"
2724
+ #~ msgstr "Texto de la etiqueta del botón Enviar"
2725
+
2726
+ # cambio de “de” por “a”
2727
+ #~ msgid "Hide from guests"
2728
+ #~ msgstr "Ocultar a los invitados"
2729
+
2730
+ #~ msgid "Show in vendor's store page"
2731
+ #~ msgstr "Mostrar en la página de tienda del vendedor"
2732
+
2733
+ #~ msgid "Show in single product page"
2734
+ #~ msgstr "Mostrar en la página de un sólo producto"
2735
+
2736
+ #~ msgid "Send a copy to website owner"
2737
+ #~ msgstr "Enviar una copia al propietario del sitio web"
2738
+
2739
+ #~ msgctxt "Placeholder like \"Name: Andrea"
2740
+ #~ msgid "Name"
2741
+ #~ msgstr "Nombre"
2742
+
2743
+ #~ msgctxt "Placeholder like \"Email: andrea@yithemes.com"
2744
+ #~ msgid "Email"
2745
+ #~ msgstr "Correo electrónico"
2746
+
2747
+ #~ msgctxt "Placeholder like \"Message: Lorem ipsume dolor sit amet"
2748
+ #~ msgid "Message"
2749
+ #~ msgstr "Mensaje"
2750
+
2751
+ # traducido el nombre de ajuste
2752
+ #~ msgid "YITH Vendor Store Location"
2753
+ #~ msgstr "YITH Ubicación de tienda del vendedor"
2754
+
2755
+ #~ msgid "Display the vendor's store location in Google Maps"
2756
+ #~ msgstr "Mostrar la ubicación del vendedor en Google Maps"
2757
+
2758
+ #~ msgid "Store Location"
2759
+ #~ msgstr "Ubicación de la tienda"
2760
+
2761
+ #~ msgid "If you have an API KEY for Google Maps, you can add it"
2762
+ #~ msgstr "Si tienes una CLAVE API para Google Maps, puedes añadirla"
2763
+
2764
+ #~ msgctxt "[admin] placeholder link"
2765
+ #~ msgid "here"
2766
+ #~ msgstr "aquí"
2767
+
2768
+ #~ msgid ""
2769
+ #~ "Don’t know what an API KEY is or how to use it? If you need further "
2770
+ #~ "information, please click"
2771
+ #~ msgstr ""
2772
+ #~ "¿No sabes qué es una CLAVE API o cómo usarla? Si necesitas más "
2773
+ #~ "información, haz clic en"
2774
+
2775
+ #~ msgid "Seller vacation"
2776
+ #~ msgstr "Vacaciones del vendedor"
2777
+
2778
+ #~ msgid "Enable seller vacation module"
2779
+ #~ msgstr "Activar el módulo de vacaciones del vendedor"
2780
+
2781
+ #~ msgid ""
2782
+ #~ "If you enable this option, each vendor will be able to close his/her shop "
2783
+ #~ "for vacation."
2784
+ #~ msgstr ""
2785
+ #~ "Si habilitas esta opción, cada vendedor podrá elegir cerrar su tienda por "
2786
+ #~ "vacaciones."
2787
+
2788
+ #~ msgid "Enable shipping module"
2789
+ #~ msgstr "Habilitar módulo de envio"
2790
+
2791
+ #~ msgid ""
2792
+ #~ "If you enable this option, each vendor will be able to set a self cost "
2793
+ #~ "for the vendor shipping method"
2794
+ #~ msgstr ""
2795
+ #~ "Si habilitas esta opción, cada vendedor podrá establecer un coste propio "
2796
+ #~ "para el método de envío"
2797
+
2798
+ #~ msgid "Live Chat"
2799
+ #~ msgstr "Chat en vivo"
2800
+
2801
+ #~ msgid "Enable live chat for vendors"
2802
+ #~ msgstr "Habilitar chat en vivo para los vendedores"
2803
+
2804
+ # Cambiado afiliación por membresía
2805
+ #~ msgid "Membership"
2806
+ #~ msgstr "Membresía"
2807
+
2808
+ #~ msgid "Enable membership for vendors"
2809
+ #~ msgstr "Habilitar la membresía de los vendedores"
2810
+
2811
+ #~ msgid "Subscription"
2812
+ #~ msgstr "Suscripción"
2813
+
2814
+ #~ msgid "Enable subscription for vendors"
2815
+ #~ msgstr "Habilitar la suscripción para los vendedores"
2816
+
2817
+ # quitada capitalización
2818
+ #~ msgid "Badge Management"
2819
+ #~ msgstr "Gestión de insignias"
2820
+
2821
+ #~ msgid "Enable badge management for vendors"
2822
+ #~ msgstr "Habilitar gestión de insignias para los vendedores"
2823
+
2824
+ #~ msgid "Product Size Charts"
2825
+ #~ msgstr "Tablas de tamaño del producto"
2826
+
2827
+ #~ msgid "Enable product size charts for vendors"
2828
+ #~ msgstr "Habilitar tablas de tamaño del producto para los vendedores"
2829
+
2830
+ # Traducido
2831
+ #~ msgid "Name Your Price"
2832
+ #~ msgstr "Pide tu precio"
2833
+
2834
+ # traducido
2835
+ #~ msgid "Enable Name Your Price for vendors"
2836
+ #~ msgstr ""
2837
+ #~ "Habilitar “pide tu precio”\n"
2838
+ #~ " para los vendedores"
2839
+
2840
+ # cambiado “ratreo” por seguimiento de pedidos
2841
+ #~ msgid "Order Tracking"
2842
+ #~ msgstr "Seguimiento de pedidos"
2843
+
2844
+ #~ msgid "Enable Order Tracking for vendors"
2845
+ #~ msgstr "Habilitar seguimiento de pedidos para los vendedores"
2846
+
2847
+ #~ msgid "Waiting List"
2848
+ #~ msgstr "Lista de espera"
2849
+
2850
+ # quitada capitalización en Lista
2851
+ #~ msgid "Enable Waiting List for vendors"
2852
+ #~ msgstr "Habilitar lista de espera para los vendedores"
2853
+
2854
+ #~ msgid "Surveys"
2855
+ #~ msgstr "Encuestas"
2856
+
2857
+ #~ msgid "Enable surveys for vendors"
2858
+ #~ msgstr "Habilitar encuestas para los vendedores"
2859
+
2860
+ # traducido
2861
+ #~ msgid "Review For Discounts"
2862
+ #~ msgstr ""
2863
+ #~ "Valora para conseguir\n"
2864
+ #~ " descuentos"
2865
+
2866
+ # traducido
2867
+ #~ msgid "Enable Review for Discounts for vendors"
2868
+ #~ msgstr "Habilitar “valora para conseguir descuentos” para los vendedores"
2869
+
2870
+ # cambiado orden de la frase
2871
+ #~ msgid "Coupon Email System"
2872
+ #~ msgstr "Sistema de cupones por correo electrónico"
2873
+
2874
+ # cambiado orden de la frase
2875
+ #~ msgid "Coupon Email System for vendors"
2876
+ #~ msgstr "Sistema de cupones por correo electrónico para los vendedores"
2877
+
2878
+ #~ msgid "You can manage this features here"
2879
+ #~ msgstr "Puedes administrar esta característica aquí"
2880
+
2881
+ # quitada capitalización y cambiado de por del
2882
+ #~ msgid "Vendor Settings"
2883
+ #~ msgstr "Ajustes del vendedor"
2884
+
2885
+ #~ msgid "PDF Invoice"
2886
+ #~ msgstr "Factura PDF"
2887
+
2888
+ #~ msgid "Enable PDF Invoice for vendors"
2889
+ #~ msgstr "Habilitar factura PDF para vendedores"
2890
+
2891
+ #~ msgid "Request a quote"
2892
+ #~ msgstr "Pedir un presupuesto"
2893
+
2894
+ #~ msgid "Enable Request a quote for vendors"
2895
+ #~ msgstr ""
2896
+ #~ "Habilitar “pedir\n"
2897
+ #~ " un presupuesto” para vendedores"
2898
+
2899
+ # traducido
2900
+ #~ msgid "Catalog Mode"
2901
+ #~ msgstr "Modo catálogo"
2902
+
2903
+ # traducido
2904
+ #~ msgid "Enable Catalog Mode for vendors"
2905
+ #~ msgstr "Habilitar el modo catálogo para los vendedores"
2906
+
2907
+ # traducido
2908
+ #~ msgid "Role Based Prices"
2909
+ #~ msgstr "Precios basados en perfiles"
2910
+
2911
+ # traducido
2912
+ #~ msgid "Enable Role Based Prices for vendors"
2913
+ #~ msgstr "Habilitar precios basados en perfiles para los vendedores"
2914
+
2915
+ # traducidos
2916
+ #~ msgid "Product Add-ons"
2917
+ #~ msgstr "Añadidos de productos"
2918
+
2919
+ # traducido
2920
+ #~ msgid "Enable Product Add-ons Options for vendors"
2921
+ #~ msgstr "Habilitar añadidos de productos para los vendedores"
2922
+
2923
+ # traducido
2924
+ #~ msgid "SMS Notifications"
2925
+ #~ msgstr "Avisos SMS"
2926
+
2927
+ # traducido
2928
+ #~ msgid "Enable SMS Notifications for vendors"
2929
+ #~ msgstr "Habilitar avisos por SMS para los vendedores"
2930
+
2931
+ # traducido
2932
+ #~ msgid "Bulk Product Editing"
2933
+ #~ msgstr "Edición de productos en lote"
2934
+
2935
+ # traducido
2936
+ #~ msgid "Enable Bulk Product Editing Options for vendors"
2937
+ #~ msgstr "Habilitar la edición de productos en lote para los vendedores"
2938
+
2939
+ # traducido
2940
+ #~ msgid "Product Bundles"
2941
+ #~ msgstr "Paquetes de productos"
2942
+
2943
+ # traducido
2944
+ #~ msgid "Product Bundles features for vendors"
2945
+ #~ msgstr "Características de paquetes de productos para los vendedores"
2946
+
2947
+ # traducido
2948
+ #~ msgid "EU Energy Label"
2949
+ #~ msgstr "Etiqueta energética de la UE"
2950
+
2951
+ # traducido
2952
+ #~ msgid "EU Energy Label features for vendors"
2953
+ #~ msgstr "Características de etiqueta energética de la UE para los vendedores"
2954
+
2955
+ #~ msgid "PayPal Adaptive Payments for WooCommerce"
2956
+ #~ msgstr "PayPal Adaptive Payments para WooCommerce"
2957
+
2958
+ #~ msgid "PayPal Adaptive Payments for vendors"
2959
+ #~ msgstr "PayPal Adaptive Payments para los vendedores"
2960
+
2961
+ # traducido
2962
+ #~ msgid "Booking"
2963
+ #~ msgstr "Reservas"
2964
+
2965
+ # traducido
2966
+ #~ msgid "Booking features for vendors"
2967
+ #~ msgstr "Características de reservas para los vendedores"
2968
+
2969
+ #~ msgid "Commission page view"
2970
+ #~ msgstr "Vista de página de comisiones"
2971
+
2972
+ #~ msgid "Select the default view for commission page"
2973
+ #~ msgstr "Selecciona la vista predeterminada para la página de comisiones"
2974
+
2975
+ #~ msgid "Coupons"
2976
+ #~ msgstr "Cupones"
2977
+
2978
+ #~ msgid "Include coupons in commission calculations"
2979
+ #~ msgstr "Incluir cupones en los cálculos de comisiones"
2980
+
2981
+ #~ msgid ""
2982
+ #~ "Decide whether vendor commissions have to be calculated including coupon "
2983
+ #~ "value or not."
2984
+ #~ msgstr ""
2985
+ #~ "Decide si las comisiones de los vendedores deben calcularse, incluyendo "
2986
+ #~ "el valor del cupón o no."
2987
+
2988
+ #~ msgid "Taxes"
2989
+ #~ msgstr "Impuestos"
2990
+
2991
+ #~ msgid "Tax in commission calculations management"
2992
+ #~ msgstr "Impuesto en la gestión de cálculos de comisiones"
2993
+
2994
+ #~ msgid ""
2995
+ #~ "Decide whether vendor commissions have to be calculated including/"
2996
+ #~ "excluding tax value."
2997
+ #~ msgstr ""
2998
+ #~ "Decide si las comisiones de los proveedores deben calcularse incluyendo / "
2999
+ #~ "excluyendo el valor del impuesto."
3000
+
3001
+ # traducido
3002
+ #~ msgid "WooCommerce Pages"
3003
+ #~ msgstr "Páginas de WooCommerce"
3004
+
3005
+ #~ msgid "Show vendor's name in shop page"
3006
+ #~ msgstr "Mostrar el nombre del vendedor en la página de la tienda"
3007
+
3008
+ #~ msgid ""
3009
+ #~ "Select if you want to show vendor's name below products in Shop page."
3010
+ #~ msgstr ""
3011
+ #~ "Selecciona si deseas mostrar el nombre del vendedor debajo de los "
3012
+ #~ "productos en la página de la tienda."
3013
+
3014
+ #~ msgid "Show vendor's name in single product page"
3015
+ #~ msgstr "Mostrar el nombre del vendedor en la página de un solo producto"
3016
+
3017
+ #~ msgid ""
3018
+ #~ "Select if you want to show vendor's name below products in Single product "
3019
+ #~ "page."
3020
+ #~ msgstr ""
3021
+ #~ "Selecciona si deseas mostrar el nombre del vendedor debajo de los "
3022
+ #~ "productos en la página de un solo producto."
3023
+
3024
+ #~ msgid "Show vendor's name in product category page"
3025
+ #~ msgstr ""
3026
+ #~ "Mostrar el nombre del vendedor en la página de la categoría de producto"
3027
+
3028
+ #~ msgid ""
3029
+ #~ "Select if you want to show vendor's name below products in Product "
3030
+ #~ "category page."
3031
+ #~ msgstr ""
3032
+ #~ "Selecciona si deseas mostrar el nombre del vendedor debajo de los "
3033
+ #~ "productos en la página de la categoría de productos."
3034
+
3035
+ #~ msgid "Show \"Item sold\" information in single product page"
3036
+ #~ msgstr ""
3037
+ #~ "Mostrar información de \"Artículo vendido\" en la página de un solo "
3038
+ #~ "producto"
3039
+
3040
+ #~ msgid ""
3041
+ #~ "Select if you want to show the text \"Item sold\" in single product page "
3042
+ #~ "among category and tag information"
3043
+ #~ msgstr ""
3044
+ #~ "Selecciona si deseas mostrar el texto \"Artículo vendido\" en la página "
3045
+ #~ "de un solo producto entre la categoría y la etiqueta"
3046
+
3047
+ #~ msgid "Show \"Report abuse\" link"
3048
+ #~ msgstr "Mostrar el enlace de ''Notificar abuso''"
3049
+
3050
+ #~ msgid ""
3051
+ #~ "Choose if you want to show the \"Report abuse\" link under product "
3052
+ #~ "thumbnails in single product page."
3053
+ #~ msgstr ""
3054
+ #~ "Elige si deseas mostrar el enlace \"Notificar abuso\" en miniaturas de "
3055
+ #~ "producto en la página de un solo producto."
3056
+
3057
+ #~ msgid "All products"
3058
+ #~ msgstr "Todos los productos"
3059
+
3060
+ #~ msgid "Only for vendor's products"
3061
+ #~ msgstr "Solo para los productos de los vendedores"
3062
+
3063
+ #~ msgid "\"Report abuse\" link text"
3064
+ #~ msgstr "Texto del enlace ''Notificar abuso''"
3065
+
3066
+ #~ msgid "The report abuse link text."
3067
+ #~ msgstr "El texto de enlace de 'notificar abuso'"
3068
+
3069
+ #~ msgid "Report abuse"
3070
+ #~ msgstr "Notificar abuso"
3071
+
3072
+ #~ msgid "Show \"Vendor\" tab in single product page"
3073
+ #~ msgstr "Mostrar la pestaña \"Vendedor\" en la página de un solo producto"
3074
+
3075
+ #~ msgid "Select if you want to show vendor's tab in single product page."
3076
+ #~ msgstr ""
3077
+ #~ "Selecciona si deseas mostrar la pestaña del vendedor en la página de un "
3078
+ #~ "solo producto."
3079
+
3080
+ # qutiada capitalización
3081
+ #~ msgid "Vendor Tab"
3082
+ #~ msgstr "Pestaña del vendedor"
3083
+
3084
+ #~ msgid "Change the label of \"Vendor Tab\" in single product page."
3085
+ #~ msgstr ""
3086
+ #~ "Cambia la etiqueta de \"pestaña del Vendedor\" en la página de un solo "
3087
+ #~ "producto."
3088
+
3089
+ #~ msgid "Vendor tab position in single product page"
3090
+ #~ msgstr ""
3091
+ #~ "Posición de la pestaña Vendedor en una la página de un sólo producto"
3092
+
3093
+ #~ msgid ""
3094
+ #~ "Select the position for \"Vendor\" tab in single product page. You can "
3095
+ #~ "set to show the tab before or after WooCommerce tabs"
3096
+ #~ msgstr ""
3097
+ #~ "Selecciona la posición de la pestaña \"Vendedor\" en la página de un solo "
3098
+ #~ "producto. Puedes configurar para mostrar la pestaña antes o después de "
3099
+ #~ "las pestañas de WooCommerce"
3100
+
3101
+ #~ msgid "First tab"
3102
+ #~ msgstr "Primera pestaña"
3103
+
3104
+ #~ msgid "After WooCommerce tabs"
3105
+ #~ msgstr "Después de las pestañas de WooCommerce"
3106
+
3107
+ #~ msgid "Shipping info Tab"
3108
+ #~ msgstr "Tabla de información de envío"
3109
+
3110
+ #~ msgid "Change the label of \"Shipping info Tab\" in single product page."
3111
+ #~ msgstr ""
3112
+ #~ "Cambie la etiqueta de \"Tabla de información de envío\" en la página de "
3113
+ #~ "un solo producto."
3114
+
3115
+ #~ msgid "Vendor's registration page"
3116
+ #~ msgstr "Página de registro de vendedor"
3117
+
3118
+ #~ msgid "Enable Vendors registration in \"My Account\" page"
3119
+ #~ msgstr "Habilitar el registro de vendedores en la página ''Mi cuenta''"
3120
+
3121
+ #~ msgid ""
3122
+ #~ "To make this option available you have to enable registration from \"My "
3123
+ #~ "Account\" page in <a href=\"%s\">WooCommerce > Settings > Account</a>"
3124
+ #~ msgstr ""
3125
+ #~ "Para habilitar esta opción, debes activar el registro desde la página "
3126
+ #~ "\"Mi cuenta\" en <a href=\"%s\"> WooCommerce> Configuración> Cuenta </a>"
3127
+
3128
+ #~ msgid "Auto enable vendor account"
3129
+ #~ msgstr "Cuenta de proveedor de habilitación automática"
3130
+
3131
+ #~ msgid ""
3132
+ #~ "After registration, the seller is entitled to sell. If you disable this "
3133
+ #~ "option, the administrator must enable the vendor account manually"
3134
+ #~ msgstr ""
3135
+ #~ "Después del registro, el vendedor tiene derecho a vender. Si desactivas "
3136
+ #~ "esta opción, el administrador debe activar la cuenta del vendedor "
3137
+ #~ "manualmente"
3138
+
3139
+ #~ msgctxt "part of: VAT/SSN number"
3140
+ #~ msgid "number"
3141
+ #~ msgstr "número"
3142
+
3143
+ #~ msgid "Mark this field required"
3144
+ #~ msgstr "Marcar este campo como obligatorio"
3145
+
3146
+ #~ msgid "Terms and conditions"
3147
+ #~ msgstr "Términos y condiciones"
3148
+
3149
+ #~ msgid "PayPal Email"
3150
+ #~ msgstr "Correo electrónico de PayPal"
3151
+
3152
+ #~ msgid "Become a vendor page"
3153
+ #~ msgstr "página Convertirse en vendedor"
3154
+
3155
+ #~ msgid "\"Become a vendor\" page"
3156
+ #~ msgstr "Página ''Convertirse en vendedor''"
3157
+
3158
+ #~ msgid "Become a vendor page style"
3159
+ #~ msgstr "Estilo de página Convertirse en vendedor"
3160
+
3161
+ # traducido
3162
+ #~ msgid ""
3163
+ #~ "My Account Style: with login form and \"Register as a vendor\" checkbox"
3164
+ #~ msgstr ""
3165
+ #~ "Estilo de Mi cuenta: con el formulario de inicio de sesión y la casilla "
3166
+ #~ "\"Registrarse como vendedor\""
3167
+
3168
+ # traducido style
3169
+ #~ msgid "MultiVendor Style: Show only become a vendor form"
3170
+ #~ msgstr ""
3171
+ #~ "Estilo MultiVendor: Mostrar sólo el formulario convertirse en vendedor"
3172
+
3173
+ #~ msgid "Terms and conditions page"
3174
+ #~ msgstr "Página de términos y condiciones"
3175
+
3176
+ #~ msgid "\"Terms and conditions\" page"
3177
+ #~ msgstr "Página de ''Términos y condiciones''"
3178
+
3179
+ #~ msgid "This sets the page for vendors Terms and conditions."
3180
+ #~ msgstr ""
3181
+ #~ "Esto establece la página de Términos y condiciones para los vendedores"
3182
+
3183
+ #~ msgid "Vendor's Store Page"
3184
+ #~ msgstr "Página de tienda del vendedor"
3185
+
3186
+ #~ msgid "Vendor store slug prefix"
3187
+ #~ msgstr "Prefijo de slug de tiendas de vendedores"
3188
+
3189
+ # traducido lo que se puede
3190
+ #~ msgid ""
3191
+ #~ "Change the vendor store slug prefix. I.E.: http://mywebsite.com/"
3192
+ #~ "{store_slug}/vendor_name"
3193
+ #~ msgstr ""
3194
+ #~ "Cambiar el prefijo del slug de la tienda. P.ej. .: http://miweb.com/"
3195
+ #~ "{store_slug}/vendor_name"
3196
+
3197
+ #~ msgid "Store link"
3198
+ #~ msgstr "Enlace de la tienda"
3199
+
3200
+ #~ msgid "Select the style you want to use:"
3201
+ #~ msgstr "Selecciona el estilo que quieres usar:"
3202
+
3203
+ #~ msgid "Theme style"
3204
+ #~ msgstr "Estilo del tema"
3205
+
3206
+ #~ msgid "Custom style"
3207
+ #~ msgstr "Estilo personalizado"
3208
+
3209
+ #~ msgid "Vendor's name label color"
3210
+ #~ msgstr "Color de etiqueta del nombre del vendedor"
3211
+
3212
+ #~ msgid "Use it in shop page and single product page"
3213
+ #~ msgstr "Utilízalo en la página de tienda y en la página de un solo producto"
3214
+
3215
+ #~ msgid "Vendor's name label color (on hover)"
3216
+ #~ msgstr "Color de la etiqueta del nombre del vendedor (al pasar por encima)"
3217
+
3218
+ #~ msgid "Use it in shop page and single product page (on hover)"
3219
+ #~ msgstr ""
3220
+ #~ "Utilízalo en la página de la tienda y en la página de un sólo producto "
3221
+ #~ "(al pasar por encima)"
3222
+
3223
+ #~ msgid "Style for header image in vendor store page"
3224
+ #~ msgstr ""
3225
+ #~ "Estilo para la imagen de encabezado en la página de tienda del vendedor"
3226
+
3227
+ #~ msgid "Select the vendor store page header style"
3228
+ #~ msgstr ""
3229
+ #~ "Selecciona el estilo de encabezado de la página de la tienda del vendedor"
3230
+
3231
+ #~ msgid "Small Box"
3232
+ #~ msgstr "Caja pequeña"
3233
+
3234
+ #~ msgid "Double Box"
3235
+ #~ msgstr "Caja doble"
3236
+
3237
+ #~ msgid "Vendor's skin background color"
3238
+ #~ msgstr "Color de fondo de la apariencia del vendedor"
3239
+
3240
+ #~ msgid "Skin Background color"
3241
+ #~ msgstr "Color de fondo de la apariencia"
3242
+
3243
+ #~ msgid "Vendor's skin font color"
3244
+ #~ msgstr "Color de la fuente de la apariencia del vendedor"
3245
+
3246
+ #~ msgid "Skin font color"
3247
+ #~ msgstr "Color de fuente de la apariencia"
3248
+
3249
+ #~ msgid "Show vendor logo in vendor store page"
3250
+ #~ msgstr "Mostrar el logo del vendedor en la página de la tienda del vendedor"
3251
+
3252
+ #~ msgid "Enable/Disable the vendor logo (user avatar) in vendor store page."
3253
+ #~ msgstr ""
3254
+ #~ "Habilitar/Deshabilitar el logo del vendedor (avatar del usuario) en la "
3255
+ #~ "página de la tienda del vendedor."
3256
+
3257
+ #~ msgid "Show vendor logo"
3258
+ #~ msgstr "Mostrar el logo del vendedor"
3259
+
3260
+ #~ msgid "Don't show vendor logo"
3261
+ #~ msgstr "No mostrar el logo del vendedor"
3262
+
3263
+ #~ msgid "Let vendors decide"
3264
+ #~ msgstr "Dejar que los vendedores decidan"
3265
+
3266
+ #~ msgid "Image size for vendor logo in vendor store page"
3267
+ #~ msgstr ""
3268
+ #~ "Tamaño de la imagen para el logo del vendedor en la página de la tienda "
3269
+ #~ "del vendedor"
3270
+
3271
+ #~ msgid "Change the default image size for logo (Default: 62 px)."
3272
+ #~ msgstr ""
3273
+ #~ "Cambia el tamaño de imagen predeterminado para el logo (Predeterminado: "
3274
+ #~ "62 px)."
3275
+
3276
+ #~ msgid "Image width for header image in vendor store page"
3277
+ #~ msgstr ""
3278
+ #~ "Ancho de imagen para la imagen de encabezado en la página de tienda del "
3279
+ #~ "vendedor"
3280
+
3281
+ #~ msgid "Image height for header image in vendor store page"
3282
+ #~ msgstr "Altura de la imagen de cabecera en la página de tienda del vendedor"
3283
+
3284
+ #~ msgid ""
3285
+ #~ "Change the default image height size for header. Set height to zero to "
3286
+ #~ "use original image height (Default: 0 px)."
3287
+ #~ msgstr ""
3288
+ #~ "Cambia el tamaño de altura de imagen predeterminado para el encabezado. "
3289
+ #~ "Establece la altura a cero para usar la altura de la imagen original "
3290
+ #~ "(predeterminado: 0 px)."
3291
+
3292
+ #~ msgid "Settings for vendor's \"Related products\""
3293
+ #~ msgstr "Ajustes de \"Productos relacionados\" del vendedor"
3294
+
3295
+ #~ msgid "Select related products to show in single product pages:"
3296
+ #~ msgstr ""
3297
+ #~ "Selecciona los productos relacionados para mostrarlos en las páginas de "
3298
+ #~ "un solo producto:"
3299
+
3300
+ #~ msgid "Do not show related products"
3301
+ #~ msgstr "No mostrar productos relacionados"
3302
+
3303
+ #~ msgid "Related products from the entire store"
3304
+ #~ msgstr "Productos relacionados de toda la tienda"
3305
+
3306
+ #~ msgid "Related products from vendor's shop"
3307
+ #~ msgstr "Productos relacionados de la tienda del vendedor"
3308
+
3309
+ #~ msgid "Show vendor's description in store page"
3310
+ #~ msgstr "Mostrar la descripción del vendedor en la página de la tienda"
3311
+
3312
+ #~ msgid ""
3313
+ #~ "Select if you want to show vendor's description after the header of Store "
3314
+ #~ "page."
3315
+ #~ msgstr ""
3316
+ #~ "Selecciona si deseas mostrar la descripción del vendedor después del "
3317
+ #~ "encabezado de la página de la tienda."
3318
+
3319
+ #~ msgid "Show vendor's name in store page"
3320
+ #~ msgstr "Mostrar el nombre del vendedor en la página de la tienda"
3321
+
3322
+ #~ msgid ""
3323
+ #~ "Select if you want to show vendor's name below products in Store page."
3324
+ #~ msgstr ""
3325
+ #~ "Selecciona si deseas mostrar el nombre del vendedor debajo de los "
3326
+ #~ "productos en la página de tienda."
3327
+
3328
+ #~ msgid "Show total vendor's sales in store page"
3329
+ #~ msgstr "Mostrar las ventas totales del vendedor en la página de tienda"
3330
+
3331
+ #~ msgid ""
3332
+ #~ "Select if you want to show total vendor's sales in the header of Store "
3333
+ #~ "page."
3334
+ #~ msgstr ""
3335
+ #~ "Selecciona si deseas mostrar las ventas totales del vendedor en el "
3336
+ #~ "encabezado de la página de tienda."
3337
+
3338
+ #~ msgctxt "part of: VAT/SSN number"
3339
+ #~ msgid "Show"
3340
+ #~ msgstr "Mostrar"
3341
+
3342
+ #~ msgctxt "part of: VAT/SSN number"
3343
+ #~ msgid "in store page"
3344
+ #~ msgstr "en la página de la tienda"
3345
+
3346
+ # cambiado a informal
3347
+ #~ msgctxt ""
3348
+ #~ "[admin] part of: Select if you want to show the VAT/SSN information in "
3349
+ #~ "the header of Store page"
3350
+ #~ msgid "Select if you want to show the"
3351
+ #~ msgstr "Selecciona si quieres mostrar la"
3352
+
3353
+ #~ msgctxt ""
3354
+ #~ "[admin] part of: Select if you want to show the VAT/SSN information in "
3355
+ #~ "the header of Store page"
3356
+ #~ msgid "information in the header of Store page"
3357
+ #~ msgstr "información en el encabezado de la página de la tienda"
3358
+
3359
+ # Cambiada traducción
3360
+ #~ msgid "Change the standard VAT/SSN label with your local tax wording"
3361
+ #~ msgstr ""
3362
+ #~ "Cambia la etiqueta estándar de impuesto con el nombre de tu impuesto local"
3363
+
3364
+ #~ msgid "Show website in store page"
3365
+ #~ msgstr "Mostrar el sitio web el la página de la tienda"
3366
+
3367
+ #~ msgid ""
3368
+ #~ "Select if you want to allow vendor to add external website information in "
3369
+ #~ "the header of Store page."
3370
+ #~ msgstr ""
3371
+ #~ "Selecciona si deseas permitir que el vendedor agregue información de "
3372
+ #~ "sitio web externa en el encabezado de la página de la tienda."
3373
+
3374
+ #~ msgid "Show reviews average rating"
3375
+ #~ msgstr "Mostrar clasificación media de valoraciones"
3376
+
3377
+ #~ msgid ""
3378
+ #~ "Select if you want to show reviews average ratings in the header of Store "
3379
+ #~ "page."
3380
+ #~ msgstr ""
3381
+ #~ "Selecciona si deseas mostrar la clasificación media de valoraciones en el "
3382
+ #~ "encabezado de la página de la tienda."
3383
+
3384
+ #~ msgid "Google Maps API Key"
3385
+ #~ msgstr "Clave API de Google Maps "
3386
+
3387
+ #~ msgid ""
3388
+ #~ "Don’t know what an API KEY is or how to use it? For further information, "
3389
+ #~ "please click"
3390
+ #~ msgstr ""
3391
+ #~ "¿No sabes qué es una CLAVE API o cómo usarla? Para más información, haz "
3392
+ #~ "clic en"
3393
+
3394
+ #~ msgid "PayPal settings"
3395
+ #~ msgstr "Ajustes de PayPal"
3396
+
3397
+ #~ msgid ""
3398
+ #~ "Configure here PayPal in order to process the payment of commissions."
3399
+ #~ msgstr "Configura aquí PayPal para procesar el pago de comisiones."
3400
+
3401
+ #~ msgid "PayPal Service"
3402
+ #~ msgstr "Servicio de PayPal"
3403
+
3404
+ #~ msgid ""
3405
+ #~ "Choose the PayPal service to pay the commissions to vendors (the only "
3406
+ #~ "option currently available is MassPay)."
3407
+ #~ msgstr ""
3408
+ #~ "Elige el servicio de PayPal para pagar las comisiones a los vendedores "
3409
+ #~ "(la única opción actualmente disponible es MassPay)."
3410
+
3411
+ #~ msgid "MassPay"
3412
+ #~ msgstr "MassPay"
3413
+
3414
+ #~ msgid "Payment Method"
3415
+ #~ msgstr "Método de pago"
3416
+
3417
+ #~ msgid "Choose how to pay the commissions to vendors"
3418
+ #~ msgstr "Elige cómo pagar las comisiones a los vendedores"
3419
+
3420
+ #~ msgid "Pay manually"
3421
+ #~ msgstr "Pagar manualmente"
3422
+
3423
+ #~ msgid "Minimum Withdrawal"
3424
+ #~ msgstr "Retirada mínima"
3425
+
3426
+ #~ msgid ""
3427
+ #~ "Set the minimum value for commission withdrawals. This setting will "
3428
+ #~ "update all vendors' accounts that still have a threshold lower than the "
3429
+ #~ "one set."
3430
+ #~ msgstr ""
3431
+ #~ "Establezca el valor mínimo para los retiros de comisiones. Esta "
3432
+ #~ "configuración actualizará las cuentas de todos los vendedores que todavía "
3433
+ #~ "tengan un umbral inferior al establecido."
3434
+
3435
+ #~ msgid "Sandbox environment"
3436
+ #~ msgstr "Entorno de prueba"
3437
+
3438
+ #~ msgid "Set environment as sandbox, for test purpose"
3439
+ #~ msgstr "Establece el entorno como prueba, para fines de prueba"
3440
+
3441
+ #~ msgid "API Username"
3442
+ #~ msgstr "Nombre de usuario API"
3443
+
3444
+ #~ msgid ""
3445
+ #~ "API username of PayPal administration account (if empty, settings of "
3446
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
3447
+ #~ msgstr ""
3448
+ #~ "Nombre de usuario API de la cuenta de administración de PayPal (si está "
3449
+ #~ "vacía, se aplicará la configuración de PayPal en <a href=\"%s\"> página "
3450
+ #~ "Ajustes de WooCommmerce </a>)."
3451
+
3452
+ #~ msgid "API Password"
3453
+ #~ msgstr "Contraseña API"
3454
+
3455
+ #~ msgid ""
3456
+ #~ "API password of PayPal administration account (if empty, settings of "
3457
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
3458
+ #~ msgstr ""
3459
+ #~ "Contraseña de API de la cuenta de administración de PayPal (si está "
3460
+ #~ "vacía, se aplicará la configuración de PayPal en <a href=\"%s\"> página "
3461
+ #~ "de Ajustes de WooCommmerce </a>)."
3462
+
3463
+ #~ msgid "API Signature"
3464
+ #~ msgstr "Firma de API"
3465
+
3466
+ #~ msgid ""
3467
+ #~ "API signature of PayPal administration account (if empty, settings of "
3468
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
3469
+ #~ msgstr ""
3470
+ #~ "Firma de API de la cuenta de administración de PayPal (si está vacía, se "
3471
+ #~ "aplicará la configuración de PayPal en <a href=\"%s\"> página de Ajustes "
3472
+ #~ "de WooCommmerce </a>)."
3473
+
3474
+ #~ msgid "Payment Email Subject"
3475
+ #~ msgstr "Asunto de correo electrónico de pago"
3476
+
3477
+ #~ msgid ""
3478
+ #~ "Subject for email sent by PayPal to customers when payment request is "
3479
+ #~ "registered"
3480
+ #~ msgstr ""
3481
+ #~ "Asunto de correo electrónico enviado por PayPal a los clientes cuando se "
3482
+ #~ "registra la solicitud de pago"
3483
+
3484
+ #~ msgid "Notification URL"
3485
+ #~ msgstr "Notificación URL"
3486
+
3487
+ #~ msgid ""
3488
+ #~ "Copy this URL and set it into PayPal admin panel, to receive IPN from "
3489
+ #~ "their server"
3490
+ #~ msgstr ""
3491
+ #~ "Copia esta URL y configúrala en el panel de administración de PayPal para "
3492
+ #~ "recibir IPN desde su servidor"
3493
+
3494
+ # cambiado artículo y número
3495
+ #~ msgid "Report settings."
3496
+ #~ msgstr "Ajustes del informe."
3497
+
3498
+ #~ msgid "Vendor Report limit"
3499
+ #~ msgstr "Límite de informe del vendedor"
3500
+
3501
+ #~ msgid "Choose the maximum number of rows you can show in the reports"
3502
+ #~ msgstr "Eliga el número máximo de filas que puedes mostrar en los informes"
3503
+
3504
+ #~ msgid "10"
3505
+ #~ msgstr "10"
3506
+
3507
+ #~ msgid "20"
3508
+ #~ msgstr "20"
3509
+
3510
+ #~ msgid "Enable product amount limit"
3511
+ #~ msgstr "Habilitar límite de cantidad del producto"
3512
+
3513
+ #~ msgid "Limit product amount for each vendor"
3514
+ #~ msgstr "Limitar la cantidad de producto para cada vendedor"
3515
+
3516
+ #~ msgid "Product amount limit"
3517
+ #~ msgstr "Límite de cantidad del producto"
3518
+
3519
+ #~ msgid "Set a maximum number of products that each vendor can publish"
3520
+ #~ msgstr ""
3521
+ #~ "Establece el número máximo de productos que cada vendedor puede publicar"
3522
+
3523
+ #~ msgid "Product listings"
3524
+ #~ msgstr "Listado de productos"
3525
+
3526
+ #~ msgid "Hide vendor products from store loop page"
3527
+ #~ msgstr "Ocultar productos de vendedores de la página de la tienda"
3528
+
3529
+ #~ msgid ""
3530
+ #~ "Hide products belonging to vendors from store loop page - this means that "
3531
+ #~ "vendor products will only be visible on the individual vendor pages."
3532
+ #~ msgstr ""
3533
+ #~ "Ocultar productos pertenecientes a los vendedores de la página de la "
3534
+ #~ "tienda: esto significa que los productos de vendedores sólo serán "
3535
+ #~ "visibles en las páginas de vendedores individuales."
3536
+
3537
+ #~ msgid "Skip admin review"
3538
+ #~ msgstr "Saltar revisión administrativa"
3539
+
3540
+ #~ msgid ""
3541
+ #~ "If you enable this option any vendor could publish products without super "
3542
+ #~ "admin authorization. This is the default option for any new vendor It is "
3543
+ #~ "possible to override these settings for each vendor. "
3544
+ #~ msgstr ""
3545
+ #~ "Si habilitas esta opción, cualquier vendedor puede publicar productos sin "
3546
+ #~ "autorización del Administrador. Esta es la opción predeterminada para "
3547
+ #~ "cualquier vendedor nuevo. Es posible anular estas configuraciones para "
3548
+ #~ "cada vendedor."
3549
+
3550
+ #~ msgid "Set products to “Pending review\" status after vendors edit them"
3551
+ #~ msgstr ""
3552
+ #~ "Establece los productos en estado \"Pendiente de revisión\" después de "
3553
+ #~ "que los vendedores los editen."
3554
+
3555
+ #~ msgid ""
3556
+ #~ "Enabling this option will let you set any product on which a vendor "
3557
+ #~ "applies a change to “Pending review” status, if the vendor is not allowed "
3558
+ #~ "to apply changes to his/her products without super admin approval."
3559
+ #~ msgstr ""
3560
+ #~ "Habilitar esta opción te permitirá establecer cualquier producto en el "
3561
+ #~ "que un vendedor aplique un cambio al estado de \"Revisión pendiente\", si "
3562
+ #~ "el vendedor no puede aplicar cambios a sus productos sin la aprobación "
3563
+ #~ "del Administrador."
3564
+
3565
+ #~ msgid "Force \"Skip reviews\" option for all vendors"
3566
+ #~ msgstr "Forzar opción \"Omitir revisiones\" para todos los proveedores"
3567
+
3568
+ #~ msgid "Force option"
3569
+ #~ msgstr "Forzar opción"
3570
+
3571
+ #~ msgid "Force \"Skip admin review\" options for all vendors."
3572
+ #~ msgstr ""
3573
+ #~ "Forzar opción ''Omitir revisiones'' del administrador para todos los "
3574
+ #~ "vendedores."
3575
+
3576
+ #~ msgid "Enable YIT Shortcodes Button"
3577
+ #~ msgstr "Habilitar el botón YIT Shortcodes"
3578
+
3579
+ #~ msgid ""
3580
+ #~ "If you enable this option, each vendor will be able to use YIT Shortcodes "
3581
+ #~ "in Add/Edit Product page."
3582
+ #~ msgstr ""
3583
+ #~ "Si habilitas esta opción, cada vendedor podrá usar YIT Shortcodes en "
3584
+ #~ "Añadir/Editar la página del producto."
3585
+
3586
+ #~ msgid "Coupon management"
3587
+ #~ msgstr "Gestión de cupones"
3588
+
3589
+ #~ msgid "Enable coupon management"
3590
+ #~ msgstr "Habilitar gestión de cupones"
3591
+
3592
+ #~ msgid ""
3593
+ #~ "If you enable this option, each vendor will be able to create coupon for "
3594
+ #~ "their own products."
3595
+ #~ msgstr ""
3596
+ #~ "Si habilitas esta opción, cada vendedor podrá crear cupones para sus "
3597
+ #~ "productos."
3598
+
3599
+ #~ msgid "Review management"
3600
+ #~ msgstr "Gestión de reseñas"
3601
+
3602
+ #~ msgid "Enable review management"
3603
+ #~ msgstr "Habilitar gestión de reseñas"
3604
+
3605
+ #~ msgid ""
3606
+ #~ "If you enable this option, each vendor will be able to manage reviews on "
3607
+ #~ "his/her own products independently."
3608
+ #~ msgstr ""
3609
+ #~ "Si habilitas esta opción, cada vendedor podrá administrar las "
3610
+ #~ "valoraciones de sus productos indepentientemente."
3611
+
3612
+ #~ msgid "Parent-suborder synchronization"
3613
+ #~ msgstr "Sincronización del subpedido padre"
3614
+
3615
+ #~ msgid ""
3616
+ #~ "All changes made to general orders will be synchronized with the "
3617
+ #~ "individual vendor's order"
3618
+ #~ msgstr ""
3619
+ #~ "Todos los cambios realizados en los pedidos generales se sincronizarán "
3620
+ #~ "con el pedido del vendedor individual"
3621
+
3622
+ #~ msgid "Suborder-parent order status synchronization"
3623
+ #~ msgstr "Sincronización del estado del subpedido padre"
3624
+
3625
+ #~ msgid ""
3626
+ #~ "Check this option to update the parent order status when editing the "
3627
+ #~ "child order status"
3628
+ #~ msgstr ""
3629
+ #~ "Marca esta opción para actualizar el estado del pedido padre cuando se "
3630
+ #~ "edite el estado del pedido hijo"
3631
+
3632
+ #~ msgid "Order refund management"
3633
+ #~ msgstr "Gestión de reembolso de pedidos"
3634
+
3635
+ #~ msgid ""
3636
+ #~ "If you enable this option, each vendor will be able to manage refund on "
3637
+ #~ "his/her own orders independently."
3638
+ #~ msgstr ""
3639
+ #~ "Si habilitas esta opción, cada vendedor podrá gestionar el reembolso "
3640
+ #~ "independientemente de sus propios pedidos."
3641
+
3642
+ #~ msgid "Hide Customer Section"
3643
+ #~ msgstr "Ocultar la sección Clientes"
3644
+
3645
+ #~ msgid ""
3646
+ #~ "Check this option to prevent vendors from seeing 'Customer' section in "
3647
+ #~ "order details"
3648
+ #~ msgstr ""
3649
+ #~ "Marca esta opción para evitar que los vendedores vean la sección \"Cliente"
3650
+ #~ "\" en los detalles del pedido"
3651
+
3652
+ # qutiada capitalización
3653
+ #~ msgid "Hide Payment Information"
3654
+ #~ msgstr "Ocultar información de pago"
3655
+
3656
+ #~ msgid ""
3657
+ #~ "Check this option to prevent vendors from seeing 'Payment' section in "
3658
+ #~ "order details"
3659
+ #~ msgstr ""
3660
+ #~ "Marca esta opción para evitar que los vendedores vean la sección \"Pago\" "
3661
+ #~ "en detalles del pedido"
3662
+
3663
+ #~ msgid "Prevent vendors to resend order emails"
3664
+ #~ msgstr "Evitar que los vendedores envíen pedidos de correos electrónicos"
3665
+
3666
+ #~ msgid ""
3667
+ #~ "It prevents the vendors to resend the emails related to the orders to "
3668
+ #~ "customers."
3669
+ #~ msgstr ""
3670
+ #~ "Evita que los vendedores reenvíen los correos electrónicos relacionados "
3671
+ #~ "con los pedidos a los clientes."
3672
+
3673
+ #~ msgid "Prevent vendors to edit custom fields"
3674
+ #~ msgstr "Evitar que los proveedores modifiquen campos personalizados"
3675
+
3676
+ #~ msgid "It prevents the vendors to edit the shop orders custom fileds"
3677
+ #~ msgstr ""
3678
+ #~ "Evita que los vendedores modifiquen los campos personalizados de pedidos "
3679
+ #~ "de tienda"
3680
+
3681
+ #~ msgid "Featured Products management"
3682
+ #~ msgstr "Gestión de productos destacados"
3683
+
3684
+ #~ msgid "Enable featured products management"
3685
+ #~ msgstr "Habilitar la administración de productos destacados"
3686
+
3687
+ #~ msgid ""
3688
+ #~ "If you enable this option, each vendor will be able to set \"Featured\" "
3689
+ #~ "on his/her own products independently (this option can be override for "
3690
+ #~ "each vendor)."
3691
+ #~ msgstr ""
3692
+ #~ "Si habilitas esta opción, cada vendedor podrá establecer \"Destacados\" "
3693
+ #~ "en sus propios productos de forma independiente (esta opción puede "
3694
+ #~ "sustituir a cada vendedor)."
3695
+
3696
+ #~ msgid "Enable advanced editor for vendor description"
3697
+ #~ msgstr "Habilitar editor avanzado para la descripción del vendedor"
3698
+
3699
+ #~ msgid ""
3700
+ #~ "If you enable this option, each vendor will be able to use an advanced "
3701
+ #~ "editor for store description."
3702
+ #~ msgstr ""
3703
+ #~ "Si habilitas esta opción, cada vendedor podrá utilizar un editor avanzado "
3704
+ #~ "para la descripción de la tienda."
3705
+
3706
+ #~ msgid "Enable media button in text editor"
3707
+ #~ msgstr "Habilitar botón multimedia en el editor de texto"
3708
+
3709
+ #~ msgid ""
3710
+ #~ "If you enable this option, each vendor will be able to use the media "
3711
+ #~ "button in advanced editor."
3712
+ #~ msgstr ""
3713
+ #~ "Si habilitas esta opción, cada vendedor podrá utilizar el botón "
3714
+ #~ "multimedia en el editor avanzado."
3715
+
3716
+ #~ msgid "Shop Admins"
3717
+ #~ msgstr "Administradores de la tienda"
3718
+
3719
+ #~ msgid "Enable vendors to add admins"
3720
+ #~ msgstr "Habilitar que los vendedores añadan administradores"
3721
+
3722
+ #~ msgid ""
3723
+ #~ "Thanks to this option, your vendors will be able to assign shop admins "
3724
+ #~ "for their own shop page. Please, be careful while using this option, "
3725
+ #~ "because this way your vendors will be able to see all users registered to "
3726
+ #~ "the entire store, first name, last name and email address and this could "
3727
+ #~ "be a violation of their own privacy. We always recommend you enable this "
3728
+ #~ "option only if necessary. Alternatively, your vendors will be able to see "
3729
+ #~ "who the admins of their shop page are and make a request to the global "
3730
+ #~ "admin to have them added."
3731
+ #~ msgstr ""
3732
+ #~ "Gracias a esta opción, tus vendedores podrán asignar administradores de "
3733
+ #~ "la tienda para su propia página de tienda. Por favor, ten cuidado al usar "
3734
+ #~ "esta opción, porque de esta manera tus proveedores podrán ver todos los "
3735
+ #~ "usuarios registrados en toda la tienda, nombre, apellido y dirección de "
3736
+ #~ "correo electrónico y esto podría ser una violación de su propia "
3737
+ #~ "privacidad. Siempre recomendamos activar esta opción sólo si es "
3738
+ #~ "necesario. Alternativamente, tus vendedores podrán ver quiénes son los "
3739
+ #~ "administradores de su página de tienda y hacer una solicitud al "
3740
+ #~ "administrador global para que se agreguen."
3741
+
3742
+ #~ msgid "Vendor's"
3743
+ #~ msgstr "Del vendedor"
3744
+
3745
+ #~ msgid "Company legal notes"
3746
+ #~ msgstr "Notas legales de la empresa"
3747
+
3748
+ # quitadas capitalizaciones y adaptación a españa de traducción
3749
+ #~ msgid ""
3750
+ #~ "Insert company legal notes (e.g. Managing Directors, Court of "
3751
+ #~ "registration, Commercial registration number, ecc.)"
3752
+ #~ msgstr ""
3753
+ #~ "Insertar notas legales de la empresa (por ejemplo, Directores gerentes, "
3754
+ #~ "entidad de registro, número de registro comercial, etc.)"
3755
+
3756
+ # Siempre traducimos website por web
3757
+ #~ msgid "Website"
3758
+ #~ msgstr "Web"
3759
+
3760
+ # website por web
3761
+ #~ msgid "Insert website url"
3762
+ #~ msgstr "Insertar url de la web"
3763
+
3764
+ # quitada capitalización
3765
+ # cambiado artículo
3766
+ #~ msgid "Allow vendors to add products without admin review"
3767
+ #~ msgstr ""
3768
+ #~ "Permitir a los vendedores agregar productos sin revisión del administrador"
3769
+
3770
+ # quitada capitalización en Gestión
3771
+ #~ msgid "Enable Featured products management"
3772
+ #~ msgstr "Activar gestión de productos destacados"
3773
+
3774
+ #~ msgid "Allow vendors to manage featured products"
3775
+ #~ msgstr "Permitir a los vendedores gestionar productos destacados"
3776
+
3777
+ #~ msgid "Avatar"
3778
+ #~ msgstr "Avatar"
3779
+
3780
+ #~ msgid "Vendor Shop Admins"
3781
+ #~ msgstr "Administradores de la tienda del Vendedor"
3782
+
3783
+ #~ msgid ""
3784
+ #~ "User that can manage products in this vendor shop and view sale reports."
3785
+ #~ msgstr ""
3786
+ #~ "Usuario que puede gestionar productos en esta tienda de vendedores y ver "
3787
+ #~ "los informes de ventas."
3788
+
3789
+ #~ msgid "Contact information :"
3790
+ #~ msgstr "Información de contacto :"
3791
+
3792
+ #~ msgid "Location"
3793
+ #~ msgstr "Ubicación"
3794
+
3795
+ # españolizado
3796
+ #~ msgid ""
3797
+ #~ "Store address. e.g.: MyStore S.A. Avenue MyStore 55, 1800 Vevey, "
3798
+ #~ "Switzerland"
3799
+ #~ msgstr ""
3800
+ #~ "Dirección de la tienda. Por ejemplo: MiTienda S.A. Avenida de MiTienda "
3801
+ #~ "55, 28000 Madrid, España"
3802
+
3803
+ #~ msgid "Store email"
3804
+ #~ msgstr "Correo electrónico de la tienda"
3805
+
3806
+ #~ msgid "Telephone"
3807
+ #~ msgstr "Teléfono"
3808
+
3809
+ #~ msgid "Social profile:"
3810
+ #~ msgstr "Perfil social:"
3811
+
3812
+ #~ msgid "Payments:"
3813
+ #~ msgstr "Pagos:"
3814
+
3815
+ #~ msgid "Bank Account (IBAN/BIC)"
3816
+ #~ msgstr "Cuenta bancaria (IBAN/BIC)"
3817
+
3818
+ #~ msgid "Vendor's IBAN/BIC bank account"
3819
+ #~ msgstr "Cuenta bancaria IBAN / BIC del vendedor"
3820
+
3821
+ #~ msgid "Registration date:"
3822
+ #~ msgstr "Fecha de registro:"
3823
+
3824
+ #~ msgctxt "[Admin]: option description"
3825
+ #~ msgid ""
3826
+ #~ "Upload an image with the correct aspect ratio settings. Recommended size "
3827
+ #~ "(width x height)"
3828
+ #~ msgstr ""
3829
+ #~ "Cargue una imagen con las proporciones correctas. Tamaño recomendado "
3830
+ #~ "(ancho x alto)"
3831
+
3832
+ #~ msgid "Upload/Add image"
3833
+ #~ msgstr "Subir / Añadir imagen"
3834
+
3835
+ #~ msgid "Remove image"
3836
+ #~ msgstr "Eliminar imagen"
3837
+
3838
+ #~ msgid "Vendor shop page information"
3839
+ #~ msgstr "Información de la página de la tienda del vendedor"
3840
+
3841
+ #~ msgid "Description for Vendor Tab in single product page."
3842
+ #~ msgstr ""
3843
+ #~ "Descripción de la pestaña Vendedor en la página de un solo producto."
3844
+
3845
+ #~ msgid "Enable store header logo:"
3846
+ #~ msgstr "Habilitar el logotipo del encabezado de tienda:"
3847
+
3848
+ #~ msgid "Show logo in the vendor's store header page"
3849
+ #~ msgstr ""
3850
+ #~ "Mostrar el logo en la página del encabezado de la tienda del vendedor"
3851
+
3852
+ # españolizado
3853
+ #~ msgid "MyStore S.A. Avenue MyStore 55, 1800 Vevey, Switzerland"
3854
+ #~ msgstr "MiTienda S.A. Avenida de MiTienda 55, 28000 Madrid, España"
3855
+
3856
+ # inserta por introduce
3857
+ #~ msgid "Insert store email address."
3858
+ #~ msgstr "Introduce el correo electrónico de la tienda."
3859
+
3860
+ # inserta por introduce
3861
+ #~ msgid "Insert store telephone number."
3862
+ #~ msgstr "Introduce el número telefónico de la tienda."
3863
+
3864
+ #~ msgctxt "part of: The VAT/SSN of your store"
3865
+ #~ msgid "The"
3866
+ #~ msgstr "El"
3867
+
3868
+ #~ msgctxt "part of: The VAT/SSN of your store"
3869
+ #~ msgid "of your store"
3870
+ #~ msgstr "de tu tienda"
3871
+
3872
+ # website por web
3873
+ # quitada capitalización de Url ya que estará dentro de una frase
3874
+ #~ msgid "Website url"
3875
+ #~ msgstr "url de la web"
3876
+
3877
+ #~ msgid "Add social page link here"
3878
+ #~ msgstr "Añadir enlace de página social aquí"
3879
+
3880
+ #~ msgid "Save Front page Settings"
3881
+ #~ msgstr "Guardar ajustes de la página principal"
3882
+
3883
+ #~ msgid "Payments information"
3884
+ #~ msgstr "Información de pagos"
3885
+
3886
+ #~ msgid "Payment type:"
3887
+ #~ msgstr "Tipo de pago:"
3888
+
3889
+ #~ msgid "Choose payment method for crediting commissions"
3890
+ #~ msgstr "Elige la forma de pago para las comisiones de acreditación"
3891
+
3892
+ #~ msgid "Threshold"
3893
+ #~ msgstr "Umbral"
3894
+
3895
+ #~ msgid "Minimum vendor's earning before a vendor's commissions can be paid"
3896
+ #~ msgstr ""
3897
+ #~ "Ganancia mínima del proveedor antes de que las comisiones de un vendedor "
3898
+ #~ "puedan ser pagadas"
3899
+
3900
+ #~ msgid "Minimum threshold allowed by site administrator is"
3901
+ #~ msgstr "El umbral mínimo permitido por el administrador del sitio es"
3902
+
3903
+ #~ msgid "Save Payments Information"
3904
+ #~ msgstr "Guardar Información de Pagos"
3905
+
3906
+ #~ msgid "Store general information"
3907
+ #~ msgstr "Información general de la tienda"
3908
+
3909
+ #~ msgid "Store name (displayed in vendor tabs and vendor store page)."
3910
+ #~ msgstr ""
3911
+ #~ "Nombre de la tienda (se muestra en las pestañas del vendedor y en la "
3912
+ #~ "página de la tienda del vendedor)."
3913
+
3914
+ #~ msgid ""
3915
+ #~ "The “slug” is the URL-friendly version of the name. It is usually "
3916
+ #~ "lowercased and contains only letters, numbers and hyphens."
3917
+ #~ msgstr ""
3918
+ #~ "El \"slug\" es la versión URL-amistosa del nombre. Por lo general, en "
3919
+ #~ "minúsculas y contiene sólo letras, números y guiones."
3920
+
3921
+ # cambiada totalmente la traducción
3922
+ #~ msgid "Store capability and rate:"
3923
+ #~ msgstr "Capacidad y porcentaje de la tienda:"
3924
+
3925
+ #~ msgid "Skip admin review: "
3926
+ #~ msgstr "Saltar la revisión del administrador:"
3927
+
3928
+ #~ msgid "Sale status: "
3929
+ #~ msgstr "Estado de venta:"
3930
+
3931
+ #~ msgid "Registration date: "
3932
+ #~ msgstr "Fecha de registro:"
3933
+
3934
+ #~ msgid "Store Admins: "
3935
+ #~ msgstr "Administradores de la tienda:"
3936
+
3937
+ # quitadas capitalizaciones
3938
+ #~ msgid "Save Vendor Settings"
3939
+ #~ msgstr "Guardar ajustes del vendedor"
3940
+
3941
+ #~ msgid "Zone Name"
3942
+ #~ msgstr "Nombre de zona"
3943
+
3944
+ #~ msgid "Remove"
3945
+ #~ msgstr "Eliminar"
3946
+
3947
+ #~ msgid "Select regions within this zone"
3948
+ #~ msgstr "Seleccionar regiones dentro de esta zona"
3949
+
3950
+ #~ msgid "Limit to specific ZIP/postcodes"
3951
+ #~ msgstr "Limitar a código postal/códigos postales específicos"
3952
+
3953
+ #~ msgid "List 1 postcode per line"
3954
+ #~ msgstr "Lista 1 código postal por línea"
3955
+
3956
+ #~ msgid ""
3957
+ #~ "Postcodes containing wildcards (e.g. CB23*) and fully numeric ranges (e."
3958
+ #~ "g. <code>90210...99000</code>) are also supported."
3959
+ #~ msgstr ""
3960
+ #~ "También se admiten los códigos postales que contienen comodines (por "
3961
+ #~ "ejemplo, CB23 *) y rangos totalmente numéricos (por ejemplo, <code> "
3962
+ #~ "90210 ... 99000 </code>)."
3963
+
3964
+ #~ msgid ""
3965
+ #~ "Drag and drop to re-order your custom zones. This is the order in which "
3966
+ #~ "they will be matched against the customer address."
3967
+ #~ msgstr ""
3968
+ #~ "Arrastra y suelta para volver a ordenar tus zonas personalizadas. Este es "
3969
+ #~ "el orden en el que se comparará con la dirección del cliente."
3970
+
3971
+ # cambiado modal por emergente
3972
+ #~ msgid "Close modal panel"
3973
+ #~ msgstr "Cerrar panel emergente"
3974
+
3975
+ #~ msgid "Save Changes"
3976
+ #~ msgstr "Guardar cambios"
3977
+
3978
+ #~ msgid "Shipping Settings"
3979
+ #~ msgstr "Ajustes de envío"
3980
+
3981
+ #~ msgid "Enable shipping:"
3982
+ #~ msgstr "Habilitar envío:"
3983
+
3984
+ #~ msgid "Enable shipping cost"
3985
+ #~ msgstr "Habilitar coste de envío"
3986
+
3987
+ #~ msgid "Default Shipping Price:"
3988
+ #~ msgstr "Coste de envío predeterminado"
3989
+
3990
+ #~ msgid "The default shipping price for each product in the cart."
3991
+ #~ msgstr "El coste de envío para cada producto en el carrito."
3992
+
3993
+ # cambiada totalmente la traducción, estaba literal
3994
+ #~ msgid "Per Product Additional Price:"
3995
+ #~ msgstr "Precio adicional por producto:"
3996
+
3997
+ #~ msgid ""
3998
+ #~ "The additional price for the first product of every second product type "
3999
+ #~ "in the cart."
4000
+ #~ msgstr ""
4001
+ #~ "El precio adicional para el primer producto de cada segundo tipo de "
4002
+ #~ "producto en el carro."
4003
+
4004
+ # cambiada toda la traducción, era literal
4005
+ #~ msgid "Per Qty Product Additional Price:"
4006
+ #~ msgstr "Precio adicional por cantidad de productos:"
4007
+
4008
+ #~ msgid "The additional price for every second product of the same type"
4009
+ #~ msgstr "El precio adicional por cada segundo producto del mismo tipo"
4010
+
4011
+ #~ msgid "Processing Time"
4012
+ #~ msgstr "Tiempo de procesamiento"
4013
+
4014
+ #~ msgid "The time required before sending the product for delivery"
4015
+ #~ msgstr "El tiempo requerido antes de enviar el producto para la entrega"
4016
+
4017
+ #~ msgid "Shipping Policy:"
4018
+ #~ msgstr "Política de envío:"
4019
+
4020
+ #~ msgid "You terms, conditions and instructions about shipping"
4021
+ #~ msgstr "Tus términos, condiciones e instrucciones acerca de envío"
4022
+
4023
+ # quitada capitalización
4024
+ #~ msgid "Refund Policy:"
4025
+ #~ msgstr "Política de reembolso"
4026
+
4027
+ #~ msgid "You terms, conditions and instructions about refund"
4028
+ #~ msgstr "Tus términos, condiciones e instrucciones acerca de reembolso"
4029
+
4030
+ # qutiada capitalización
4031
+ #~ msgid "Shipping From"
4032
+ #~ msgstr "Envío desde"
4033
+
4034
+ #~ msgid "- Select a location -"
4035
+ #~ msgstr "- Elige una ubicación -"
4036
+
4037
+ #~ msgid "Location from where the product are shipped for delivery"
4038
+ #~ msgstr "Ubicación desde donde se envía el producto para su entrega"
4039
+
4040
+ # capitalizaciones
4041
+ #~ msgid "Save Shipping Settings"
4042
+ #~ msgstr "Guardar ajustes de envío"
4043
+
4044
+ #~ msgid "Add shipping zone"
4045
+ #~ msgstr "Añadir zona de envío"
4046
+
4047
+ #~ msgid "Seller vacation info"
4048
+ #~ msgstr "Información de vacaciones del vendedor"
4049
+
4050
+ #~ msgid "Vacation message:"
4051
+ #~ msgstr "Mensaje de vacaciones:"
4052
+
4053
+ #~ msgid "Add here the vacation message."
4054
+ #~ msgstr "Añade aquí el mensaje de vacaciones."
4055
+
4056
+ #~ msgid "Vacation date"
4057
+ #~ msgstr "Fecha de vacaciones"
4058
+
4059
+ #~ msgid "Start date"
4060
+ #~ msgstr "Fecha de inicio"
4061
+
4062
+ #~ msgid "End date"
4063
+ #~ msgstr "Fecha de fin"
4064
+
4065
+ #~ msgid "Selling option"
4066
+ #~ msgstr "Opción de venta"
4067
+
4068
+ #~ msgid "Prevent sales temporarily"
4069
+ #~ msgstr "Evitar las ventas temporalmente"
4070
+
4071
+ #~ msgid "Keep selling anyway"
4072
+ #~ msgstr "Sigue vendiendo de todos modos"
4073
+
4074
+ # capitalizaciones
4075
+ #~ msgid "Save Vacation Settings"
4076
+ #~ msgstr "Guardar ajustes de vacaciones"
4077
+
4078
+ #~ msgid "Paypal email"
4079
+ #~ msgstr "Correo electrónico de PayPal"
4080
+
4081
+ #~ msgid "Order number"
4082
+ #~ msgstr "Número de pedido"
4083
+
4084
+ #~ msgid "The commission has been credited successfully."
4085
+ #~ msgstr "La comisión ha sido acreditada con éxito."
4086
+
4087
+ #~ msgid "Commission #%s detail"
4088
+ #~ msgstr "Detalle de comisión #%s"
4089
+
4090
+ #~ msgid "Some commissions have not been credited properly."
4091
+ #~ msgstr "Algunas comisiones no han sido acreditadas correctamente."
4092
+
4093
+ #~ msgid "Details of commissions not paid"
4094
+ #~ msgstr "Detalles de comisiones no pagadas"
4095
+
4096
+ #~ msgid "Commission #%s"
4097
+ #~ msgstr "Comisión #%s"
4098
+
4099
+ #~ msgid "Owner:"
4100
+ #~ msgstr "Propietario: "
4101
+
4102
+ #~ msgid "Store Name:"
4103
+ #~ msgstr "Nombre de la tienda: "
4104
+
4105
+ #~ msgid "Store Email"
4106
+ #~ msgstr "Correo electrónico de la tienda"
4107
+
4108
+ #~ msgid "New vendor registered"
4109
+ #~ msgstr "Nuevo vendedor registrado"
4110
+
4111
+ #~ msgid "A new user has made a request to become a vendor in your store."
4112
+ #~ msgstr ""
4113
+ #~ "Un nuevo usuario ha realizado una solicitud para ser vendedor en su "
4114
+ #~ "tienda."
4115
+
4116
+ #~ msgid "Vendor detail"
4117
+ #~ msgstr "Detalles del vendedor"
4118
+
4119
+ #~ msgid "PayPal email"
4120
+ #~ msgstr "Correo electrónico de PayPal"
4121
+
4122
+ #~ msgid "Commission number: %s"
4123
+ #~ msgstr "Número de comisión: %s"
4124
+
4125
+ # puesto código para español
4126
+ #~ msgid "jS F Y"
4127
+ #~ msgstr "j F Y"
4128
+
4129
+ #~ msgid "Store Name"
4130
+ #~ msgstr "Nombre de la tienda"
4131
+
4132
+ # cambiado ordn por pedido
4133
+ #~ msgid "The order #%d from %s has been cancelled. The order was as follows:"
4134
+ #~ msgstr "El pedido #%d de %s ha sido cancelado. El pedido era el siguiente:"
4135
+
4136
+ # cambiado orden por pedido
4137
+ #~ msgid "Order number: %s"
4138
+ #~ msgstr "Número de pedido: %s"
4139
+
4140
+ #~ msgctxt "New Order Email"
4141
+ #~ msgid "Commission id:"
4142
+ #~ msgstr "Id de la comisión:"
4143
+
4144
+ #~ msgctxt "New Order Email"
4145
+ #~ msgid "Commission rate:"
4146
+ #~ msgstr "Porcentaje de comisión:"
4147
+
4148
+ #~ msgctxt "New Order Email"
4149
+ #~ msgid "Tax:"
4150
+ #~ msgstr "Impuesto:"
4151
+
4152
+ #~ msgctxt "New Order Email"
4153
+ #~ msgid "Earnings:"
4154
+ #~ msgstr "Ganancias: "
4155
+
4156
+ #~ msgid "Quantity: %s"
4157
+ #~ msgstr "Cantidad: %s"
4158
+
4159
+ # cambiado coeste por coste
4160
+ #~ msgid "Cost: %s"
4161
+ #~ msgstr "Coste: %s"
4162
+
4163
+ #~ msgid "Download %d"
4164
+ #~ msgstr "Descargar %d"
4165
+
4166
+ #~ msgid "Download"
4167
+ #~ msgstr "Descargar"
4168
+
4169
+ #~ msgid "Your vendor account has been approved on %s."
4170
+ #~ msgstr "Tu cuenta de vendedor ha sido aprobada el %s"
4171
+
4172
+ #~ msgid ""
4173
+ #~ "From your vendor dashboard you can view your recent commissions, view the "
4174
+ #~ "sales report and manage your store and payment settings. Click <a href="
4175
+ #~ "\"%s\">here</a> to access <strong>store dashboard</strong>."
4176
+ #~ msgstr ""
4177
+ #~ "Desde tu escritorio de vendedor puedes ver tus comisiones recientes, ver "
4178
+ #~ "el informe de ventas y administrar tu tienda y configuración de pago. Haz "
4179
+ #~ "clic <a href=\"%s\"> aquí </a> para acceder a <strong> escritorio de la "
4180
+ #~ "tienda </strong>."
4181
+
4182
+ #~ msgid "You have received an order from %s."
4183
+ #~ msgstr "Has recibido un pedido de %s."
4184
+
4185
+ #~ msgid "Order #%s"
4186
+ #~ msgstr "Pedido #%s"
4187
+
4188
+ #~ msgid "Price"
4189
+ #~ msgstr "Precio"
4190
+
4191
+ #~ msgctxt "Email: commission rate column"
4192
+ #~ msgid "Commission"
4193
+ #~ msgstr "Comisión"
4194
+
4195
+ #~ msgctxt "Email: commission amount column"
4196
+ #~ msgid "Earnings"
4197
+ #~ msgstr "Ganancias"
4198
+
4199
+ #~ msgid "Product Image"
4200
+ #~ msgstr "Imagen del producto"
4201
+
4202
+ #~ msgid "You have received an order from %s. The order is as follows:"
4203
+ #~ msgstr "Has recibido un pedido de %s. La orden es la siguiente:"
4204
+
4205
+ #~ msgctxt "Email: tax amount column"
4206
+ #~ msgid "Tax"
4207
+ #~ msgstr "Impuesto"
4208
+
4209
+ #~ msgctxt "Email: commission amount column"
4210
+ #~ msgid "(inc. taxes)"
4211
+ #~ msgstr "(impuestos incl.)"
4212
+
4213
+ #~ msgid "Store name *"
4214
+ #~ msgstr "Nombre de la tienda *"
4215
+
4216
+ #~ msgid "Address *"
4217
+ #~ msgstr "Dirección *"
4218
+
4219
+ #~ msgid "Store email *"
4220
+ #~ msgstr "Correo electrónico de la tienda *"
4221
+
4222
+ #~ msgid "Telephone *"
4223
+ #~ msgstr "Teléfono *"
4224
+
4225
+ # quitado &amp;
4226
+ #~ msgid ""
4227
+ #~ "I&rsquo;ve read and accept the <a href=\"%s\" target=\"_blank\">terms "
4228
+ #~ "&amp; conditions</a>"
4229
+ #~ msgstr ""
4230
+ #~ "I&rsquo;ve Lee y acepta los <a href=\"%s\" target=\"_blank\">términos y "
4231
+ #~ "condiciones</a>"
4232
+
4233
+ #~ msgid "Store page"
4234
+ #~ msgstr "Página de la tienda"
4235
+
4236
+ #~ msgid "%s average rating from %d review"
4237
+ #~ msgid_plural "%s average rating from %d reviews"
4238
+ #~ msgstr[0] "%s calificación media de %d valoración"
4239
+ #~ msgstr[1] "%s calificación media de %d valoraciones"
4240
+
4241
+ #~ msgid "Total sales: %d"
4242
+ #~ msgstr "Ventas totales: %d"
4243
+
4244
+ #~ msgctxt "part of: Request about: Apple iPhone 6"
4245
+ #~ msgid "Request about"
4246
+ #~ msgstr "Solicitud sobre"
4247
+
4248
+ #~ msgid "Name"
4249
+ #~ msgstr "Nombre"
4250
+
4251
+ #~ msgid "Message"
4252
+ #~ msgstr "Mensaje"
4253
+
4254
+ #~ msgid "Show in Google Maps"
4255
+ #~ msgstr "Mostrar en Google Maps"
4256
+
4257
+ #~ msgid "Custom:"
4258
+ #~ msgstr "Personalizado:"
4259
+
4260
+ #~ msgid "Go"
4261
+ #~ msgstr "Ir"
4262
+
4263
+ #~ msgid "%s"
4264
+ #~ msgstr "%s"
4265
+
4266
+ # capitalizaciones
4267
+ #~ msgid "My Vendor Dashboard"
4268
+ #~ msgstr "Mi escritorio de vendedor"
4269
+
4270
+ # pasado de formal a informal
4271
+ #~ msgid ""
4272
+ #~ "You'll be able to access your dashboard as soon as the administrator "
4273
+ #~ "approves your vendor account."
4274
+ #~ msgstr ""
4275
+ #~ "Podrás acceder a su panel de control tan pronto como el administrador "
4276
+ #~ "apruebe tu cuenta de vendedor."
4277
+
4278
+ # de formal a informal
4279
+ #~ msgid ""
4280
+ #~ "From your vendor dashboard you can view your recent commissions, view the "
4281
+ #~ "sales report and manage your store and payment settings."
4282
+ #~ msgstr ""
4283
+ #~ "Desde tu escritorio de vendedor puedes ver tus comisiones recientes, ver "
4284
+ #~ "el informe de ventas y administrar tu tienda y ajustes de pago."
4285
+
4286
+ # clica por haz clic
4287
+ #~ msgid ""
4288
+ #~ "Click <a href=\"%s\">here</a> to access <strong>%s dashboard</strong>."
4289
+ #~ msgstr ""
4290
+ #~ "Haz clic <a href=\"%s\">aquí</a> para acceder al <strong>%s escritorio</"
4291
+ #~ "strong>."
4292
+
4293
+ #~ msgctxt "[Part of]: Register as a vendor"
4294
+ #~ msgid "Register as a"
4295
+ #~ msgstr "Registrarse como"
4296
+
4297
+ #~ msgid "Owner First Name *"
4298
+ #~ msgstr "Nombre del propietario *"
4299
+
4300
+ # cambiada traducción
4301
+ #~ msgid "Owner Last Name *"
4302
+ #~ msgstr "Apellidos del propietario *"
4303
+
4304
+ #~ msgid "Report an abuse for product %s"
4305
+ #~ msgstr "Informar de un abuso sobre el producto %s"
4306
+
4307
+ #~ msgid "in vendor shop %s"
4308
+ #~ msgstr "%s en la tienda del vendedor"
4309
+
4310
+ #~ msgid "Leave a message explaining the reasons for your abuse report"
4311
+ #~ msgstr "Deja un mensaje explicando las razones de tu informe de abuso"
4312
+
4313
+ #~ msgid "You can't create more vendor with the same shop owner."
4314
+ #~ msgstr "Puedes crear más vendedores con el mismo propietario de tienda."
4315
+
4316
+ #~ msgid "<a href=\"%s\" target=\"_blank\">%s</a>"
4317
+ #~ msgstr "<a href=\"%s\" target=\"_blank\">%s</a>"
4318
+
4319
+ #~ msgid "Vendor's new account approvation"
4320
+ #~ msgstr "Aprobación de nueva cuenta del vendedor"
4321
+
4322
+ #~ msgid ""
4323
+ #~ "If you enable this option, vendors will be able to SMS notifications for "
4324
+ #~ "their orders."
4325
+ #~ msgstr "Si habilitas esta opción, los vendedores podrán enviar."
4326
+
4327
+ #~ msgid "This sets the page where add the \"become a vendor\" form."
4328
+ #~ msgstr ""
4329
+ #~ "Esto establece la página donde añadir el formulario \"Convertirse en "
4330
+ #~ "vendedor\"."
4331
+
4332
+ #~ msgid ""
4333
+ #~ "Change the default image height for header. Set width to zero to use "
4334
+ #~ "original image width (Default: 0 px)."
4335
+ #~ msgstr ""
4336
+ #~ "Cambia la altura de imagen predeterminada para el encabezado. Ajusta el "
4337
+ #~ "ancho a cero para usar el ancho de la imagen original (Predeterminado: 0 "
4338
+ #~ "px)."
4339
+
4340
+ #~ msgid "Tax in commission calculations managemnet"
4341
+ #~ msgstr "Impuesto en la gestión de cálculos de comisiones"
4342
+
4343
+ #~ msgid "Register as a vendor"
4344
+ #~ msgstr "Registrarse como vendedor"
4345
+
4346
+ #~ msgid "%s net sales in this period"
4347
+ #~ msgstr "%s de ventas netas en este período"
4348
+
4349
+ #~ msgid "Tax handling"
4350
+ #~ msgstr "Gestión de impuestos"
4351
+
4352
+ #~ msgid "Include tax in commission calculations"
4353
+ #~ msgstr "Incluir impuestos en los cálculos de comisiones"
4354
+
4355
+ #~ msgid ""
4356
+ #~ "Decide whether vendor commissions have to be calculated including tax "
4357
+ #~ "value or not."
4358
+ #~ msgstr ""
4359
+ #~ "Decide si las comisiones de los vendedores deben calcularse incluyendo el "
4360
+ #~ "valor del impuesto o no."
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.mo CHANGED
Binary file
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
- "POT-Creation-Date: 2017-10-12 10:16+0200\n"
5
- "PO-Revision-Date: 2017-10-12 10:16+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
@@ -72,7 +72,7 @@ msgstr "In corso"
72
 
73
  #: includes/class.yith-commissions.php:290
74
  #: includes/class.yith-commissions.php:291
75
- #: includes/class.yith-commissions.php:1450
76
  #: includes/class.yith-vendors-admin.php:184
77
  msgid "Commissions"
78
  msgstr "Commissioni"
@@ -83,7 +83,7 @@ msgstr "Commissioni venditore"
83
 
84
  #: includes/class.yith-commissions.php:395
85
  msgid "Earnings by vendor"
86
- msgstr ""
87
 
88
  #: includes/class.yith-commissions.php:413
89
  #, php-format
@@ -95,123 +95,124 @@ msgstr "Dettagli commissione #%d"
95
  msgid "%1$s &lsaquo; %2$s &#8212; WordPress"
96
  msgstr "%1$s &lsaquo; %2$s &#8212; WordPress"
97
 
98
- #: includes/class.yith-commissions.php:902
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  msgctxt "[Admin]: Option description"
100
  msgid "Credit taxes to the website admin"
101
- msgstr ""
102
 
103
- #: includes/class.yith-commissions.php:903
104
  msgctxt "[Admin]: Option description"
105
  msgid "Split tax by percentage between website admin and vendor"
106
  msgstr ""
 
107
 
108
- #: includes/class.yith-commissions.php:904
109
  msgctxt "[Admin]: Option description"
110
  msgid "Credit taxes to the vendor"
111
- msgstr ""
112
 
113
- #: includes/class.yith-commissions.php:909
114
  msgctxt "means: Vendor commission have been calculated: tax included"
115
  msgid "included"
116
- msgstr ""
117
 
118
- #: includes/class.yith-commissions.php:909
119
  msgctxt "means: Vendor commission have been calculated: tax excluded"
120
  msgid "excluded"
121
- msgstr ""
122
 
123
- #: includes/class.yith-commissions.php:912
124
  msgctxt "part of: tax included or tax excluded"
125
  msgid "tax"
126
- msgstr ""
127
 
128
- #: includes/class.yith-commissions.php:919
129
  msgctxt "part of: Vendor commission have been calculated: tax included"
130
  msgid "Vendor commission have been calculated"
131
- msgstr ""
132
 
133
- #: includes/class.yith-commissions.php:920
134
  msgctxt "part of: coupon included or coupon excluded"
135
  msgid "coupon"
136
- msgstr ""
137
-
138
- #: includes/class.yith-commissions.php:1306
139
- #, php-format
140
- msgid "Refunded %s from order"
141
- msgstr "Rimborsato %s dall'ordine"
142
-
143
- #: includes/class.yith-commissions.php:1325
144
- msgid "Order Refunded"
145
- msgstr ""
146
-
147
- #: includes/class.yith-commissions.php:1360
148
- #, php-format
149
- msgid "Cancelled %s refund from order"
150
- msgstr "Annullato rimborso di %s dall'ordine"
151
 
152
- #: includes/class.yith-commissions.php:1487 includes/class.yith-orders.php:1671
153
- msgid "commission_id"
154
- msgstr "id_commissione"
155
-
156
- #: includes/class.yith-orders.php:226
157
  #, php-format
158
  msgid "Order &ndash; %s"
159
  msgstr "Ordine &ndash; %s"
160
 
161
- #: includes/class.yith-orders.php:226
162
  msgctxt "Order date parsed by strftime"
163
  msgid "%b %d, %Y @ %I:%M %p"
164
  msgstr "%d %b, %Y @ %I:%M %p"
165
 
166
- #: includes/class.yith-orders.php:392
167
  #, php-format
168
  msgid "Error %d: Unable to create order. Please try again."
169
- msgstr ""
170
 
171
- #: includes/class.yith-orders.php:532 includes/class.yith-orders.php:914
172
  msgctxt "Order note"
173
  msgid "Update by admin: "
174
  msgstr "Aggiornamento dell'amministratore: "
175
 
176
- #: includes/class.yith-orders.php:907
177
  msgid "Delete note"
178
  msgstr "Cancella nota"
179
 
180
- #: includes/class.yith-orders.php:1016
181
  #, php-format
182
  msgid "Item #%s stock reduced from %s to %s."
183
  msgstr "Riserve articolo #%s ridotte da %s a %s."
184
 
185
- #: includes/class.yith-orders.php:1020
186
  #, php-format
187
  msgid "Item #%s stock increased from %s to %s."
188
  msgstr "Riserve articolo #%s aumentate da %s a %s."
189
 
190
- #: includes/class.yith-orders.php:1672
191
  msgid "status"
192
- msgstr ""
193
 
194
- #: includes/class.yith-orders.php:1739
195
  msgctxt "Admin: Order table column"
196
  msgid "Suborders"
197
  msgstr "Sottordini"
198
 
199
- #: includes/class.yith-orders.php:1743
200
  msgctxt "Admin: Order table column"
201
  msgid "Vendor"
202
- msgstr ""
203
 
204
- #: includes/class.yith-orders.php:1791 includes/class.yith-orders.php:1876
205
  msgctxt "Order table details"
206
  msgid "in"
207
- msgstr ""
208
 
209
- #: includes/class.yith-orders.php:1833
210
  msgctxt "Admin: Single order page. Suborder details box"
211
  msgid "Suborders"
212
  msgstr "Sottordini"
213
 
214
- #: includes/class.yith-orders.php:1833
215
  msgid ""
216
  "Note: from this box you can monitor the status of suborders associated to "
217
  "individual vendors."
@@ -219,45 +220,47 @@ msgstr ""
219
  "N.B.: da questa casella puoi controllare lo stato dei sotto-ordini associati "
220
  "ai singoli venditori."
221
 
222
- #: includes/class.yith-orders.php:1838
223
  msgctxt "Admin: Single order page. Parent order details box"
224
  msgid "Parent order"
225
  msgstr "Ordine padre"
226
 
227
- #: includes/class.yith-orders.php:1845
228
  msgctxt "Admin: Single order page. Parent order details box"
229
  msgid "Parent order id"
230
- msgstr ""
231
 
232
- #: includes/class.yith-orders.php:1877
233
- #: includes/lib/class.yith-commissions-list-table.php:329
234
  #: templates/admin/commission-view.php:213
235
  msgid "Vendor deleted"
236
  msgstr "Venditore eliminato"
237
 
238
- #: includes/class.yith-orders.php:1888
239
  msgctxt "Admin: single order page. Link to parent order"
240
  msgid "Return to main order"
241
  msgstr "Torna all'ordine principale"
242
 
243
- #: includes/class.yith-orders.php:1893
244
  msgid ""
245
  "Pass this ID over to the website administrator for any communication related "
246
  "to this order"
247
  msgstr ""
 
 
248
 
249
- #: includes/class.yith-orders.php:2215
250
  #, php-format
251
  msgid "File %d"
252
- msgstr ""
253
 
254
  #: includes/class.yith-vendors-admin.php:185
255
- #: includes/class.yith-vendors.php:371
256
  msgid "Vendors"
257
  msgstr "Venditori"
258
 
259
  #: includes/class.yith-vendors-admin.php:186
260
- #: includes/class.yith-vendors-admin.php:1124
261
  msgid "Premium Version"
262
  msgstr "Versione premium"
263
 
@@ -266,7 +269,7 @@ msgstr "Versione premium"
266
  msgid "Multi Vendor"
267
  msgstr "Multi Vendor"
268
 
269
- #: includes/class.yith-vendors-admin.php:445
270
  #, php-format
271
  msgid ""
272
  "You do not have permission to edit this product. %1$sClick here to view and "
@@ -275,167 +278,169 @@ msgstr ""
275
  "Non hai le autorizzazioni necessarie per modificare questo prodotto. %1$sFai "
276
  "clic qui per visualizzare e modificare i tuoi prodotti%2$s."
277
 
278
- #: includes/class.yith-vendors-admin.php:452
279
  #, php-format
280
  msgid ""
281
  "You do not have permission to edit this order. %1$sClick here to view and "
282
  "edit your orders%2$s."
283
  msgstr ""
 
 
284
 
285
- #: includes/class.yith-vendors-admin.php:499
286
- #: includes/class.yith-vendors-admin.php:500
287
  msgid "Vendor Profile"
288
  msgstr "Profilo venditore"
289
 
290
- #: includes/class.yith-vendors-admin.php:572
291
  msgid "VAT/SSN"
292
  msgstr "IVA/C.F."
293
 
294
- #: includes/class.yith-vendors-admin.php:577
295
- #: includes/class.yith-vendors-admin.php:610
296
  msgid "Search for a customer&hellip;"
297
- msgstr ""
298
 
299
- #: includes/class.yith-vendors-admin.php:619
300
  msgid "Search for a shop admins&hellip;"
301
- msgstr ""
302
 
303
- #: includes/class.yith-vendors-admin.php:658
304
- #: includes/class.yith-vendors-admin.php:679
305
- #: includes/class.yith-vendors-admin.php:1854
306
  msgid "A vendor with this name already exists."
307
  msgstr "Esiste già un venditore con questo nome."
308
 
309
- #: includes/class.yith-vendors-admin.php:659
310
  msgid "Vendor name already exists"
311
  msgstr "Questo nome venditore esiste già"
312
 
313
- #: includes/class.yith-vendors-admin.php:685
314
- #: includes/class.yith-vendors-admin.php:1859
315
- msgid "You can't create more vendor with the same shop owner."
316
  msgstr ""
317
 
318
- #: includes/class.yith-vendors-admin.php:1036
319
  #, php-format
320
  msgid "No %s"
321
  msgstr "Nessun %s"
322
 
323
- #: includes/class.yith-vendors-admin.php:1119
324
  msgid "Settings"
325
  msgstr "Impostazioni"
326
 
327
- #: includes/class.yith-vendors-admin.php:1120
328
- #: includes/class.yith-vendors-admin.php:1661
329
  msgid "Premium live demo"
330
  msgstr "Anteprima premium"
331
 
332
- #: includes/class.yith-vendors-admin.php:1120
333
  msgid "Live demo"
334
  msgstr "Anteprima"
335
 
336
- #: includes/class.yith-vendors-admin.php:1148
337
  msgid "Plugin Documentation"
338
  msgstr "Documentazione plugin"
339
 
340
- #: includes/class.yith-vendors-admin.php:1252
341
  msgid "Visit Store"
342
  msgstr "Visita lo store"
343
 
344
- #: includes/class.yith-vendors-admin.php:1644
345
  msgid "Plugin documentation"
346
- msgstr ""
347
 
348
- #: includes/class.yith-vendors-admin.php:1651
349
  msgid "Discover the premium version"
350
- msgstr ""
351
 
352
- #: includes/class.yith-vendors-admin.php:1656
353
  msgid "Free Vs Premium"
354
- msgstr ""
355
 
356
- #: includes/class.yith-vendors-admin.php:1666
357
  msgid "WordPress support forum"
358
- msgstr ""
359
 
360
- #: includes/class.yith-vendors-admin.php:1671
361
- #: includes/class.yith-vendors-admin.php:1683
362
  msgid "Changelog"
363
- msgstr ""
364
 
365
- #: includes/class.yith-vendors-admin.php:1678
366
  msgid "Support platform"
367
- msgstr ""
368
 
369
- #: includes/class.yith-vendors-admin.php:1683
370
  msgid "current version"
371
- msgstr ""
372
 
373
- #: includes/class.yith-vendors-admin.php:1688
374
  msgid "PayPal sandbox test accounts"
375
- msgstr ""
376
 
377
- #: includes/class.yith-vendors-admin.php:1693
378
  msgid "Enable PayPal MassPay"
379
- msgstr ""
380
 
381
- #: includes/class.yith-vendors-admin.php:1849
382
  msgid "Option Saved"
383
- msgstr ""
384
 
385
- #: includes/class.yith-vendors.php:369 includes/class.yith-vendors.php:370
386
  #: templates/admin/commission-view.php:207
387
  msgid "Vendor"
388
  msgstr "Venditore"
389
 
390
- #: includes/class.yith-vendors.php:372
391
  msgid "Search Vendors"
392
  msgstr "Cerca venditori"
393
 
394
- #: includes/class.yith-vendors.php:373
395
  msgid "All Vendors"
396
  msgstr "Tutti i venditori"
397
 
398
- #: includes/class.yith-vendors.php:374
399
  msgid "Parent Vendor"
400
  msgstr "Venditore padre"
401
 
402
- #: includes/class.yith-vendors.php:375
403
  msgid "Parent Vendor:"
404
  msgstr "Venditore padre:"
405
 
406
- #: includes/class.yith-vendors.php:376
407
  msgid "View Vendor"
408
  msgstr "Visualizza venditore"
409
 
410
- #: includes/class.yith-vendors.php:377
411
  msgid "Edit Vendor"
412
  msgstr "Modifica venditore"
413
 
414
- #: includes/class.yith-vendors.php:378
415
  msgid "Update Vendor"
416
  msgstr "Aggiorna venditore"
417
 
418
- #: includes/class.yith-vendors.php:379
419
  msgid "Add New Vendor"
420
  msgstr "Aggiungi nuovo venditore"
421
 
422
- #: includes/class.yith-vendors.php:380
423
  msgid "New Vendor's Name"
424
  msgstr "Nome nuovo venditore"
425
 
426
- #: includes/class.yith-vendors.php:382
427
  msgid "Separate vendors with commas"
428
  msgstr "Utilizza la virgola per separare i venditori"
429
 
430
- #: includes/class.yith-vendors.php:383
431
  msgid "Add or remove vendors"
432
  msgstr "Aggiungi o rimuovi venditori"
433
 
434
- #: includes/class.yith-vendors.php:384
435
  msgid "Choose from most used vendors"
436
  msgstr "Scegli tra gli shop venditori più utilizzati"
437
 
438
- #: includes/class.yith-vendors.php:385
439
  msgid "No vendors found"
440
  msgstr "Nessun venditore trovato"
441
 
@@ -468,7 +473,7 @@ msgstr "Utente"
468
  #: includes/lib/class.yith-commissions-list-table.php:66
469
  #: templates/admin/premium.php:849
470
  msgid "IBAN/BIC"
471
- msgstr ""
472
 
473
  #: includes/lib/class.yith-commissions-list-table.php:67
474
  msgid "Amount"
@@ -507,36 +512,36 @@ msgstr "%s per %s"
507
  #: includes/lib/class.yith-commissions-list-table.php:294
508
  msgctxt "[admin]: commission type"
509
  msgid "Shipping fee"
510
- msgstr ""
511
 
512
  #: includes/lib/class.yith-commissions-list-table.php:317
513
  #: templates/admin/commission-view.php:202
514
  msgid "User deleted"
515
  msgstr "Utente eliminato"
516
 
517
- #: includes/lib/class.yith-commissions-list-table.php:350
518
  msgid "View"
519
  msgstr "Visualizza"
520
 
521
- #: includes/lib/class.yith-commissions-list-table.php:355
522
- #: includes/lib/class.yith-commissions-list-table.php:373
523
  #: templates/admin/commission-view.php:183
524
  msgid "Y/m/d g:i:s A"
525
  msgstr "Y/m/d g:i:s A"
526
 
527
- #: includes/lib/class.yith-commissions-list-table.php:362
528
- #: includes/lib/class.yith-commissions-list-table.php:380
529
  #: templates/admin/commission-view.php:184
530
  #, php-format
531
  msgid "%s ago"
532
  msgstr "%s fa"
533
 
534
- #: includes/lib/class.yith-commissions-list-table.php:365
535
- #: includes/lib/class.yith-commissions-list-table.php:382
536
  msgid "Y/m/d"
537
  msgstr "Y/m/d"
538
 
539
- #: includes/lib/class.yith-commissions-list-table.php:414
540
  msgid "No commissions found."
541
  msgstr "Nessuna commissione trovata."
542
 
@@ -699,17 +704,17 @@ msgstr "Ancora non sono presenti note."
699
  #: templates/admin/commission-view.php:107
700
  msgctxt "[admin] part of commission details"
701
  msgid "Commission"
702
- msgstr ""
703
 
704
  #: templates/admin/commission-view.php:107
705
  msgctxt "[admin] part of shipping fee details"
706
  msgid "Shipping fee"
707
- msgstr ""
708
 
709
  #: templates/admin/commission-view.php:108
710
  msgctxt "[admin] part of commission details"
711
  msgid "details"
712
- msgstr ""
713
 
714
  #: templates/admin/commission-view.php:162
715
  #, php-format
@@ -735,7 +740,7 @@ msgstr "PayPal"
735
 
736
  #: templates/admin/commission-view.php:222
737
  msgid "Email address not set "
738
- msgstr ""
739
 
740
  #: templates/admin/commission-view.php:230
741
  msgid "Billing information"
@@ -764,12 +769,12 @@ msgstr "Qtà"
764
  #: templates/admin/commission-view.php:306
765
  #: templates/admin/commission-view.php:626
766
  msgid "Total"
767
- msgstr ""
768
 
769
  #: templates/admin/commission-view.php:311
770
  #: templates/admin/commission-view.php:312
771
  msgid "Tax"
772
- msgstr ""
773
 
774
  #: templates/admin/commission-view.php:337
775
  msgid "Product ID:"
@@ -790,11 +795,11 @@ msgstr "Codice SKU prodotto:"
790
 
791
  #: templates/admin/commission-view.php:503
792
  msgid "Pre-discount:"
793
- msgstr ""
794
 
795
  #: templates/admin/commission-view.php:507
796
  msgid "Total:"
797
- msgstr ""
798
 
799
  #: templates/admin/commission-view.php:534
800
  msgid "Refund"
@@ -1264,7 +1269,7 @@ msgstr ""
1264
 
1265
  #: templates/admin/premium.php:814
1266
  msgid "Advanced editor"
1267
- msgstr ""
1268
 
1269
  #: templates/admin/premium.php:817
1270
  msgid ""
@@ -1325,7 +1330,7 @@ msgstr ""
1325
 
1326
  #: templates/admin/premium.php:913
1327
  msgid "Google API Key"
1328
- msgstr ""
1329
 
1330
  #: templates/admin/premium.php:916
1331
  msgid ""
@@ -1406,7 +1411,7 @@ msgstr "Descrizione:"
1406
 
1407
  #: templates/admin/vendor-admin.php:45
1408
  msgid "Commission Rate: "
1409
- msgstr "Tasso di commissione:"
1410
 
1411
  #: templates/admin/vendor-admin.php:52
1412
  msgid "Vendor's selling status: "
@@ -1429,23 +1434,26 @@ msgstr ""
1429
  msgid "by"
1430
  msgstr "da"
1431
 
1432
- #~ msgid "Commission %s Details"
1433
- #~ msgstr "Dettagli commissione %s"
 
1434
 
1435
- #~ msgid ""
1436
- #~ "User that can manage products in this vendor shop and view sale reports."
1437
  #~ msgstr ""
1438
- #~ "Utente che può gestire i prodotti in questa pagina venditore e "
1439
- #~ "visualizzarne i report delle vendite."
1440
 
1441
- #~ msgid "Commission date"
1442
- #~ msgstr "Data della commissione"
 
 
1443
 
1444
- #~ msgid "in"
1445
- #~ msgstr "in"
1446
 
1447
- #~ msgid "Search users"
1448
- #~ msgstr "Cerca utenti"
 
1449
 
1450
  #~ msgid "Sale Commissions"
1451
  #~ msgstr "Commissioni vendita"
@@ -1456,6 +1464,9 @@ msgstr "da"
1456
  #~ msgid "Registered Vendors"
1457
  #~ msgstr "Venditori registrati"
1458
 
 
 
 
1459
  #~ msgid "Export CSV"
1460
  #~ msgstr "Esporta CSV"
1461
 
@@ -1471,6 +1482,9 @@ msgstr "da"
1471
  #~ msgid "Last 7 Days"
1472
  #~ msgstr "Ultimi 7 giorni"
1473
 
 
 
 
1474
  #~ msgid "Payments"
1475
  #~ msgstr "Pagamenti"
1476
 
@@ -1480,12 +1494,22 @@ msgstr "da"
1480
  #~ msgid "Reports"
1481
  #~ msgstr "Report"
1482
 
 
 
 
 
 
 
 
1483
  #~ msgid "Front page"
1484
  #~ msgstr "Pagina principale"
1485
 
1486
  #~ msgid "Vendor settings"
1487
  #~ msgstr "Impostazioni venditore"
1488
 
 
 
 
1489
  #~ msgid "Choose an image"
1490
  #~ msgstr "Seleziona un\\'immagine"
1491
 
@@ -1522,21 +1546,6 @@ msgstr "da"
1522
  #~ msgid "Payment threshold"
1523
  #~ msgstr "Soglia di pagamento"
1524
 
1525
- #~ msgid "Facebook"
1526
- #~ msgstr "Facebook"
1527
-
1528
- #~ msgid "Twitter"
1529
- #~ msgstr "Twitter"
1530
-
1531
- #~ msgid "Google+"
1532
- #~ msgstr "Google+"
1533
-
1534
- #~ msgid "Linkedin"
1535
- #~ msgstr "LinkedIn"
1536
-
1537
- #~ msgid "Youtube"
1538
- #~ msgstr "Youtube"
1539
-
1540
  #~ msgid ""
1541
  #~ "Are you sure? If you click \"YES\" you change skip review option for each "
1542
  #~ "vendor"
@@ -1563,7 +1572,7 @@ msgstr "da"
1563
  #~ msgstr ""
1564
  #~ "Puoi impostare una commissione specifica per un singolo prodotto. "
1565
  #~ "Inserisci zero o lascia il campo vuoto per utilizzare la commissione del "
1566
- #~ "venditore."
1567
 
1568
  #~ msgid ""
1569
  #~ "You do not have sufficient permissions to access this page. %1$sClick "
@@ -1593,6 +1602,13 @@ msgstr "da"
1593
  #~ "Non hai le autorizzazioni necessarie per modificare questo coupon. "
1594
  #~ "%1$sFai clic qui per visualizzare e modificare i tuoi coupon%2$s."
1595
 
 
 
 
 
 
 
 
1596
  #~ msgid ""
1597
  #~ "You do not have permission to edit this review. %1$sClick here to view "
1598
  #~ "and edit your product reviews%2$s."
@@ -1606,12 +1622,6 @@ msgstr "da"
1606
  #~ msgid "Recent comments"
1607
  #~ msgstr "Commenti recenti"
1608
 
1609
- #~ msgid "Comments"
1610
- #~ msgstr "Commenti"
1611
-
1612
- #~ msgid "No activity yet!"
1613
- #~ msgstr "Ancora non è stata svolta alcuna attività"
1614
-
1615
  #~ msgid "out of 5"
1616
  #~ msgstr "di 5"
1617
 
@@ -1625,8 +1635,8 @@ msgstr "da"
1625
  #~ msgid "Sold by"
1626
  #~ msgstr "Venduto da"
1627
 
1628
- #~ msgid "Warning: "
1629
- #~ msgstr "Attenzione:"
1630
 
1631
  #~ msgid ""
1632
  #~ "vendor shops have no owner set. Please, set an owner for each vendor shop "
@@ -1638,18 +1648,42 @@ msgstr "da"
1638
  #~ msgid "Go to Vendor page to fix it."
1639
  #~ msgstr "Vai alla pagina venditori per correggere."
1640
 
1641
- #~ msgid ""
1642
- #~ "vendor shops have no VAT/SSN set. Please, set VAT/SSN field for each "
1643
- #~ "vendor shop"
1644
- #~ msgstr ""
1645
- #~ "Non è stata specificata una partita IVA o il codice fiscale per gli shop "
1646
- #~ "venditore. Per favore, compila il campo per ogni shop."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1647
 
1648
  #~ msgid ""
1649
  #~ "Please, set the VAT/SSN field to complete your profile in \"Vendor profile"
1650
  #~ "\""
1651
  #~ msgstr ""
1652
- #~ "Per favore, imposta il campo IVA/C.F. per completare il tuo profilo da "
1653
  #~ "\"Profilo venditore\""
1654
 
1655
  #~ msgid "Go to Vendor details page to fix it."
@@ -1658,6 +1692,26 @@ msgstr "da"
1658
  #~ msgid "Become a vendor"
1659
  #~ msgstr "Diventa un venditore"
1660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1661
  #~ msgid "Commission paid via PayPal (txn ID: %s)"
1662
  #~ msgstr "Commissione pagata tramite PayPal (txn ID: %s)"
1663
 
@@ -1687,20 +1741,40 @@ msgstr "da"
1687
  #~ msgstr "Il campo \"Indirizzo negozio\" è obbligatorio"
1688
 
1689
  #~ msgid "The Email field is mandatory"
1690
- #~ msgstr "Il campo \"Email\" è obbligatorio"
1691
 
1692
  #~ msgid "The Email address entered is not valid"
1693
  #~ msgstr "L'indirizzo email inserito non è valido"
1694
 
 
 
 
 
 
 
1695
  #~ msgid "The Telephone field is mandatory"
1696
  #~ msgstr "Il campo \"Telefono\" è obbligatorio"
1697
 
1698
- #~ msgid "The VAT/SSN field is mandatory"
1699
- #~ msgstr "Il campo IVA/C.F. è obbligatorio"
 
 
 
 
 
1700
 
1701
  #~ msgid "Insert the vendor name"
1702
  #~ msgstr "Inserisci il nome del venditore"
1703
 
 
 
 
 
 
 
 
 
 
1704
  #~ msgid "Report"
1705
  #~ msgstr "Invia segnalazione"
1706
 
@@ -1730,6 +1804,74 @@ msgstr "da"
1730
  #~ msgid "Sold by"
1731
  #~ msgstr "Venduto da"
1732
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1733
  #~ msgid "Cancelled order (to vendor)"
1734
  #~ msgstr "Ordine annullato (venditore)"
1735
 
@@ -1779,6 +1921,14 @@ msgstr "da"
1779
  #~ msgid "Choose email format."
1780
  #~ msgstr "Scegli formato email."
1781
 
 
 
 
 
 
 
 
 
1782
  #~ msgid "Commission paid (for Admin)"
1783
  #~ msgstr "Commissione pagata (amministratore)"
1784
 
@@ -1851,14 +2001,17 @@ msgstr "da"
1851
  #~ msgid "[{site_title}] - New Vendor Registration"
1852
  #~ msgstr "[{site_title}] - Registrazione nuovo venditore"
1853
 
1854
- #~ msgid "Commission paid (for Vendor)"
1855
- #~ msgstr "Commissione pagata (venditore)"
1856
 
1857
- #~ msgid "New commissions have been credited to vendor"
1858
- #~ msgstr "Sono state accreditate nuove commissioni al venditore"
1859
 
1860
- #~ msgid "Vendor's Commission paid"
1861
- #~ msgstr "Commissione venditore pagata"
 
 
 
1862
 
1863
  #~ msgid "Enable notification for this email"
1864
  #~ msgstr "Abilita notifiche email"
@@ -1866,7 +2019,28 @@ msgstr "da"
1866
  #~ msgid "Choose format for the email that will be sent."
1867
  #~ msgstr "Scegli il formato dell'email da inviare."
1868
 
1869
- #~ msgid "Vendor's new account approvation"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1870
  #~ msgstr "Approvazione nuovo account venditore"
1871
 
1872
  #~ msgid ""
@@ -1878,7 +2052,7 @@ msgstr "da"
1878
 
1879
  #~ msgid "Your vendor account on the website {site_title} has been approved."
1880
  #~ msgstr ""
1881
- #~ "Il tuo account venditore sul sito sito {site_title} è stato approvato"
1882
 
1883
  #~ msgid "Welcome to {site_title}"
1884
  #~ msgstr "Benvenuto su {site_title}"
@@ -1889,17 +2063,26 @@ msgstr "da"
1889
  #~ msgid "Payment sent"
1890
  #~ msgstr "Pagamento inviato"
1891
 
1892
- #~ msgid "Change to"
1893
- #~ msgstr "Passa a"
 
 
 
1894
 
1895
  #~ msgid "Pay"
1896
  #~ msgstr "Paga"
1897
 
 
 
 
 
 
 
1898
  #~ msgid "All"
1899
  #~ msgstr "Tutte"
1900
 
1901
  #~ msgid "Ship to"
1902
- #~ msgstr "Invia a "
1903
 
1904
  #~ msgid "Search for a product&hellip;"
1905
  #~ msgstr "Cerca un prodotto&hellip;"
@@ -1914,7 +2097,7 @@ msgstr "da"
1914
  #~ msgstr "Passa stato a"
1915
 
1916
  #~ msgid "Via"
1917
- #~ msgstr "per"
1918
 
1919
  #~ msgid "Order status:"
1920
  #~ msgstr "Stato ordine:"
@@ -1923,20 +2106,197 @@ msgstr "da"
1923
  #~ msgid "Trashed"
1924
  #~ msgstr "Eliminato"
1925
 
1926
- #~ msgid "Coupon Data"
1927
- #~ msgstr "Informazioni coupon"
1928
-
1929
- #~ msgid "General"
1930
- #~ msgstr "Generali"
1931
 
1932
- #~ msgid "Usage Restriction"
1933
- #~ msgstr "Limitazioni di utilizzo"
1934
 
1935
- #~ msgid "Usage Limits"
1936
- #~ msgstr "Limiti di utilizzo"
1937
 
1938
- #~ msgid "Discount type"
1939
- #~ msgstr "Tipo di sconto"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1940
 
1941
  #~ msgid "Coupon amount"
1942
  #~ msgstr "Importo coupon"
@@ -2021,7 +2381,10 @@ msgstr "da"
2021
  #~ msgid ""
2022
  #~ "List of allowed emails to check against the customer's billing email when "
2023
  #~ "an order is placed. Separate email addresses with commas."
2024
- #~ msgstr "Elenco degli indirizzi email autorizzati da "
 
 
 
2025
 
2026
  #~ msgid "Usage limit per coupon"
2027
  #~ msgstr "Limite di utilizzo per coupon"
@@ -2060,14 +2423,99 @@ msgstr "da"
2060
  #~ "Utilizza email di fatturazione per gli ospiti e ID utente per gli utenti "
2061
  #~ "registrati."
2062
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
+ "POT-Creation-Date: 2017-12-18 11:27+0100\n"
5
+ "PO-Revision-Date: 2017-12-18 11:27+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
72
 
73
  #: includes/class.yith-commissions.php:290
74
  #: includes/class.yith-commissions.php:291
75
+ #: includes/class.yith-commissions.php:1429
76
  #: includes/class.yith-vendors-admin.php:184
77
  msgid "Commissions"
78
  msgstr "Commissioni"
83
 
84
  #: includes/class.yith-commissions.php:395
85
  msgid "Earnings by vendor"
86
+ msgstr "Entrate per venditore"
87
 
88
  #: includes/class.yith-commissions.php:413
89
  #, php-format
95
  msgid "%1$s &lsaquo; %2$s &#8212; WordPress"
96
  msgstr "%1$s &lsaquo; %2$s &#8212; WordPress"
97
 
98
+ #: includes/class.yith-commissions.php:1285
99
+ #, php-format
100
+ msgid "Refunded %s from order"
101
+ msgstr "Rimborsato %s dall'ordine"
102
+
103
+ #: includes/class.yith-commissions.php:1304
104
+ msgid "Order Refunded"
105
+ msgstr "Ordine rimborsato"
106
+
107
+ #: includes/class.yith-commissions.php:1339
108
+ #, php-format
109
+ msgid "Cancelled %s refund from order"
110
+ msgstr "Annullato rimborso di %s dall'ordine"
111
+
112
+ #: includes/class.yith-commissions.php:1466 includes/class.yith-orders.php:1733
113
+ msgid "commission_id"
114
+ msgstr "id_commissione"
115
+
116
+ #: includes/class.yith-commissions.php:1563
117
  msgctxt "[Admin]: Option description"
118
  msgid "Credit taxes to the website admin"
119
+ msgstr "Accredita le tasse all'amministratore del sito"
120
 
121
+ #: includes/class.yith-commissions.php:1564
122
  msgctxt "[Admin]: Option description"
123
  msgid "Split tax by percentage between website admin and vendor"
124
  msgstr ""
125
+ "Dividi le tasse in percentuale tra l'amministratore del sito e il venditore"
126
 
127
+ #: includes/class.yith-commissions.php:1565
128
  msgctxt "[Admin]: Option description"
129
  msgid "Credit taxes to the vendor"
130
+ msgstr "Accredita le tasse ai venditori"
131
 
132
+ #: includes/class.yith-commissions.php:1569
133
  msgctxt "means: Vendor commission have been calculated: tax included"
134
  msgid "included"
135
+ msgstr "incluso"
136
 
137
+ #: includes/class.yith-commissions.php:1569
138
  msgctxt "means: Vendor commission have been calculated: tax excluded"
139
  msgid "excluded"
140
+ msgstr "escluso"
141
 
142
+ #: includes/class.yith-commissions.php:1572
143
  msgctxt "part of: tax included or tax excluded"
144
  msgid "tax"
145
+ msgstr "tasse"
146
 
147
+ #: includes/class.yith-commissions.php:1578
148
  msgctxt "part of: Vendor commission have been calculated: tax included"
149
  msgid "Vendor commission have been calculated"
150
+ msgstr "La commissione venditore è stata calcolata"
151
 
152
+ #: includes/class.yith-commissions.php:1583
153
  msgctxt "part of: coupon included or coupon excluded"
154
  msgid "coupon"
155
+ msgstr "coupon"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
 
157
+ #: includes/class.yith-orders.php:272
 
 
 
 
158
  #, php-format
159
  msgid "Order &ndash; %s"
160
  msgstr "Ordine &ndash; %s"
161
 
162
+ #: includes/class.yith-orders.php:272
163
  msgctxt "Order date parsed by strftime"
164
  msgid "%b %d, %Y @ %I:%M %p"
165
  msgstr "%d %b, %Y @ %I:%M %p"
166
 
167
+ #: includes/class.yith-orders.php:434
168
  #, php-format
169
  msgid "Error %d: Unable to create order. Please try again."
170
+ msgstr "Errore %d: impossibile creare l'ordine. Prova di nuovo."
171
 
172
+ #: includes/class.yith-orders.php:580 includes/class.yith-orders.php:968
173
  msgctxt "Order note"
174
  msgid "Update by admin: "
175
  msgstr "Aggiornamento dell'amministratore: "
176
 
177
+ #: includes/class.yith-orders.php:961
178
  msgid "Delete note"
179
  msgstr "Cancella nota"
180
 
181
+ #: includes/class.yith-orders.php:1072
182
  #, php-format
183
  msgid "Item #%s stock reduced from %s to %s."
184
  msgstr "Riserve articolo #%s ridotte da %s a %s."
185
 
186
+ #: includes/class.yith-orders.php:1076
187
  #, php-format
188
  msgid "Item #%s stock increased from %s to %s."
189
  msgstr "Riserve articolo #%s aumentate da %s a %s."
190
 
191
+ #: includes/class.yith-orders.php:1734
192
  msgid "status"
193
+ msgstr "stato"
194
 
195
+ #: includes/class.yith-orders.php:1802
196
  msgctxt "Admin: Order table column"
197
  msgid "Suborders"
198
  msgstr "Sottordini"
199
 
200
+ #: includes/class.yith-orders.php:1806
201
  msgctxt "Admin: Order table column"
202
  msgid "Vendor"
203
+ msgstr "Venditore"
204
 
205
+ #: includes/class.yith-orders.php:1850 includes/class.yith-orders.php:1940
206
  msgctxt "Order table details"
207
  msgid "in"
208
+ msgstr "in"
209
 
210
+ #: includes/class.yith-orders.php:1892
211
  msgctxt "Admin: Single order page. Suborder details box"
212
  msgid "Suborders"
213
  msgstr "Sottordini"
214
 
215
+ #: includes/class.yith-orders.php:1892
216
  msgid ""
217
  "Note: from this box you can monitor the status of suborders associated to "
218
  "individual vendors."
220
  "N.B.: da questa casella puoi controllare lo stato dei sotto-ordini associati "
221
  "ai singoli venditori."
222
 
223
+ #: includes/class.yith-orders.php:1898
224
  msgctxt "Admin: Single order page. Parent order details box"
225
  msgid "Parent order"
226
  msgstr "Ordine padre"
227
 
228
+ #: includes/class.yith-orders.php:1906
229
  msgctxt "Admin: Single order page. Parent order details box"
230
  msgid "Parent order id"
231
+ msgstr "ID dell'ordine genitore"
232
 
233
+ #: includes/class.yith-orders.php:1941
234
+ #: includes/lib/class.yith-commissions-list-table.php:331
235
  #: templates/admin/commission-view.php:213
236
  msgid "Vendor deleted"
237
  msgstr "Venditore eliminato"
238
 
239
+ #: includes/class.yith-orders.php:1952
240
  msgctxt "Admin: single order page. Link to parent order"
241
  msgid "Return to main order"
242
  msgstr "Torna all'ordine principale"
243
 
244
+ #: includes/class.yith-orders.php:1957
245
  msgid ""
246
  "Pass this ID over to the website administrator for any communication related "
247
  "to this order"
248
  msgstr ""
249
+ "Passa questo ID all'amministratore del sito per qualsiasi comunicazione "
250
+ "relativa a questo ordine"
251
 
252
+ #: includes/class.yith-orders.php:2283
253
  #, php-format
254
  msgid "File %d"
255
+ msgstr "File %d"
256
 
257
  #: includes/class.yith-vendors-admin.php:185
258
+ #: includes/class.yith-vendors.php:380
259
  msgid "Vendors"
260
  msgstr "Venditori"
261
 
262
  #: includes/class.yith-vendors-admin.php:186
263
+ #: includes/class.yith-vendors-admin.php:1129
264
  msgid "Premium Version"
265
  msgstr "Versione premium"
266
 
269
  msgid "Multi Vendor"
270
  msgstr "Multi Vendor"
271
 
272
+ #: includes/class.yith-vendors-admin.php:450
273
  #, php-format
274
  msgid ""
275
  "You do not have permission to edit this product. %1$sClick here to view and "
278
  "Non hai le autorizzazioni necessarie per modificare questo prodotto. %1$sFai "
279
  "clic qui per visualizzare e modificare i tuoi prodotti%2$s."
280
 
281
+ #: includes/class.yith-vendors-admin.php:457
282
  #, php-format
283
  msgid ""
284
  "You do not have permission to edit this order. %1$sClick here to view and "
285
  "edit your orders%2$s."
286
  msgstr ""
287
+ "Non hai i permessi sufficienti per modificare quest'ordine. %1$sFai clic qui "
288
+ "per visualizzare e modificare i tuoi ordini%2$s."
289
 
290
+ #: includes/class.yith-vendors-admin.php:504
291
+ #: includes/class.yith-vendors-admin.php:505
292
  msgid "Vendor Profile"
293
  msgstr "Profilo venditore"
294
 
295
+ #: includes/class.yith-vendors-admin.php:577
296
  msgid "VAT/SSN"
297
  msgstr "IVA/C.F."
298
 
299
+ #: includes/class.yith-vendors-admin.php:582
300
+ #: includes/class.yith-vendors-admin.php:615
301
  msgid "Search for a customer&hellip;"
302
+ msgstr "Cerca un cliente&hellip;"
303
 
304
+ #: includes/class.yith-vendors-admin.php:624
305
  msgid "Search for a shop admins&hellip;"
306
+ msgstr "Cerca l'admin di un negozio&hellip;"
307
 
308
+ #: includes/class.yith-vendors-admin.php:663
309
+ #: includes/class.yith-vendors-admin.php:684
310
+ #: includes/class.yith-vendors-admin.php:1859
311
  msgid "A vendor with this name already exists."
312
  msgstr "Esiste già un venditore con questo nome."
313
 
314
+ #: includes/class.yith-vendors-admin.php:664
315
  msgid "Vendor name already exists"
316
  msgstr "Questo nome venditore esiste già"
317
 
318
+ #: includes/class.yith-vendors-admin.php:690
319
+ #: includes/class.yith-vendors-admin.php:1864
320
+ msgid "You can't associate more vendor shops with the same shop owner."
321
  msgstr ""
322
 
323
+ #: includes/class.yith-vendors-admin.php:1041
324
  #, php-format
325
  msgid "No %s"
326
  msgstr "Nessun %s"
327
 
328
+ #: includes/class.yith-vendors-admin.php:1124
329
  msgid "Settings"
330
  msgstr "Impostazioni"
331
 
332
+ #: includes/class.yith-vendors-admin.php:1125
333
+ #: includes/class.yith-vendors-admin.php:1666
334
  msgid "Premium live demo"
335
  msgstr "Anteprima premium"
336
 
337
+ #: includes/class.yith-vendors-admin.php:1125
338
  msgid "Live demo"
339
  msgstr "Anteprima"
340
 
341
+ #: includes/class.yith-vendors-admin.php:1153
342
  msgid "Plugin Documentation"
343
  msgstr "Documentazione plugin"
344
 
345
+ #: includes/class.yith-vendors-admin.php:1257
346
  msgid "Visit Store"
347
  msgstr "Visita lo store"
348
 
349
+ #: includes/class.yith-vendors-admin.php:1649
350
  msgid "Plugin documentation"
351
+ msgstr "Documentazione del plugin"
352
 
353
+ #: includes/class.yith-vendors-admin.php:1656
354
  msgid "Discover the premium version"
355
+ msgstr "Scopri la versione premium"
356
 
357
+ #: includes/class.yith-vendors-admin.php:1661
358
  msgid "Free Vs Premium"
359
+ msgstr "Versione Gratuita Vs Premium"
360
 
361
+ #: includes/class.yith-vendors-admin.php:1671
362
  msgid "WordPress support forum"
363
+ msgstr "Forum di supporto su WordPress"
364
 
365
+ #: includes/class.yith-vendors-admin.php:1676
366
+ #: includes/class.yith-vendors-admin.php:1688
367
  msgid "Changelog"
368
+ msgstr "Changelog"
369
 
370
+ #: includes/class.yith-vendors-admin.php:1683
371
  msgid "Support platform"
372
+ msgstr "Piattaforma di supporto"
373
 
374
+ #: includes/class.yith-vendors-admin.php:1688
375
  msgid "current version"
376
+ msgstr "versione corrente"
377
 
378
+ #: includes/class.yith-vendors-admin.php:1693
379
  msgid "PayPal sandbox test accounts"
380
+ msgstr "Account sandbox di prova per PayPal"
381
 
382
+ #: includes/class.yith-vendors-admin.php:1698
383
  msgid "Enable PayPal MassPay"
384
+ msgstr "Abilita PayPal MassPay"
385
 
386
+ #: includes/class.yith-vendors-admin.php:1854
387
  msgid "Option Saved"
388
+ msgstr "Opzione salvata"
389
 
390
+ #: includes/class.yith-vendors.php:378 includes/class.yith-vendors.php:379
391
  #: templates/admin/commission-view.php:207
392
  msgid "Vendor"
393
  msgstr "Venditore"
394
 
395
+ #: includes/class.yith-vendors.php:381
396
  msgid "Search Vendors"
397
  msgstr "Cerca venditori"
398
 
399
+ #: includes/class.yith-vendors.php:382
400
  msgid "All Vendors"
401
  msgstr "Tutti i venditori"
402
 
403
+ #: includes/class.yith-vendors.php:383
404
  msgid "Parent Vendor"
405
  msgstr "Venditore padre"
406
 
407
+ #: includes/class.yith-vendors.php:384
408
  msgid "Parent Vendor:"
409
  msgstr "Venditore padre:"
410
 
411
+ #: includes/class.yith-vendors.php:385
412
  msgid "View Vendor"
413
  msgstr "Visualizza venditore"
414
 
415
+ #: includes/class.yith-vendors.php:386
416
  msgid "Edit Vendor"
417
  msgstr "Modifica venditore"
418
 
419
+ #: includes/class.yith-vendors.php:387
420
  msgid "Update Vendor"
421
  msgstr "Aggiorna venditore"
422
 
423
+ #: includes/class.yith-vendors.php:388
424
  msgid "Add New Vendor"
425
  msgstr "Aggiungi nuovo venditore"
426
 
427
+ #: includes/class.yith-vendors.php:389
428
  msgid "New Vendor's Name"
429
  msgstr "Nome nuovo venditore"
430
 
431
+ #: includes/class.yith-vendors.php:391
432
  msgid "Separate vendors with commas"
433
  msgstr "Utilizza la virgola per separare i venditori"
434
 
435
+ #: includes/class.yith-vendors.php:392
436
  msgid "Add or remove vendors"
437
  msgstr "Aggiungi o rimuovi venditori"
438
 
439
+ #: includes/class.yith-vendors.php:393
440
  msgid "Choose from most used vendors"
441
  msgstr "Scegli tra gli shop venditori più utilizzati"
442
 
443
+ #: includes/class.yith-vendors.php:394
444
  msgid "No vendors found"
445
  msgstr "Nessun venditore trovato"
446
 
473
  #: includes/lib/class.yith-commissions-list-table.php:66
474
  #: templates/admin/premium.php:849
475
  msgid "IBAN/BIC"
476
+ msgstr "IBAN/BIC"
477
 
478
  #: includes/lib/class.yith-commissions-list-table.php:67
479
  msgid "Amount"
512
  #: includes/lib/class.yith-commissions-list-table.php:294
513
  msgctxt "[admin]: commission type"
514
  msgid "Shipping fee"
515
+ msgstr "Costi di spedizione"
516
 
517
  #: includes/lib/class.yith-commissions-list-table.php:317
518
  #: templates/admin/commission-view.php:202
519
  msgid "User deleted"
520
  msgstr "Utente eliminato"
521
 
522
+ #: includes/lib/class.yith-commissions-list-table.php:354
523
  msgid "View"
524
  msgstr "Visualizza"
525
 
526
+ #: includes/lib/class.yith-commissions-list-table.php:359
527
+ #: includes/lib/class.yith-commissions-list-table.php:377
528
  #: templates/admin/commission-view.php:183
529
  msgid "Y/m/d g:i:s A"
530
  msgstr "Y/m/d g:i:s A"
531
 
532
+ #: includes/lib/class.yith-commissions-list-table.php:366
533
+ #: includes/lib/class.yith-commissions-list-table.php:384
534
  #: templates/admin/commission-view.php:184
535
  #, php-format
536
  msgid "%s ago"
537
  msgstr "%s fa"
538
 
539
+ #: includes/lib/class.yith-commissions-list-table.php:369
540
+ #: includes/lib/class.yith-commissions-list-table.php:386
541
  msgid "Y/m/d"
542
  msgstr "Y/m/d"
543
 
544
+ #: includes/lib/class.yith-commissions-list-table.php:422
545
  msgid "No commissions found."
546
  msgstr "Nessuna commissione trovata."
547
 
704
  #: templates/admin/commission-view.php:107
705
  msgctxt "[admin] part of commission details"
706
  msgid "Commission"
707
+ msgstr "Commissione"
708
 
709
  #: templates/admin/commission-view.php:107
710
  msgctxt "[admin] part of shipping fee details"
711
  msgid "Shipping fee"
712
+ msgstr "Costo di spedizione"
713
 
714
  #: templates/admin/commission-view.php:108
715
  msgctxt "[admin] part of commission details"
716
  msgid "details"
717
+ msgstr "dettagli"
718
 
719
  #: templates/admin/commission-view.php:162
720
  #, php-format
740
 
741
  #: templates/admin/commission-view.php:222
742
  msgid "Email address not set "
743
+ msgstr "Indirizzo email non impostato "
744
 
745
  #: templates/admin/commission-view.php:230
746
  msgid "Billing information"
769
  #: templates/admin/commission-view.php:306
770
  #: templates/admin/commission-view.php:626
771
  msgid "Total"
772
+ msgstr "Totale"
773
 
774
  #: templates/admin/commission-view.php:311
775
  #: templates/admin/commission-view.php:312
776
  msgid "Tax"
777
+ msgstr "Tasse"
778
 
779
  #: templates/admin/commission-view.php:337
780
  msgid "Product ID:"
795
 
796
  #: templates/admin/commission-view.php:503
797
  msgid "Pre-discount:"
798
+ msgstr "Prima dello sconto:"
799
 
800
  #: templates/admin/commission-view.php:507
801
  msgid "Total:"
802
+ msgstr "Totale:"
803
 
804
  #: templates/admin/commission-view.php:534
805
  msgid "Refund"
1269
 
1270
  #: templates/admin/premium.php:814
1271
  msgid "Advanced editor"
1272
+ msgstr "Editor Avanzato"
1273
 
1274
  #: templates/admin/premium.php:817
1275
  msgid ""
1330
 
1331
  #: templates/admin/premium.php:913
1332
  msgid "Google API Key"
1333
+ msgstr "Chiave API di Google"
1334
 
1335
  #: templates/admin/premium.php:916
1336
  msgid ""
1411
 
1412
  #: templates/admin/vendor-admin.php:45
1413
  msgid "Commission Rate: "
1414
+ msgstr "Percentuale di commissione: "
1415
 
1416
  #: templates/admin/vendor-admin.php:52
1417
  msgid "Vendor's selling status: "
1434
  msgid "by"
1435
  msgstr "da"
1436
 
1437
+ #~ msgctxt "part of: Commission: 19,00$ (50% on product price)"
1438
+ #~ msgid "on product price"
1439
+ #~ msgstr "sul prezzo del prodotto"
1440
 
1441
+ #~ msgid "Vendor commissions have been calculated including coupon value"
 
1442
  #~ msgstr ""
1443
+ #~ "L'importo delle commissioni dei venditori è calcolato al netto degli "
1444
+ #~ "sconti applicati"
1445
 
1446
+ #~ msgid "Vendor commissions have been calculated excluding coupon value"
1447
+ #~ msgstr ""
1448
+ #~ "L'importo delle commissioni dei venditori non tiene conto degli sconti "
1449
+ #~ "applicati"
1450
 
1451
+ #~ msgid "on product price"
1452
+ #~ msgstr "sul prezzo del prodotto"
1453
 
1454
+ #~ msgctxt "Order note"
1455
+ #~ msgid "Sync with vendor's suborders: "
1456
+ #~ msgstr "Sincronizza con i sottordini dei venditori: "
1457
 
1458
  #~ msgid "Sale Commissions"
1459
  #~ msgstr "Commissioni vendita"
1464
  #~ msgid "Registered Vendors"
1465
  #~ msgstr "Venditori registrati"
1466
 
1467
+ #~ msgid "Commissions by Vendor"
1468
+ #~ msgstr "Commissioni per venditore"
1469
+
1470
  #~ msgid "Export CSV"
1471
  #~ msgstr "Esporta CSV"
1472
 
1482
  #~ msgid "Last 7 Days"
1483
  #~ msgstr "Ultimi 7 giorni"
1484
 
1485
+ #~ msgid "Search for a vendor&hellip;"
1486
+ #~ msgstr "Cerca un venditore&hellip;"
1487
+
1488
  #~ msgid "Payments"
1489
  #~ msgstr "Pagamenti"
1490
 
1494
  #~ msgid "Reports"
1495
  #~ msgstr "Report"
1496
 
1497
+ #~ msgid "Add-ons"
1498
+ #~ msgstr "Add-ons"
1499
+
1500
+ #~ msgctxt "Admin menu name"
1501
+ #~ msgid "Orders"
1502
+ #~ msgstr "Ordini"
1503
+
1504
  #~ msgid "Front page"
1505
  #~ msgstr "Pagina principale"
1506
 
1507
  #~ msgid "Vendor settings"
1508
  #~ msgstr "Impostazioni venditore"
1509
 
1510
+ #~ msgid "Header image"
1511
+ #~ msgstr "Immagine header"
1512
+
1513
  #~ msgid "Choose an image"
1514
  #~ msgstr "Seleziona un\\'immagine"
1515
 
1546
  #~ msgid "Payment threshold"
1547
  #~ msgstr "Soglia di pagamento"
1548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1549
  #~ msgid ""
1550
  #~ "Are you sure? If you click \"YES\" you change skip review option for each "
1551
  #~ "vendor"
1572
  #~ msgstr ""
1573
  #~ "Puoi impostare una commissione specifica per un singolo prodotto. "
1574
  #~ "Inserisci zero o lascia il campo vuoto per utilizzare la commissione del "
1575
+ #~ "venditore"
1576
 
1577
  #~ msgid ""
1578
  #~ "You do not have sufficient permissions to access this page. %1$sClick "
1602
  #~ "Non hai le autorizzazioni necessarie per modificare questo coupon. "
1603
  #~ "%1$sFai clic qui per visualizzare e modificare i tuoi coupon%2$s."
1604
 
1605
+ #~ msgid ""
1606
+ #~ "You do not have permission to edit this order. %1$sClick here to view "
1607
+ #~ "your orders%2$s."
1608
+ #~ msgstr ""
1609
+ #~ "Non hai le autorizzazioni necessarie per modificare questo ordine. "
1610
+ #~ "%1$sFai clic qui per visualizzare e modificare i tuoi ordini%2$s."
1611
+
1612
  #~ msgid ""
1613
  #~ "You do not have permission to edit this review. %1$sClick here to view "
1614
  #~ "and edit your product reviews%2$s."
1622
  #~ msgid "Recent comments"
1623
  #~ msgstr "Commenti recenti"
1624
 
 
 
 
 
 
 
1625
  #~ msgid "out of 5"
1626
  #~ msgstr "di 5"
1627
 
1635
  #~ msgid "Sold by"
1636
  #~ msgstr "Venduto da"
1637
 
1638
+ #~ msgid "Warning"
1639
+ #~ msgstr "Attenzione"
1640
 
1641
  #~ msgid ""
1642
  #~ "vendor shops have no owner set. Please, set an owner for each vendor shop "
1648
  #~ msgid "Go to Vendor page to fix it."
1649
  #~ msgstr "Vai alla pagina venditori per correggere."
1650
 
1651
+ #~ msgctxt "part of: vendor shops have no VAT/SSN set"
1652
+ #~ msgid "vendor shops have no"
1653
+ #~ msgstr "i negozi dei singoli venditori non hanno"
1654
+
1655
+ #~ msgctxt "part of: vendor shops have no VAT/SSN set"
1656
+ #~ msgid "set"
1657
+ #~ msgstr "impostata/o"
1658
+
1659
+ #~ msgctxt "part of: Please, set VAT/SSN field for each vendor shop"
1660
+ #~ msgid "Please, set"
1661
+ #~ msgstr "Per favore, compila il campo"
1662
+
1663
+ #~ msgctxt "part of: Please, set VAT/SSN field for each vendor shop"
1664
+ #~ msgid "field for each vendor shop"
1665
+ #~ msgstr "per ogni venditore"
1666
+
1667
+ #~ msgid "Warning: "
1668
+ #~ msgstr "Attenzione: "
1669
+
1670
+ #~ msgctxt ""
1671
+ #~ "part of: Please, set the VAT/SSN field to complete your profile in "
1672
+ #~ "\"Vendor profile\""
1673
+ #~ msgid "Please, set the"
1674
+ #~ msgstr "Per favore, compila il campo"
1675
+
1676
+ #~ msgctxt ""
1677
+ #~ "part of: Please, set the VAT/SSN field to complete your profile in "
1678
+ #~ "\"Vendor profile\""
1679
+ #~ msgid "field to complete your profile in \"Vendor profile\""
1680
+ #~ msgstr "IVA/C.F. per completare il tuo profilo da \"Profilo venditore\""
1681
 
1682
  #~ msgid ""
1683
  #~ "Please, set the VAT/SSN field to complete your profile in \"Vendor profile"
1684
  #~ "\""
1685
  #~ msgstr ""
1686
+ #~ "Per favore, compila il campo IVA/C.F. per completare il tuo profilo da "
1687
  #~ "\"Profilo venditore\""
1688
 
1689
  #~ msgid "Go to Vendor details page to fix it."
1692
  #~ msgid "Become a vendor"
1693
  #~ msgstr "Diventa un venditore"
1694
 
1695
+ #~ msgid "Terms and Conditions for Vendors"
1696
+ #~ msgstr "Termini e Condizioni per venditori"
1697
+
1698
+ #~ msgctxt "Taxonomy Description"
1699
+ #~ msgid "Description"
1700
+ #~ msgstr "Descrizione"
1701
+
1702
+ #~ msgid ""
1703
+ #~ "The description is not prominent by default; however, some themes may "
1704
+ #~ "show it."
1705
+ #~ msgstr ""
1706
+ #~ "La descrizione non è messa in rilievo di default, ma alcuni temi "
1707
+ #~ "potrebbero mostrarla comunque."
1708
+
1709
+ #~ msgid "Cheatin&#8217; uh?"
1710
+ #~ msgstr "Scherzavi, non è vero?"
1711
+
1712
+ #~ msgid "Sorry, you are not allowed to edit comments."
1713
+ #~ msgstr "Spiacente, non ti è permesso modificare questi commenti."
1714
+
1715
  #~ msgid "Commission paid via PayPal (txn ID: %s)"
1716
  #~ msgstr "Commissione pagata tramite PayPal (txn ID: %s)"
1717
 
1741
  #~ msgstr "Il campo \"Indirizzo negozio\" è obbligatorio"
1742
 
1743
  #~ msgid "The Email field is mandatory"
1744
+ #~ msgstr "Il campo email è obbligatorio"
1745
 
1746
  #~ msgid "The Email address entered is not valid"
1747
  #~ msgstr "L'indirizzo email inserito non è valido"
1748
 
1749
+ #~ msgid "The PayPal Email field is mandatory"
1750
+ #~ msgstr "Il campo PayPal è obbligatorio"
1751
+
1752
+ #~ msgid "The PayPal Email address entered is not valid"
1753
+ #~ msgstr "Il campo email PayPal inserito non è valido"
1754
+
1755
  #~ msgid "The Telephone field is mandatory"
1756
  #~ msgstr "Il campo \"Telefono\" è obbligatorio"
1757
 
1758
+ #~ msgctxt "[frontend]: part of sentence. e.g.: The VAT/SSN field is mandatory"
1759
+ #~ msgid "The"
1760
+ #~ msgstr "Il campo"
1761
+
1762
+ #~ msgctxt "[frontend]: part of sentence. e.g.: The VAT/SSN field is mandatory"
1763
+ #~ msgid "field is mandatory"
1764
+ #~ msgstr "è obbligatorio"
1765
 
1766
  #~ msgid "Insert the vendor name"
1767
  #~ msgstr "Inserisci il nome del venditore"
1768
 
1769
+ #~ msgid "A vendor with this name already exists"
1770
+ #~ msgstr "Esiste già un venditore con questo nome"
1771
+
1772
+ #~ msgid "Please, read and accept the terms & conditions"
1773
+ #~ msgstr "Per favore, leggi ed accetta i termini & condizioni"
1774
+
1775
+ #~ msgid "Please, no spam here"
1776
+ #~ msgstr "Per favore, no spam qui"
1777
+
1778
  #~ msgid "Report"
1779
  #~ msgstr "Invia segnalazione"
1780
 
1804
  #~ msgid "Sold by"
1805
  #~ msgstr "Venduto da"
1806
 
1807
+ #~ msgctxt "[Single Product Page]: Tab name for shipping information"
1808
+ #~ msgid "Shipping Info"
1809
+ #~ msgstr "Informazioni di spedizione"
1810
+
1811
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1812
+ #~ msgid "Processing Time"
1813
+ #~ msgstr "Tempo di elaborazione"
1814
+
1815
+ #~ msgctxt "[part of]: Ready to ship in x business day"
1816
+ #~ msgid "Ready to ship in"
1817
+ #~ msgstr "Pronto ad essere spedito entro"
1818
+
1819
+ #~ msgctxt "[part of]: Ready to ship in x business day From Italy"
1820
+ #~ msgid "from"
1821
+ #~ msgstr "da"
1822
+
1823
+ #~ msgctxt "[part of]: Shipping from Italy"
1824
+ #~ msgid "Shipping from"
1825
+ #~ msgstr "Spedizione da"
1826
+
1827
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1828
+ #~ msgid "Shipping policy"
1829
+ #~ msgstr "Politiche di spedizione"
1830
+
1831
+ #~ msgctxt "[single Product Page]: Shipping tab subtitle"
1832
+ #~ msgid "Refund policy"
1833
+ #~ msgstr "Politica di rimborso"
1834
+
1835
+ #~ msgid "Facebook"
1836
+ #~ msgstr "Facebook"
1837
+
1838
+ #~ msgid "Twitter"
1839
+ #~ msgstr "Twitter"
1840
+
1841
+ #~ msgid "Google+"
1842
+ #~ msgstr "Google+"
1843
+
1844
+ #~ msgid "Linkedin"
1845
+ #~ msgstr "LinkedIn"
1846
+
1847
+ #~ msgid "Youtube"
1848
+ #~ msgstr "Youtube"
1849
+
1850
+ #~ msgid "Vimeo"
1851
+ #~ msgstr "Vimeo"
1852
+
1853
+ #~ msgid "Instagram"
1854
+ #~ msgstr "Instagram"
1855
+
1856
+ #~ msgid "Pinterest"
1857
+ #~ msgstr "Pinterest"
1858
+
1859
+ #~ msgid "Flickr"
1860
+ #~ msgstr "Flickr"
1861
+
1862
+ #~ msgid "Behance"
1863
+ #~ msgstr "Behance"
1864
+
1865
+ #~ msgid "Tripadvisor "
1866
+ #~ msgstr "Tripadvisor "
1867
+
1868
+ #~ msgid "YITH Live Chat"
1869
+ #~ msgstr "YITH Live Chat"
1870
+
1871
+ #~ msgctxt "option description"
1872
+ #~ msgid "Use this value to show live chat button"
1873
+ #~ msgstr "Utilizza questo valore per mostrare il pulsante live chat"
1874
+
1875
  #~ msgid "Cancelled order (to vendor)"
1876
  #~ msgstr "Ordine annullato (venditore)"
1877
 
1921
  #~ msgid "Choose email format."
1922
  #~ msgstr "Scegli formato email."
1923
 
1924
+ #~ msgid "Order id"
1925
+ #~ msgstr "ID dell'ordine"
1926
+
1927
+ #~ msgid "Show parent order id instead of vendor suborder id"
1928
+ #~ msgstr ""
1929
+ #~ "Mostra l'ID dell'ordine genitore invece dell'ID del sottordine del "
1930
+ #~ "venditore"
1931
+
1932
  #~ msgid "Commission paid (for Admin)"
1933
  #~ msgstr "Commissione pagata (amministratore)"
1934
 
2001
  #~ msgid "[{site_title}] - New Vendor Registration"
2002
  #~ msgstr "[{site_title}] - Registrazione nuovo venditore"
2003
 
2004
+ #~ msgid "Commissions status changed (bulk action)"
2005
+ #~ msgstr "Stato delle commissioni modificato (da azione di gruppo)"
2006
 
2007
+ #~ msgid "Commissions have been updated"
2008
+ #~ msgstr "Le commissioni sono state aggiornate"
2009
 
2010
+ #~ msgid "Commissions Updated"
2011
+ #~ msgstr "Commissioni aggiornate"
2012
+
2013
+ #~ msgid "[{site_title}] - Commissions Updated"
2014
+ #~ msgstr "[{site_title}] - Commissioni aggiornate"
2015
 
2016
  #~ msgid "Enable notification for this email"
2017
  #~ msgstr "Abilita notifiche email"
2019
  #~ msgid "Choose format for the email that will be sent."
2020
  #~ msgstr "Scegli il formato dell'email da inviare."
2021
 
2022
+ #~ msgid "Show commission note"
2023
+ #~ msgstr "Mostra nota sulle commissioni"
2024
+
2025
+ #~ msgid "Enable commission note column for this email"
2026
+ #~ msgstr "Abilita la colonna Note commissioni per questa email"
2027
+
2028
+ #~ msgid "Send a copy of this email to administrator"
2029
+ #~ msgstr "Invia una copia di questa email all'amministratore"
2030
+
2031
+ #~ msgid "Enable carbon copy to webiste admin email: "
2032
+ #~ msgstr "Abilita la copia per conoscenza per l'email dell'amministratore: "
2033
+
2034
+ #~ msgid "Commission paid (for Vendor)"
2035
+ #~ msgstr "Commissione pagata (venditore)"
2036
+
2037
+ #~ msgid "New commissions have been credited to vendor"
2038
+ #~ msgstr "Sono state accreditate nuove commissioni al venditore"
2039
+
2040
+ #~ msgid "Vendor's Commission paid"
2041
+ #~ msgstr "Commissione venditore pagata"
2042
+
2043
+ #~ msgid "Vendor's new account approval"
2044
  #~ msgstr "Approvazione nuovo account venditore"
2045
 
2046
  #~ msgid ""
2052
 
2053
  #~ msgid "Your vendor account on the website {site_title} has been approved."
2054
  #~ msgstr ""
2055
+ #~ "Il tuo account venditore sul sito sito {site_title} è stato approvato."
2056
 
2057
  #~ msgid "Welcome to {site_title}"
2058
  #~ msgstr "Benvenuto su {site_title}"
2063
  #~ msgid "Payment sent"
2064
  #~ msgstr "Pagamento inviato"
2065
 
2066
+ #~ msgid "Oldest unpaid commission"
2067
+ #~ msgstr "Commissione non pagata più vecchia"
2068
+
2069
+ #~ msgid "Sold products"
2070
+ #~ msgstr "Prodotti venduti"
2071
 
2072
  #~ msgid "Pay"
2073
  #~ msgstr "Paga"
2074
 
2075
+ #~ msgid "Payment Request"
2076
+ #~ msgstr "Richiesta di pagamento"
2077
+
2078
+ #~ msgid "Change to"
2079
+ #~ msgstr "Passa a"
2080
+
2081
  #~ msgid "All"
2082
  #~ msgstr "Tutte"
2083
 
2084
  #~ msgid "Ship to"
2085
+ #~ msgstr "Invia a"
2086
 
2087
  #~ msgid "Search for a product&hellip;"
2088
  #~ msgstr "Cerca un prodotto&hellip;"
2097
  #~ msgstr "Passa stato a"
2098
 
2099
  #~ msgid "Via"
2100
+ #~ msgstr "Via"
2101
 
2102
  #~ msgid "Order status:"
2103
  #~ msgstr "Stato ordine:"
2106
  #~ msgid "Trashed"
2107
  #~ msgstr "Eliminato"
2108
 
2109
+ #~ msgid "You do not have permission to edit this post"
2110
+ #~ msgstr "Non hai permessi sufficienti per modificare questo articolo"
 
 
 
2111
 
2112
+ #~ msgid "Coming Soon"
2113
+ #~ msgstr "In arrivo"
2114
 
2115
+ #~ msgid "New"
2116
+ #~ msgstr "Nuovo"
2117
 
2118
+ #~ msgctxt "Admin: means needs YITH xxx plugin to works"
2119
+ #~ msgid "Needs"
2120
+ #~ msgstr "Necessita di"
2121
+
2122
+ #~ msgctxt "Admin: means needs YITH xxx plugin to works"
2123
+ #~ msgid "plugin"
2124
+ #~ msgstr "plugin"
2125
+
2126
+ #~ msgctxt "means: plugin version"
2127
+ #~ msgid "version"
2128
+ #~ msgstr "versione"
2129
+
2130
+ #~ msgctxt "means: min version xxx or greater"
2131
+ #~ msgid "or greater"
2132
+ #~ msgstr "o superiore"
2133
+
2134
+ #~ msgid "YIT Plugins"
2135
+ #~ msgstr "YIT Plugins"
2136
+
2137
+ #~ msgid ""
2138
+ #~ "If you enable this option, vendors will be able to manage order tracking"
2139
+ #~ msgstr ""
2140
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di gestire il "
2141
+ #~ "tracciamento degli ordini"
2142
+
2143
+ #~ msgid ""
2144
+ #~ "If you enable this option, vendors will be able to create and manage "
2145
+ #~ "Subscription products"
2146
+ #~ msgstr ""
2147
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare e "
2148
+ #~ "gestire i prodotti Sottoscrizione"
2149
+
2150
+ #~ msgid ""
2151
+ #~ "If you enable this option, vendors will be able to create and manage name "
2152
+ #~ "your price products"
2153
+ #~ msgstr ""
2154
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare e "
2155
+ #~ "gestire i prodotti \"Name your price\"."
2156
+
2157
+ #~ msgid ""
2158
+ #~ "If you enable this option, vendors will be able to add product size "
2159
+ #~ "charts for their own products"
2160
+ #~ msgstr ""
2161
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di aggiungere una "
2162
+ #~ "tabella delle dimensioni per i loro prodotti"
2163
+
2164
+ #~ msgid ""
2165
+ #~ "If you enable this option, vendors will be able to create and manage "
2166
+ #~ "memberships for their own customers"
2167
+ #~ msgstr ""
2168
+ #~ "Se abiliti questa opzione, i venditori potranno creare e gestire piani di "
2169
+ #~ "accesso contenuti per i loro clienti"
2170
+
2171
+ #~ msgid ""
2172
+ #~ "If you enable this option, each vendor will be able to chat with their "
2173
+ #~ "customers directly"
2174
+ #~ msgstr ""
2175
+ #~ "Se abiliti questa opzione, ogni venditore potrà avviare una chat "
2176
+ #~ "direttamente con i propri clienti"
2177
+
2178
+ #~ msgid ""
2179
+ #~ "If you enable this option, each vendor will be able to manage their "
2180
+ #~ "waiting lists and send mail to their customers."
2181
+ #~ msgstr ""
2182
+ #~ "Se abiliti questa opzione, ogni venditore sarà in grado di gestire le "
2183
+ #~ "loro liste d'attesa e mandare email ai loro clienti."
2184
+
2185
+ #~ msgid ""
2186
+ #~ "If you enable this option, vendors will be able to create and manage "
2187
+ #~ "surveys for their own customers"
2188
+ #~ msgstr ""
2189
+ #~ "Se abiliti quest'opzione, i venditori potranno creare e gestire sondaggi "
2190
+ #~ "da sottoporre ai propri clienti"
2191
+
2192
+ #~ msgid ""
2193
+ #~ "If you enable this option, vendors will be able to create and manage "
2194
+ #~ "badges for their own products"
2195
+ #~ msgstr ""
2196
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare e "
2197
+ #~ "gestire i badge per i loro prodotti"
2198
+
2199
+ #~ msgid ""
2200
+ #~ "If you enable this option, vendors will be able to create and manage "
2201
+ #~ "discounts for their own customers"
2202
+ #~ msgstr ""
2203
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare e "
2204
+ #~ "gestire gli sconti per i propri clienti"
2205
+
2206
+ #~ msgid ""
2207
+ #~ "If you enable this option, vendors will be able to create custom coupon "
2208
+ #~ "and send it by email for their own customers"
2209
+ #~ msgstr ""
2210
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare dei "
2211
+ #~ "coupon personalizzati ed inviarli via email ai propri clienti"
2212
+
2213
+ #~ msgid ""
2214
+ #~ "If you enable this option, vendors will be able to create invoice for "
2215
+ #~ "their order. This feature require that vendor are able to manage their "
2216
+ #~ "order individually"
2217
+ #~ msgstr ""
2218
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare la "
2219
+ #~ "fattura per i propri ordini. Questa funzione richiede che i vendor siano "
2220
+ #~ "in grado di gestire i propri ordini individualmente"
2221
+
2222
+ #~ msgid ""
2223
+ #~ "If you enable this option, vendors will be able to receive and manage "
2224
+ #~ "their order quote. This feature require that vendor are able to manage "
2225
+ #~ "their order individually"
2226
+ #~ msgstr ""
2227
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di ricevere e "
2228
+ #~ "gestire le proprie richieste di preventivo. Questa funzione richiede che "
2229
+ #~ "il venditore sia in grado di gestire i propri ordini individualmente"
2230
+
2231
+ #~ msgid ""
2232
+ #~ "If you enable this option, vendors will be able to manage the selling of "
2233
+ #~ "their products."
2234
+ #~ msgstr ""
2235
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di gestire la "
2236
+ #~ "vendita dei propri prodotti."
2237
+
2238
+ #~ msgid ""
2239
+ #~ "If you enable this option, vendors will be able to create custom price "
2240
+ #~ "rules for their own products."
2241
+ #~ msgstr ""
2242
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare regole "
2243
+ #~ "di prezzo personalizzate per i propri prodotti."
2244
+
2245
+ #~ msgid ""
2246
+ #~ "If you enable this option, vendors will be able to create advanced "
2247
+ #~ "product options for their products."
2248
+ #~ msgstr ""
2249
+ #~ "Se abiliti questa opzione, i venditori saranno in grado di creare opzioni "
2250
+ #~ "avanzate per i propri prodotti."
2251
+
2252
+ #~ msgid ""
2253
+ #~ "If you enable this option, vendors will be able to receive SMS "
2254
+ #~ "notifications for their orders."
2255
+ #~ msgstr ""
2256
+ #~ "Se abiliti questa opzione, i venditori potranno ricevere notifiche via "
2257
+ #~ "SMS riguardo ai loro ordini."
2258
+
2259
+ #~ msgid ""
2260
+ #~ "If you enable this option, vendors will be able to access to bulk product "
2261
+ #~ "editing for their products."
2262
+ #~ msgstr ""
2263
+ #~ "Se abiliti questa opzione, i venditori potranno accedere alle modifiche "
2264
+ #~ "di gruppo per i propri prodotti."
2265
+
2266
+ #~ msgid "Vendors can create bundle products"
2267
+ #~ msgstr "I venditori possono creare prodotti bundle"
2268
+
2269
+ #~ msgid "Vendors can add a label on their products with their energy class"
2270
+ #~ msgstr ""
2271
+ #~ "I venditori possono aggiungere un'etichetta sui propri prodotti con la "
2272
+ #~ "classe energetica"
2273
+
2274
+ #~ msgid ""
2275
+ #~ "The vendor commissions are paid automatically by Adaptive Payments system"
2276
+ #~ msgstr ""
2277
+ #~ "Le commissioni venditore vengono pagate automaticamente dal sistema "
2278
+ #~ "Adaptive Payments"
2279
+
2280
+ #~ msgid "Vendors can create booking products"
2281
+ #~ msgstr "I venditore possono creare prodotti-prenotazione"
2282
+
2283
+ #~ msgid "Vendors can manage avanced refund system"
2284
+ #~ msgstr "I venditori possono gestire il sistema avanzato di rimborso"
2285
+
2286
+ #~ msgid "Coupon Data"
2287
+ #~ msgstr "Informazioni coupon"
2288
+
2289
+ #~ msgid "General"
2290
+ #~ msgstr "Generali"
2291
+
2292
+ #~ msgid "Usage Restriction"
2293
+ #~ msgstr "Limitazioni di utilizzo"
2294
+
2295
+ #~ msgid "Usage Limits"
2296
+ #~ msgstr "Limiti di utilizzo"
2297
+
2298
+ #~ msgid "Discount type"
2299
+ #~ msgstr "Tipo di sconto"
2300
 
2301
  #~ msgid "Coupon amount"
2302
  #~ msgstr "Importo coupon"
2381
  #~ msgid ""
2382
  #~ "List of allowed emails to check against the customer's billing email when "
2383
  #~ "an order is placed. Separate email addresses with commas."
2384
+ #~ msgstr ""
2385
+ #~ "Elenco degli indirizzi email autorizzati da confrontare con l'email di "
2386
+ #~ "fatturazione del cliente durante la creazione dell'ordine. Separa gli "
2387
+ #~ "indirizzi email con la virgola."
2388
 
2389
  #~ msgid "Usage limit per coupon"
2390
  #~ msgstr "Limite di utilizzo per coupon"
2423
  #~ "Utilizza email di fatturazione per gli ospiti e ID utente per gli utenti "
2424
  #~ "registrati."
2425
 
2426
+ #~ msgid "Shipping"
2427
+ #~ msgstr "Spedizione"
2428
+
2429
+ #~ msgid "Ready to ship in..."
2430
+ #~ msgstr "Pronto per essere spedito in..."
2431
+
2432
+ #~ msgid "1 business day"