Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - MaterialMart (SKU# FLEX-00020)

TOPIC: Price labels in the category Grid view / Muti View

Price labels in the category Grid view / Muti View 6 years 6 months ago #15237

Hello,

How to set the price VAT labels in the category Grid view / Muti View ?

test.lakikincl.cz/eshop/pyrotechnika/vulkany

Thank you Milan
Attachments:
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 6 months ago #15245

Hi,

Since, the spaces are limited on Grid and MultiGrid layouts, we specifically hide the price-labels, by default. But; it is very easy to make them visible.

To apply this patch to both layouts (flexv2 & default) :

1- Open these PHP files
For Grid View:
- /templates/YOUR_TEMPLATE/html/com_virtuemart/sublayouts/pro-cat-grid.php
- /templates/YOUR_TEMPLATE/html/com_virtuemart/sublayouts/pro-cat-grid-v2

For MultiGrid View:
- /templates/YOUR_TEMPLATE/html/com_virtuemart/sublayouts/pro-cat-multi.php
- /templates/YOUR_TEMPLATE/html/com_virtuemart/sublayouts/pro-cat-multi-v2

2 - In all those files, search for this expression:
'isPriceOnly'=>true

3 - Replace it with this:
'isPriceOnly'=>false

then you should be good to go, so the labels will be printed along with the prices on the GRID layout.



Regards
Last Edit: 6 years 6 months ago by Support.
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 6 months ago #15256

Super,

how do I set a description with the price in one line?

Sincerely, Milan
Attachments:
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 6 months ago #15263

Hi,

1- Open this css file:
test.lakikincl.cz/templates/laki/html/com_virtuemart/assets/css/flexible.css

2- Scroll to the bottom

3- Insert this line:
.gridView .flexCard-footer > div:first-child {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}

The result will be:

Attachment ScreenShot2017-09-24at8.36.47PM.png not found




Regards,
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 6 months ago #15274

Hello,

code I inserted, but the display is the same :-(

Sincerely, Milan
Attachments:
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 6 months ago #15283

You forgot the . (dot) before the gridView

So, it has to be
  .gridView .flexCard-footer > div:first-child {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}

NOT
  gridView .flexCard-footer > div:first-child {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 5 months ago #15306

O.K.

Thank you very much
Sincerely, Milan
The topic has been locked.

Price labels in the category Grid view / Muti View 6 years 5 months ago #15314

Sure, your welcome.

I am glad that everything is all set.

case resolved, topic closed.

regards
The topic has been locked.
Time to create page: 0.134 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo