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

TOPIC: masking product description in special fields

masking product description in special fields 10 years 6 months ago #6606

Hello,

I have a module to sort products( Cherry picker) it uses the special flields to sort on.
For the layout i need to fill in de special fields the parameter description. See below:
https://docs.google.com/file/d/0Bw5NEBRSGdRWMmh5QnZpUkE2LUE/edit?usp=sharing

I need every description to be not shown. Were to set that flexV2.php?
Thank you for your assitance.

Regards
Last Edit: 10 years 6 months ago by Michiel Schaafsma.
The topic has been locked.

masking product description in special fields 10 years 6 months ago #6676

Hi,

Flexv2.php is not the correct file to make this modification.
Because Custom Fields (inside the "Specification" TAB) are listed in the product details layout by the PHP line of
echo $this->loadTemplate('customfields');

Which triggers this PHP file:
/component/com_virtuemart/views/productdetails/tmpl/default_customfields.php

But i won't suggest you to touch any PHP file in that directory, since those are core files.
Try to achieve what you are looking for with CSS.

That field is the "Descrption" field, and its DIV.class is "product-field-desc"
Using this CSS rule below should do the trick to hide the "description" text:
.product-fields .product-field-desc {
display:none;
}

If this CSS rule doesn't work for you, then try to come up with a different CSS solution,
but since what you are asking is a custom modification; providing you support about this issue is beyond our free support.

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

masking product description in special fields 10 years 6 months ago #6684

Hello support,

Thank you for your support!
I worked it out, i had to use :

div#FlexibleProductDetailsID .product-field .product-field-desc {
display:none;

When i placed that in the: site/templates/hetkacheltje10/html/com_virtuemart/assets/css/flexibleVM2Global.css it worked like a charm!

thank you!
The topic has been locked.

masking product description in special fields 10 years 6 months ago #6710

I am glad it works out as expected.

Case solved. Topic is closed.

Regards,
Support & Development
The topic has been locked.
Time to create page: 0.185 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