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?
- comercial@pandorasoft.com
- RO CSVI
- Friday, 23 June 2017
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
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.
You can use Conditional rule plugin to check if product_in_stock field is less then 0 and set the published field to 0.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Please check Auto delete of discountinued products document. This will help you to unpublish and remove the products that no longer exist.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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>
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>
Accepted Answer
Pending Moderation
Thank you for responding so quickly, I begin to work on it and I tell you the final solution
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)
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »