WooCommerce - excelling eCommerce
Woocommerce (4 posts)

  1. ezsave
    Posted 2 years ago #

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


  2. Coen Jacobs
    Posted 2 years 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
    Posted 2 years ago #

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

  4. Coen Jacobs
    Posted 2 years 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

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic