WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Woocommerce (4 posts)

  1. ezsave
    Member
    Posted 1 year ago #

    How can I enter text in the price field
    we would like to use that field to post other info

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    You can't. The price field is designed to perform calculations on, so it only allows numerical (decimal) values. What are you trying to achieve, maybe I can provide a workaround or some alternative solution for this use case?

  3. ezsave
    Member
    Posted 1 year ago #

    I want to be able to post a city / location in the place that the price would show up

  4. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    Well, there is clearly no out of the box solution for this. What you need to do, is store the city/location in the meta of the product. You are probably gonna need a new meta box, or use the custom values meta box to store the meta data.

    Then you'll need to change the templates and load your meta data again, output it in the place of the price field. This is all custom work. I can help you out with specific questions, but I'm not going to write it all out for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic