- This topic has 2 replies, 2 voices, and was last updated 12 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Add custom fields to Category listing
Hi
I’m trying to display a list o the categories, but with additional computed fields based on the price. I’ve accomplished this via the product page itself, but when I list the category items I cannot see how I can customise this.
Basically I need to be able to display the price divided by 6, as the site is selling wines by the case, and I am displaying the price of the case and equivalent price per bottle. As stated above, this is done for the product pages, but when I use the [wp_eStore_category_products:category_id:1:end] code I have found no way of adding the custom field.
For reference the code I have used for the custom display on the product page is:
Case price: £[php]echo eStore_show_product_details(53,”price”);[/php]
Equivalent bottle price: £[php]echo eStore_show_product_details(53,”price”)/6;[/php]
[php]echo get_button_code_for_product(53);[/php]
Is there any way to accomplish this? If so, how?
Thanks in advance
Duncan
In fact, thinking about it, is it possible to create new fancy displays for the products? That way I could simply use the extra short codes with the new fancy display id.
The best option for this is to take one fancy display and customize/edit it’s code to make it look the way you want it.
This will fall under custom coding which is beyond the scope of this forum. If you need help with this then you will have to go via our custom work quote option: