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

TOPIC: custom image not selectable

custom image not selectable 8 years 10 months ago #12705

Hi there,

just bought the cleanmart template and really like it!
It seems that I have problem with the image custom fields though.

I would like to have the same setup as here:
demo.flexiblewebdesign.com/cleanmart/index.php/vm-categories-2/flexv2-layout

Big problem is that the items on my website are not selectable:
gotekk.de/produkte/sugr-cube

Seems to have some js queries and don't know how to solve them! If I click an item it does show on the cart, but not really handy if you don't see what you selected in the first place...

Don't need the description on the custom field images but would also like to know, how to delete the price tag (+0,00€)

Would really appreciate your help!
The topic has been locked.

custom image not selectable 8 years 10 months ago #12712

dear support team, can I expect an answer in the next days, or is this not supported?
Would love to just hear if you will help me on this topic please.

Regards

Leon
The topic has been locked.

custom image not selectable 8 years 10 months ago #12726

hi,

this problem has already been resolved in the latest CleanMArt versions. We have made a typoError in one the JavaScript lines

To fix it, open this JS file:
gotekk.de/templates/yoo_salt/html/com_virtuemart/assets/js/flexible.js

find this line:
$('.product-field-type-M .product-field-display label').click(function () { 
	$(this).siblings('label').removeClass('selected-flexible');this.addClass('selected-flexible');
});

and replace it with this:
$('.product-field-type-M .product-field-display label').click(function () { 
	$(this).siblings('label').removeClass('selected-flexible');$(this).addClass('selected-flexible');
});

this should solve the problem you are having.

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

custom image not selectable 8 years 10 months ago #12743

thx! that worked perfectly.

Any chance you can tell me how to get rid of the price tags as well?
The topic has been locked.

custom image not selectable 8 years 10 months ago #12744

Actually that's a weird thing that you have the +0,00€ price tag on top of the custom fields. Make sure to leave blank the price field of custom fields in the VM Backend. Normally; if custom field doesn't have any price difference (comparing to parent product), then this phrase should be displayed instead:

"No additional charge "

And you could remove this phrase from language INI file: /components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini

by changing this:
COM_VIRTUEMART_CART_PRICE_FREE="No additional charge"
to
COM_VIRTUEMART_CART_PRICE_FREE=""

But yours display +0,00€....weird. It is definitely related to Virtuemart core. Because Virtuemart core decides what to type there.

Why don't you check VM language INI file and see what is written for COM_VIRTUEMART_CART_PRICE_FREE in your case? Maybe yours is like this: COM_VIRTUEMART_CART_PRICE_FREE="+0,00€", if so, delete that.

You can also hide the +0,00€ via CSS, but this time it will be hidden for all cases (what if you have image type custom field in the future that has more/less price?)

To hide that +0.00 via CSS, open this CSS file:
gotekk.de/templates/yoo_salt/html/com_virtuemart/assets/css/flexible.css

scroll to the bottom and include this rule.
div.product-field.product-field-type-M .product-field-display label {
    text-indent:-9999em;
}

BUT -- this is not the most ideal solution. Apply this patch only if you won't have any image type custom field that has more/less price.


If you like CleanMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-2-Templates/CleanMart

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support

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

custom image not selectable 8 years 10 months ago #12748

Thx a lot, it was indeed in the language file! SOLVED SOLVED SOLVED :-)
Wrote a positive review for you as well, very much deserved!
The topic has been locked.

custom image not selectable 8 years 10 months ago #12757

I am glad this problem was related to Language INI file, which is what i was expecting though ;)

Thanks for the + review.

case solved, topic is closed.

regards.
The topic has been locked.
Time to create page: 0.118 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