Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Display a module based on product price
Display a module based on product price
Display a module based on product price
Hello, it's possible to display a module only when the price of a Virtuemart product is equal to or greater than a certain value like this?
$vm = JomGenius("virtuemart");
if ( $vm->check( "product_price >= 50" ) ) return XXX;
Thanks
Re: Display a module based on product price
Hi,
sadly, not in the current implementation. I think the reason I didn't put it in originally is because it's a calculated thing (rather than being pulled from the same database table as the other attributes of a product) and there are actually lots of different prices it could be: including various discounts, taxes etc.
If it was possible for me to add this, which price would you want to base it on?
Thanks,
Stephen
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » Display a module based on product price
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5941
- Posts this week:
- 1
- User Info:
- Total Users:
- 7618
- Newest User:
- goure1dhowen
- Members Online:
- 0
- Guests Online:
- 112
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked