Closed (fixed)
Project:
Ubercart Discounts (Alternative)
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2010 at 11:58 UTC
Updated:
6 Jul 2011 at 13:30 UTC
Hi,
I would like to ask you how I could display discounted prices along with items with catalog. I have a page like this one http://demo.ubercart.org/catalog/uberthreads but I am not able to display the discounted price.
I assume that I have to modify function phptemplate_uc_catalog_product_grid (I display products in a Grid layout). However, I don't know which variable contains the discounted price. I have already tried Devel modul.
So, how can I get a discounted price in function phptemplate_uc_catalog_product_grid? Thank you.
Comments
Comment #1
miguel_angel commentedThis solution is working on my website:
(Place it at template.php of your theme)
(For uc 2.4 and uc_discounts_alt 6.x-2.x-dev)
Comment #2
mandreato commented...and don't forget to clear the cached data from Site configuration -> Performance ;-)
Thank you !
Comment #3
jrust commentedComment #5
joshfromdallas commentedI was using this, but when I upgraded to UC Discounts 2.2 it seems to not work anymore? Did something change?