VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mratki on November 10, 2021, 15:20:29 PM

Title: Enable text input in "In stock" field?
Post by: mratki on November 10, 2021, 15:20:29 PM
Hello, is it possible to enable text input in the field "In stock"? Only numbers are available... Or do you have any other idea how to accomplish that? myb with availability field?
I need 4 availability status "in stock", "out of stock", "ordering possibility", and "on arrival".

Best regards,
M

https://getim.eu/dev/em-trgovina/prodajni-program/termi%C4%8Dka-oprema/linija-600/gas-stove-600,-w600,-4br,-elo-detail
Title: Re: Enable text input in "In stock" field?
Post by: GJC Web Design on November 10, 2021, 19:05:35 PM
availability field .. that's what it is for
Title: Re: Enable text input in "In stock" field?
Post by: mratki on November 11, 2021, 08:07:38 AM
Okay, that works, but how to put it after Heading? And How to display text "Product availability:" before "On arrival"?
Title: Re: Enable text input in "In stock" field?
Post by: Jörgen on November 11, 2021, 08:31:59 AM
Then You have to edit this file:

templates/your template/html/com_virtuemart/productdetails/default.php (http://templates/your%20template/html/com_virtuemart/productdetails/default.php)

Identify and move the sections around and You will get what You want.

Jörgen @ Kreativ Fotografi