1. vlada83
  2. RO CSVI
  3. Monday, 16 July 2018
  4.  Subscribe via email
Hi i found weird behaviour, if i import product with prices and discounts with data for example value of 159 (mean whole discount amount in currency) it is succesfully imported and added to database, but this product (maintaince price and stock) import run each morning and i found that each day are all values added to database again and again, so if i have 200 products in discount, each day increase datavse table of virtuemart and after 10 days website slow down and databse use much power of server

and for example if during one import have 20 products discount of 150CZK, discount of 150CZK are saved in virtuemart 20x
Accepted Answer Pending Moderation
Hello Vlada,

I have sent you a private message with an updated margin rule plugin. Please check the message and instructions and let me know if it solves your problem.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Vlada,

There is no need for the template XML, I will look further into this and get back to you.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
Can you post your template XML file as requested by Roland? We will run import here and check on these decimals.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
We use field product_discount with margin rule to cut from discount 21% vat so this is why discount amount has so much decimals
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,

debug log in zip format has about 1.1MB
That is why we say to try it first with a few products ;)

and for example if during one import have 20 products discount of 150CZK, discount of 150CZK are saved in virtuemart 20x
I understand your problem. We need to see why CSV Improved doesn't recognize the existing discount.

I have identified the problem as well. The problem is here
`calc_value` BETWEEN '81.818181818182' AND '81.818181818182'
. Notice the number of decimals? There are 12 decimals here. We only store 4 decimals, so the value in the database is stored as 81.8182. This value is no between the above numbers because it is higher. So an existing discount is not found and a new one is created. That is why you see so many discounts.

Which field are you importing as discount? Can you post a backup of your import template as well? You can get the backup by going to Maintenance -> CSVI Pro -> Backup template. This will help me to see how things are setup.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
debug log in zip format has about 1.1MB which is more than limit... link is http://vanekdesign.com/com_csv_log.zip

here is xml file - https://www.nakupni-kose-tasky.cz/cron/xmlfeed.xml
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello,
Can you post your import file and import debug log to check? Check how to collect debug information? document to get the debug log.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!