Jump to content

Falgener

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by Falgener

  1. Hi, thanks for download. - this can happen, if is exceed php_value post_max_size or max_input_vars limit or max_execution_time limit. If you can, increase this values on your server. In other case try decrease "Items per page" in module. I will contact you via PM with more info ...
  2. Hello, here is similar example, but only instead "#" separator is used ";" Use second part of answer, because this use XSLT 1.0 stackoverflow.com/questions/10750184/looping-through-multiple-sequences-from-strtokenize more in email
  3. Hello and thanks for info. You're welcome. Module is continually improved, when possible. :-)
  4. Hi, I have added this field yesterday, because seems to be useful for other users. So download latest version from your account - orders history / detail - see http://www.praotec.com/nvn-modules-update/ Thanks
  5. Hi, yes, it is possible, but not as user defined xml, but with xslt transform. Switch to export as xml and define xslt. see this article: http://www.praotec.com/nvn-export-orders-xslt-transformation-sample/ for example: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output omit-xml-declaration="yes" indent="yes" method="xml" version="1.0" /> <xsl:key use="order_id" match="/nvn_export_orders/order" name="groups"/> <xsl:template match="/"> <xsl:apply-templates select="/nvn_export_orders" /> </xsl:template> <xsl:template match="/nvn_export_orders"> <OrdersOut> <xsl:for-each select="order[generate-id(.)=generate-id(key('groups',order_id))]"> <OrderSummary> <OrderId> <xsl:value-of select="order_id/text()" /> </OrderId> <Orderdate> <xsl:value-of select="date_add/text()" /> </Orderdate> <Items> <xsl:for-each select="key('groups',order_id)"> <ItemName> <xsl:value-of select="product_name/text()" /> </ItemName> <ItemQuantity> <xsl:value-of select="product_quantity/text()" /> </ItemQuantity> </xsl:for-each> </Items> </OrderSummary> </xsl:for-each> </OrdersOut> </xsl:template> </xsl:stylesheet>
  6. Hi, yes, it is possible set up to 9 different configuration settings.
  7. Hello, yes, tested for PS ver. 1.7.1.2
  8. Hi, no, module don't check fields length, used same length as in database. But maybe your modification use different (new) field... Note that module use product reference field from ps_order_detail table. You can try use product reference field from ps_product table. At the end of module are defined fields. Try change this: array('od.product_reference AS product_reference', $this->l('Product Reference'), 51,1,0,3,0), to array('pr.reference AS product_reference', $this->l('Product Reference'), 51,1,0,3,0),
  9. yes (delete is not required, because all files are overwritten when upload new version), but uninstall / install is required.
  10. Hi, this are my functions, but similar are used in prestashop for example for sending notification about new order. But what can be problem: module need register two hook. This is activated in installation process. So if You used old version before, You need export settings, uninstall old and then install new version and import settings. ( http://www.praotec.com/nvn-export-orders-update/ )
  11. Hi, no Prestashop code modified. Live export is solved in this two functions: function hookNewOrder($params) function hookFooter($params) Note: setting for "Iive export" must be active setting.
  12. Yes, "Live export" use all setting, filters etc... like "normal" export. Only switch to any setting, select live export and save. Module must remain switched on this setting.
  13. Hi, and thanks. Yes, this is possible with "Live export". See image: https://prnt.sc/fdafgu SETTING: Live export. But remember that this setting works only for currently active setting.
  14. 1/ 1/ add into xslt lines: 7 (var "set"), 8(var"count"), row 12 is <TOTAL_ITEMS> <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output omit-xml-declaration="no" indent="yes" method="xml" version="1.0" encoding="UTF-8" /> <xsl:key use="order_id" match="/nvn_export_orders/order" name="groups"/> <xsl:template match="/"><xsl:apply-templates select="/nvn_export_orders" /></xsl:template> <xsl:template match="/nvn_export_orders"> <xsl:variable name="set" select="/nvn_export_orders/order" /> <xsl:variable name="count" select="count($set)" /> <!-- FIRST ROW AND WRAPPER--> <commandes xmlns:od="http://www.w3.org/2001/XMLSchema-instance"> <TOTAL_ITEMS><xsl:value-of select="$count" /></TOTAL_ITEMS> <xsl:for-each select="order[generate-id(.)=generate-id(key('groups',order_id))]"><!--ORDER CYCLE--> <CC_ENTETE> <!--COMMON VALUES HERE--> ..... ..... 2/ it is not possible with "Group by", because whole order is summarized into one row. This is possible with module extension. 3/ add field "Customer message" into exported fields and into xslt for example <CUST_MESSAGE><xsl:value-of select="message" /></CUST_MESSAGE>
  15. Hi, 1/ Add field "Order Detail ID" into exported fields. In user defined xml will be something like <id_order_detail>#id_order_detail#</id_order_detail> In xslt <id_order_detail><xsl:value-of select="id_order_detail" /></id_order_detail> 2/In xslt? use position() inside for-each for example: <xsl:for-each select="key('groups',order_id)"><!--ITEM CYCLE--> <!--ROWS ITEMS HERE--> <CC_LIGNE> <DEPOSANT>XXX</DEPOSANT> <SHOP>YYY</SHOP> <SITE>0</SITE> <ROW><xsl:value-of select="position()"/></ROW> ..... ..... </CC_LIGNE> </xsl:for-each><!--ITEM CYCLE END-->
  16. Hello, yes, it is possible, but I must prepare module extension for this specific XML.
  17. Problem is fixed, download new version.
  18. You are right, this is my bug . Will be fixed, wait a moment.
  19. Strange, I cannot repeat this issue. For me works OK. Can You export and send me Your setting? http://prnt.sc/ejrwvl (my e-mail in personal message)
  20. No, don't uninstall, only overwrite old version and save new settings. I must check it, I tested with FILTERS "Last Exported Order ID" and empty file is exported (only columns names ). Yes, message is still generated.
  21. Maybe will be useful also for other, so I added into OPTIONS: "Export empty file even when there are no new Orders". Download latest version from Your Your account / orders detail - http://www.praotec.com/nvn-modules-update/ Thanks
  22. Hi, yes, it is possible and simple with small code change. Wait a moment, I need test it and will send instruction "how to"
  23. Hi, If you use "unit_price_tax_incl" instead "total_price_tax_incl" check if is same name used in xslt template.
  24. Yes, and can be interesting work. There is only one problem - time :-)
  25. I hate xslt But you are right. Copy/paste repaired xslt from sample page to resolve this issue.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More