× Looking for a useful answer?

Read this first and make sure you checked all steps: csvimproved.com/support/getting-started

Don't just say it doesn't work but describe in detail what is happening and add the following information:
* Version of the extension you are using
* CSVI version (Latest is not a version number)
* Sample of the file being imported
* A copy of the template you are using. Use the maintenance menu to create a backup of your template
* Collected debug information

Without this information you won't get a useful answer. If no debug log is attached, you will get a request to post it.

Where to get the debug information?

A tutorial ( csvimproved.com/support/questions-and-answers/390-how-to-collect-debug-information ) has been written to help you collect your debug information.

Product discount prices

  • Terry_Karv
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #60384 by Terry_Karv
Terry_Karv created the topic: Product discount prices
Hi guys!

I have a csv file with 55 products and I would like every product to get a different discount.
I have tried several ways but without success...
In the file that I attach, next to the prices (product_price) I have the rates that I would like to have as a discount on the final price (product_discount)
I have made all these rules to virtuemart backend, but I do not know how to pass them on to each product through the scv
I think it's simple...

Regards
Terry_K

PHP version 7.2.16
Joomla! version 3.9.4
CSVI Pro 7.11.0
VirtueMart 3.4.3 10005
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #60387 by tharuna
tharuna replied the topic: Product discount prices
Hello,

I have made all these rules to virtuemart backend, but I do not know how to pass them on to each product through the scv
I think it's simple...

Since you have created the rules already in VirtueMart backend, you can add field product_discount_id in your import file and set the specific discount id for the product. If you have any issues with your import, post the latest debug log to check. To get the debug log check How to collect debug information? document.

Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory

Please Log in or Create an account to join the conversation.

  • Terry_Karv
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #60389 by Terry_Karv
Terry_Karv replied the topic: Product discount prices
Hello tharuna,

I read about this field yesterday, but I can't find the field product_discount_id. Is the same with field product_discount ?
I updated the csvi fields again, but... nothing.

Regards
Terry_K

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #60390 by tharuna
tharuna replied the topic: Product discount prices
Hello Terry_K,

Is the same with field product_discount ?

No, they are not same. product_discount field has the calc value of discount and product_discount_id field will have the database id of the calc value. product_discount_id field is available for both VirtueMart Product import and VirtueMart Price import. Which import operation you are using?

Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory

Please Log in or Create an account to join the conversation.

  • Terry_Karv
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #60392 by Terry_Karv
Terry_Karv replied the topic: Product discount prices
Hello tharuna,

I am using VirtueMart Product import. I found the field!
Everything works fine! Thank you very much for your help.

Regards
Terry_K

Please Log in or Create an account to join the conversation.