VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mromen on May 23, 2012, 01:14:56 AM

Title: Quantity controls not visible
Post by: mromen on May 23, 2012, 01:14:56 AM
Hi,
My quantity controls are not visible. They are working when I press the box next to the quantity number, but I can't see them. I used firebug to change colors, thinking they're disappearing against the grey background color of the page but I can't find the appropriate CSS code for the color change. Then again, hovering the image in Firebug I get the message url("../images/vmgeneral/quantity-controls.png) not loading. Who can help me out?

Thx, Michael.
Title: Re: Quantity controls not visible
Post by: jenkinhill on May 23, 2012, 10:59:27 AM
A single image is used for display of both buttons, shown on the page as a background image. Make sure that you have the image present on the server. It is at joomla_root/components/com_virtuemart/assets/images/vmgeneral/quantity-controls.png  and that it has read permissions (644) and correct ownership.
Title: Re: Quantity controls not visible
Post by: mromen on May 23, 2012, 19:22:48 PM
Hi Kelvyn,
Thx for your reply. The problem arises on loacalhost/xamp (no maps right issues here) en on the live site (no rights issues here either). The site is live but not the webshop part so I can't send a link. The only big change I made is to copy the content of vmsite-ltr.css to template css. The image is in the correct folder. The site is based on a Joomla 2.5 Yootheme template. Maybe a JSquery issue? Do you have any more ideas about this problem?

Thx,
Michael.
Title: Re: Quantity controls not visible
Post by: reddeer on September 07, 2012, 18:59:06 PM
Same issue...

I followed the directions for how to control the views for VM 2 at http://forum.virtuemart.net/index.php?topic=90935.0 (http://forum.virtuemart.net/index.php?topic=90935.0) so I could use my non-VM template for VM views as well. 


Any suggestions as to how I can do either of the following?

Thanks!

Sincerely,
Reddeer


[attachment cleanup by admin]
Title: Re: Quantity controls not visible
Post by: thelake on October 12, 2012, 07:39:54 AM
Any solution for this?

I have the same problem with VM 2.0.12
None of the asset-images are showing "addtocart" an "cart"

Update:

I do an overide of the "vmsite-ltr.css" - if I use the original css it's fine..;-(
Title: Re: Quantity controls not visible
Post by: jenkinhill on October 12, 2012, 11:38:32 AM
Quote from: thelake on October 12, 2012, 07:39:54 AM
Update:

I do an overide of the "vmsite-ltr.css" - if I use the original css it's fine..;-(

I "fix" VM css by first copying the styles in vmsite-ltr.css to the end my Joomla template css - and leave an empty vmsite-ltr.css on the server. Then I remove/edit the template css as needed, with frequent checks that I have not made an error and removed a style that is needed....   ;)
Title: Re: Quantity controls not visible
Post by: aarondwyer on March 01, 2013, 02:51:20 AM
The easiest fix for this for those using template overrides is to simply copy the images directory into your Joomla template directory

components\com_virtuemart\assets\images\

Then all the CSS image references will carry over

Aaron
Title: Re: Quantity controls not visible
Post by: heyday on November 21, 2014, 00:25:36 AM
HI.

I have 2 problems:
1. stockable plugin doesn't sort buttons in the order I saved them. How to give them an order?
2. as soon as i turn on the my stockable variant plugin and display my product on the frontage, the quantity control buttons don't display anymore.

Example:

How it should be:
-Size:
->S
->M
->L
->XL

It is Just displaying like this:

->XXL
->XL
->S
->M
->L

Title: Re: Quantity controls not visible
Post by: GJC Web Design on November 21, 2014, 00:40:11 AM
You shouldn't be hijacking posts - this is about css and quantity button images..

anyway - you can resort the child product ordering in the parent view (at the bottom of the page -> Parent & Child Products) to get the order you want - just fill in 0, 1, 2 etc in the required order and save
Title: Re: Quantity controls not visible
Post by: heyday on December 08, 2014, 19:17:38 PM
Thank you for the reply. I did it like you said. works.

My second question was about css. I changed it, now the buttons work correctly and are visible again.

Regards