Dealplaza template system fonts color
- Posted by Yilmaz (45) Offline
Hi Templateplazza community,
i got a question about the system fonts color settings, or better to say how to change it!
The fonts i mean are the once how are blue and turns red if the courser hover over it.
They are all over the site and looks like it have to be a system font setting!
help me please out whit that
site url: www.dealsbook.de
thanks
11 years 7 months ago #1
by Yilmaz
i got a question about the system fonts color settings, or better to say how to change it!
The fonts i mean are the once how are blue and turns red if the courser hover over it.
They are all over the site and looks like it have to be a system font setting!
help me please out whit that
site url: www.dealsbook.de
thanks
The topic has been marked as resolved.
- Posted by erwinschro (1034) Offline
Hi
You can edit the anchor/link color from here
/deals_plazza/css/base.css on this part
Have a try...
11 years 7 months ago #2
by erwinschro
You can edit the anchor/link color from here
/deals_plazza/css/base.css on this part
a,a:link, a:visited { color: #40C0CB; text-decoration: none; outline: 0; }
a:hover, a:focus { color: #FF0000; }
Have a try...
The topic has been marked as resolved.
- Posted by Alfred (50) Offline
Hi Adburrahman. Could you please tell me which code you used to modify the area available deals? Thanks
Quote
0 Deals bereits verkauft von 100
100 Deals(s) übrig
Unquote
11 years 7 months ago #3
by Alfred
Quote
0 Deals bereits verkauft von 100
100 Deals(s) übrig
Unquote
The topic has been marked as resolved.
- Posted by andy (759) Offline
@esposito
You just need to modify these files :
<root>/templates/deals_plazza/html/com_k2/dealplazza/category_item.php
<root>/templates/deals_plazza/html/com_k2/dealplazza/item.php
and add this code anywhere you want the total bought item is displayed
11 years 7 months ago #4
by andy
You just need to modify these files :
<root>/templates/deals_plazza/html/com_k2/dealplazza/category_item.php
<root>/templates/deals_plazza/html/com_k2/dealplazza/item.php
and add this code anywhere you want the total bought item is displayed
<?php
$db = & JFactory::getDBO();
$id = $custom[3]->value;
$sql = 'SELECT product_ordered FROM #__virtuemart_products WHERE virtuemart_product_id='.$id;
$db->setQuery($sql) ;
$item_sold = $db->loadResult();
echo $item_sold;
?>
The topic has been marked as resolved.
- Posted by Alfred (50) Offline
Hi sikumbang. I used this code but it renders only the item sold value without to quote how many deals are available.
Basically i need to show both values. Thanks
11 years 7 months ago #5
by Alfred
Basically i need to show both values. Thanks
The topic has been marked as resolved.
- Posted by andy (759) Offline
There's 2 ways to get the value of available stock. The first one is from the Virtuemart side, by getting the product_in_stock value from virtuemart_products table, but you have to enter the product stocks number everytime you create a new virtuemart item.
The second one from the K2 side, by adding new K2 extrafield, then enter the stock value everytime you create a new K2 item
11 years 7 months ago #6
by andy
The second one from the K2 side, by adding new K2 extrafield, then enter the stock value everytime you create a new K2 item
The topic has been marked as resolved.