1. comercial@pandorasoft.com
  2. RO CSVI
  3. Friday, 23 June 2017
  4.  Subscribe via email
Good, I need to import stock to virtue, the problem is that when the product does not exist, it no longer appears in the file and I do not know how to disable that product in virtuemart.
Another option that we are sent is that the stock field (supplier file) does not appear, and this means that the product is but not stocked.
My question is, how can I do this so that in both cases the virtuemart product will be disabled?
Accepted Answer Pending Moderation
Hello,

Good, I need to import stock to virtue, the problem is that when the product does not exist, it no longer appears in the file and I do not know how to disable that product in virtuemart.

If the product is not in the file then it is not possible to disable using CSVI as the product is identified by product_sku field. The minimum you need is the product_sku and published fields to disable a product.

Another option that we are sent is that the stock field (supplier file) does not appear, and this means that the product is but not stocked.

You can use Conditional rule plugin to check if product_in_stock field is less then 0 and set the published field to 0.
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. # 1
Accepted Answer Pending Moderation
Hello,
Good, I need to import stock to virtue, the problem is that when the product does not exist, it no longer appears in the file and I do not know how to disable that product in virtuemart.

Please check Auto delete of discountinued products document. This will help you to unpublish and remove the products that no longer exist.
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. # 2
Accepted Answer Pending Moderation
Example:
Product with stock:
[hr]
<product id="1133191309">
<price gross="38.65" net="31.42" vat="23.00" />
<srp gross="57.97" net="47.13" vat="23.00" />
<sizes>
<size id="0" code="1133191309-0">
<stock id="1" quantity="50" />
</size>
</sizes>
</product>
[hr]
Product without stock
[hr]
<product id="1133193121">
<price gross="35.83" net="29.13" vat="23.00" />
<srp gross="53.74" net="43.69" vat="23.00" />
<sizes>
<size id="0" code="1133193121-0" />
</sizes>
</product>
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Thank you for responding so quickly, I begin to work on it and I tell you the final solution
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
The solution at the moment is to create a rule in which the stock that does not exist assigned a value of -20, so it is no longer displayed on the web and from the administration locate them well to then remove them.
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Glad to know that you found a solution for your issue.
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. # 6
  • Page :
  • 1


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