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

TOPIC: [SOLVED] Product packaging units

[SOLVED] Product packaging units 11 years 5 months ago #446

Hi, in a product detail view, for example here:
www.cenzdra.cz/e-shop/bio-potraviny/testoviny-vretena-se-spirulinou-country-life-detail
you can see in last bottom line od product description: "Počet jednotek v balení:500" (product units in package:500)

The issue is, units of this product are "grammes" or "g", corectly set in product_unit field. What I need, to show not just number but number including units. It means, I would like to see "Počet jednotek v balení: 500g", instead of current "Počet jednotek v balení:500". I cant find, which part of code change to show also product units in product detail.
Any idea?
Thanks. Radek
Last Edit: 11 years 5 months ago by Support.
The topic has been locked.

Product packaging units 11 years 5 months ago #447

Hi,

I should check the PHP lines for this, how about the original Virtuemart template, does it show correctly?
To check, change this folder name:
www.cenzdra.cz/templates/cenzdra2109/html/com_virtuemart/
to
www.cenzdra.cz/templates/cenzdra2109/html/com_virtuemart2/
And you will start using the original virtuemart layout.

And by the way; why don't you use Custom Field (non-cart variable) for this purpose? Isn't that more convenient and easier?
The topic has been locked.

Product packaging units 11 years 5 months ago #458

Sure, you are right
1) by disabling your template, problem persist - it means, it is problem of VM itself.
2) I just wanted to use standard fields and functionality of VM, when these fields are available. But usage of Custom fields is more convenient and easier, no doubts :-)

Only I have some formating minor issue - look at this for example:
cenzdra.cz/e-shop/bio-potraviny/testoviny-vretena-se-spirulinou-country-life-detail

In product details Im using two custom fields "Vlastnosti" (Properties) and "Balení" (packaging). Last attribute of Vlastnosti is in this case "Bez mleka". Then is name of Baleni custom field. And there is too narrow space between these two lines, just cosmetics issue, but I cant find, where to change this interline space. Do you know, where?
The topic has been locked.

Product packaging units 11 years 5 months ago #462

Hi,

This can be achieved with little CSS modification.

Open this CSS file:
cenzdra.cz/templates/cenzdra2109/html/com_virtuemart/assets/css/flexibleVM2Global.css

Scroll to the bottom and add this CSS rule:
.productdetails-view .product-field-type-S .product-fields-title {
    margin-top:20px;
    display:block;
}

You can increase the 20px little bit if you want. The result will be:
ScreenShot2012-10-01at7.24.41AM.png
The topic has been locked.

Product packaging units 11 years 5 months ago #492

Good job ! I confirm, it works exactly , as I wanted. Thanks !
The topic has been locked.

Product packaging units 11 years 5 months ago #495

Your welcome..
The topic has been locked.
Time to create page: 0.080 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