Showing custom field value issue
-
Hi! I have a problem. The value of my field is output in the wrong formats. I use the following code to display the field:
[post_select material value-field-meta-key:price posts-number:-1 id:material class:material publish include_blank search_box post-type:material tax-relation:OR value-field:meta orderby:title order:ASC "%title% - %price%"]
As a result, I get the name and price, but hundredths are added to the price, which I don’t need. In addition, some values are output as a date
Example:
F40-70 – 19.07.2023
F5-20 – 19.07.2800
F70-120 – 850,00
however, the following values should be displayed:
F40-70 – 1850
F5-20 – 2800
F70-120 – 850
To create a custom post type, I use the pods framework. Usually there are no problems
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Showing custom field value issue’ is closed to new replies.