0

I need to set price optional for Virtual particular products, not for my all products. How can i import items without price.

Note : not for my all products.

2
  • Can't you just set a price at 0 for these products? Commented Dec 2, 2016 at 12:31
  • 1
    One think, price value dont display.
    – Gem
    Commented Dec 2, 2016 at 14:05

1 Answer 1

1

You can remove the validation of the price field is done entirely by front-end validation.

By removing "required-entry" and "validate-zero-or-greater" from the class attribute of the price input, you can disable the validation:

Price input

Without knowing your criteria for products that should not have price required, I cannot help with applying only to specific procucts.

1
  • @ Tim : Actually i need to import Virtual products, which means details get from user like costumes products(height, length, etc), so don't able display price. I hope you understand my requirement.
    – Gem
    Commented Dec 3, 2016 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.