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

TOPIC: Previus-Next button and Price label issue.

Previus-Next button and Price label issue. 11 years 4 months ago #1479

Hello i have 2 small issues that i hope you can help me out.
My live site is here e-exelixi.gr/
And i have an issue with the previous and next button of the page, you can see closely here e-exelixi.gr/index.php/component/virtuemart/view/category/virtuemart_category_id/63

Firstly they doesn't work and secondly the first two buttons are distorted.

Secondly as you can see in the screenshot here i.imgur.com/3GLGl.png
I have label for price called 'Τιμή' but it isn't showing up in the product details page although it works fine in the category layout (it doesn't work in the "Quick view" either.

Thank you in advance.
Best regards.
The topic has been locked.

Previus-Next button and Price label issue. 11 years 4 months ago #1546

Hi,

Some of your CSS files that comes with your joomla template are breaking the harmony of the style of those element.
To fix it;

Open this CSS file:
e-exelixi.gr/templates/gk_esport/html/com_virtuemart/assets/css/flexibleVM2Global.css

find this CSS rule:
div#bottom-pagination ul li span {
	background-color:#FAFAFA;  
	margin:3px;
	padding:8px;
	color:#FFFFFF;
	border:1px solid #d8d8d8;
	font-family: 'Oswald', sans-serif;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.1) inset;
box-shadow:0 0 10px rgba(0, 0, 0, 0.1) inset;
	display:block;
	color:#CCC;	 
}

and change it with this:
div#bottom-pagination ul li span {
	background-color:#FAFAFA;  
	margin:3px;
	padding:8px;
	color:#FFFFFF;
	border:1px solid #d8d8d8 !important;
	font-family: 'Oswald', sans-serif;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.1) inset;
box-shadow:0 0 10px rgba(0, 0, 0, 0.1) inset;
	display:block;
	color:#CCC !important;	 
}

The result will be:

Attachment ScreenShot2012-12-10at9.25.59AM.png not found



To make them work, open this PHP file:
e-exelixi.gr/templates/gk_esport/html/com_virtuemart/category/defaultlist.php

(i believe you are using defaultlist layout, otherwise open this flexv2list .php)

And find these LINEs:
 <div id="bottom-pagination">
	<div class="floatright"><?php echo $this->vmPagination->getPagesLinks(); ?></div>
</div>
and
<div id="bottom-pagination"><?php echo $this->vmPagination->getPagesLinks(); ?> <br/><span><?php echo $this->vmPagination->getPagesCounter(); ?></span></div>

and change them with these:
 <div id="bottom-pagination" class="vm-pagination">
	<div class="floatright"><?php echo $this->vmPagination->getPagesLinks(); ?></div>
</div>
and
<div id="bottom-pagination" class="vm-pagination"><?php echo $this->vmPagination->getPagesLinks(); ?> <br/><span><?php echo $this->vmPagination->getPagesCounter(); ?></span></div>


Also you can enable the "Use Product and Category IDs", through VM Configuration SEO settings, because this pagination not working issue is something to do with SEF URL.

Attachment PastedImage121012931AM.gif not found



About the other issue, open this PHP file:
e-exelixi.gr/templates/gk_esport/html/com_virtuemart/productdetails/default.php

find this PHP line:
echo $this->currency->createPriceDiv('salesPrice', '', $this->product->prices);

and change it with this:
echo $this->currency->createPriceDiv('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->product->prices);

Then the "Sale price" label will be added to price in the product details page as well. (at first we delete the label for sale price, on purpose)

Regards.
Forum support.
The topic has been locked.

Previus-Next button and Price label issue. 11 years 4 months ago #1570

Thank you so much i really appreciate it.
The topic has been locked.

Previus-Next button and Price label issue. 11 years 4 months ago #1571

your welcome.

Case solved. Topic is closed.
The topic has been locked.
Time to create page: 0.341 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