News:

Support the VirtueMart project and become a member

Main Menu

Product Page Fields For Templating

Started by PRO, November 03, 2011, 17:16:20 PM

Previous topic - Next topic

petepeith

How to change the size of Product MAIN Image, not to show full size?

ThomasR

Dear All,

I would like to 'print' all the categories, where the product is assigned to, on the productpage (with URL's).
I found an plugin for Joomla 1.5 (http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-categories/9106 ) with this function but it doesn't work on Virtuemart 2.0

Does someone have the solution for this?

With kind regards / Met vriendelijke groet
Thomas

flaterik

Quote from: petepeith on June 07, 2012, 08:23:44 AM
How to change the size of Product MAIN Image, not to show full size?

give to the main image Class
max-size: 100%

flaterik

ther's the product-sku field, but the order product is possible to display?

webdiez


stephaNNb

Hy There !

I wan't to remove quantity box from module virtuemart_products .
But i don't know how to do that?
Can somebody help me please?

LINK to prove! :)
http://produseteleshopping.eu/index.php/magazin

PRO

Quote from: stephaNNb on August 20, 2012, 16:26:44 PM
Hy There !

I wan't to remove quantity box from module virtuemart_products .
But i don't know how to do that?
Can somebody help me please?

LINK to prove! :)
http://produseteleshopping.eu/index.php/magazin


either you have to "'display:none"    with css, or not show the add to cart at all

stephaNNb

Quote from: PRO on August 20, 2012, 17:49:06 PM
either you have to "'display:none"    with css, or not show the add to cart at all
Thank you for you're quite reply
Where Mate ?
In the vmsite-ltr.css
i have this code :
span.quantity-box{float:left;width:27px;padding-top:5px;}
input.quantity-input{height:19px;width:25px;text-align:center;font-weight:700;padding:2px;}
span.quantity-controls{width:15px;float:left;padding-top:2px;margin:0 0 0 10px;}
span.quantity-controls input.quantity-controls{height:14px;border:none;width:15px;}
span.quantity-controls input.quantity-plus{background:url(../images/vmgeneral/quantity-controls.png) repeat-x;margin-bottom:2px;}
span.quantity-controls input.quantity-minus{background:url(../images/vmgeneral/quantity-controls.png) repeat-x;background-position:15px 0;}
.addtocart-bar{margin:0;padding:0;}
span.addtocart-button{width:152px;float:left;margin:0 0 0 10px;}
span.cart-images img {
    float: left;
    margin: 0;
    width: 45px;
}
span.addtocart-button input.addtocart-button,span.addtocart-button input.notify-button{width:152px;background:#e8e8e8 url(../images/vmgeneral/backgrounds.png) top repeat-x;background-position:0 -160px;color:#fff;border:solid #00a000 1px;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;font-size:14px;cursor:pointer;height:34px;text-align:center;letter-spacing:1px;padding:4px 5px;}

guidocx842

Hi everybody!
I'm looking for a image gallery module for Virtuemart 2 (Joomla 2.5) that shows dynamically all related products (products of the same category) of the product that I'm looking on the product details page.
Then I need to put it where usually you can see the description (that I move to the right of the product image). When the user click on a product image of the gallery, the user have to be redirected to the product details page of that product.
Please, can you suggest me a solution? Thanks a lot!  ;)

Marba917

Hello guys,

I have a custom field in my products named "video" as a string

How can i call this string using php code?

like this:

<?php echo $this->product->product_desc ?>

but with the custom field?

many thanks for your help

Joomla 1.5 and VM 2.0.8

PRO

Quote from: Marba917 on September 05, 2012, 20:27:34 PM
Hello guys,

I have a custom field in my products named "video" as a string

How can i call this string using php code?

like this:

<?php echo $this->product->product_desc ?>

but with the custom field?

many thanks for your help

Joomla 1.5 and VM 2.0.8


http://forum.virtuemart.net/index.php?topic=99225.0

sajtfokus

Hello,

I would like to show an image on my product page (a "buy" image located somewhere on the server, e.g. "/images/vmimages/buy_image.jpg"), and also I would like that image to be linked with the URL specified in the product information (URL field).

If that requires too much of a coding knowledge, I can satisfy with link pointing to the specified url in the product information.

As far as I know, this code <?php echo $this->product->product_url ?> is showing Product URL as text. I just want that text to be linked with the URL specified in the Product Information.

I hope someone knows how to do this :)
Thanks

PRO

Quote from: sajtfokus on October 08, 2012, 04:47:15 AM
Hello,

I would like to show an image on my product page (a "buy" image located somewhere on the server, e.g. "/images/vmimages/buy_image.jpg"), and also I would like that image to be linked with the URL specified in the product information (URL field).

If that requires too much of a coding knowledge, I can satisfy with link pointing to the specified url in the product information.

As far as I know, this code <?php echo $this->product->product_url ?> is showing Product URL as text. I just want that text to be linked with the URL specified in the Product Information.

I hope someone knows how to do this :)
Thanks

<a href="<?php echo $this->product->product_url ?> "><img src="/images/vmimages/buy_image.jpg"/></a>



sajtfokus

Thank you very much!!!

Any suggestion how to open that link in another window? I want to keep my visitors on website as long as I can :)

PRO

<a href="<?php echo $this->product->product_url ?> " target="_blank"><img src="/images/vmimages/buy_image.jpg"/></a>