VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: almopiasgefsis on May 19, 2015, 19:59:09 PM

Title: How to move quantity box and template change?
Post by: almopiasgefsis on May 19, 2015, 19:59:09 PM
Hello my friends.
I want to move my quantity box near in add button not above for this. I try to change the width of my white body,fixed, but does not seem the image fro rear . Any ideas?

And another question, i want to change the appearance of my virtuemart template when making the οrder(the steps to succeed, i want to make one step at a time) so I do not think is functional now. How can i make this?

Thank you in advance.

I used Virtuemart 2.6 ,
Joomla 2.5.28 and PHP 5.3.26.

Μy site is www.almopiasgefsis.gr
Title: Re: How to move quantity box and template change?
Post by: AH on May 19, 2015, 20:20:32 PM
For your add to cart button

In your style.css file

Around line 1531  and the width:auto !important

span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button, span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button {
  background: #91ac27 none repeat scroll 0 0 !important;
  border: 1px solid #788e20 !important;
  border-radius: 0 !important;
  width: auto !important;
}
Title: Re: How to move quantity box and template change?
Post by: almopiasgefsis on May 19, 2015, 20:34:24 PM
do you mean to replace your code with mine?
Title: Re: How to move quantity box and template change?
Post by: AH on May 20, 2015, 10:18:31 AM
I mean override the style in your code with this

span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button, span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button {
  background: #91ac27 none repeat scroll 0 0 !important;
  border: 1px solid #788e20 !important;
  border-radius: 0 !important;
  width: auto !important;
}
Title: Re: How to move quantity box and template change?
Post by: almopiasgefsis on May 20, 2015, 14:23:34 PM
I need to move my quantity button NEAR the add button.
This code do this???
Title: Re: How to move quantity box and template change?
Post by: AH on May 20, 2015, 14:35:32 PM
Try it on your site using firebug for firefox first

Title: Re: How to move quantity box and template change?
Post by: jenkinhill on May 20, 2015, 15:00:34 PM
@almopiasgefsis if you can't work this out then you can ask your template developer for support:   http://ordasoft.com/Forum/OrdaSoft-template-Support/
Title: Re: How to move quantity box and template change?
Post by: almopiasgefsis on May 23, 2015, 19:03:56 PM
I contact with the ordasoft support but tell me that the modification of virtuemart template is customized.
I know that,but i want to change my steps of order and i dont know the way...
I want to make as the image...
Title: Re: How to move quantity box and template change?
Post by: jenkinhill on May 23, 2015, 19:33:44 PM
Sorry, we cannot provide support for commercial templates on this forum. See http://forum.virtuemart.net/index.php?topic=108212.0

Ordasoft have stated the obvious =- they customised the templates, so as you will have paid them for the template and for support then we would expect them to provide support or advise you on how to edit the templare yourself.

Or you could probably use another thoird party plugin for the checkout, eg http://www.virtueplanet.com/vp-one-page-checkout-detail
Title: Re: How to move quantity box and template change?
Post by: almopiasgefsis on May 23, 2015, 19:54:57 PM
thank you very much!