Author Topic: Product Page Fields For Templating  (Read 109622 times)

petepeith

  • Beginner
  • *
  • Posts: 7
Re: Product Page Fields For Templating
« Reply #30 on: June 07, 2012, 08:23:44 am »
How to change the size of Product MAIN Image, not to show full size?

ThomasR

  • Beginner
  • *
  • Posts: 4
Re: Product Page Fields For Templating
« Reply #31 on: July 10, 2012, 14:06:12 pm »
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

  • Jr. Member
  • **
  • Posts: 100
Re: Product Page Fields For Templating
« Reply #32 on: July 10, 2012, 14:38:52 pm »
How to change the size of Product MAIN Image, not to show full size?

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

flaterik

  • Jr. Member
  • **
  • Posts: 100
Re: Product Page Fields For Templating
« Reply #33 on: July 10, 2012, 14:41:11 pm »
ther's the product-sku field, but the order product is possible to display?

webdiez

  • Beginner
  • *
  • Posts: 2
Re: Product Page Fields For Templating
« Reply #34 on: August 01, 2012, 13:40:59 pm »
Whether it is possible to make a similar template of the goods?
http://www.n-store.ru/device/item/nokia_lumia_710/002Z1P7/

stephaNNb

  • Beginner
  • *
  • Posts: 13
Re: Product Page Fields For Templating
« Reply #35 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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10278
  • VirtueMart Version: 3+
Re: Product Page Fields For Templating
« Reply #36 on: August 20, 2012, 17:49:06 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
I do NOT do development work for hire.

stephaNNb

  • Beginner
  • *
  • Posts: 13
Re: Product Page Fields For Templating
« Reply #37 on: August 20, 2012, 18:07:30 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 :
Code: [Select]
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

  • Jr. Member
  • **
  • Posts: 74
Re: Product Page Fields For Templating
« Reply #38 on: August 31, 2012, 16:58:02 pm »
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

  • Beginner
  • *
  • Posts: 2
Re: Product Page Fields For Templating
« Reply #39 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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10278
  • VirtueMart Version: 3+
Re: Product Page Fields For Templating
« Reply #40 on: September 05, 2012, 21:00:39 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
I do NOT do development work for hire.

sajtfokus

  • Beginner
  • *
  • Posts: 14
    • Cute Things and Gifts
Re: Product Page Fields For Templating
« Reply #41 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

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10278
  • VirtueMart Version: 3+
Re: Product Page Fields For Templating
« Reply #42 on: October 08, 2012, 13:08:45 pm »
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>


I do NOT do development work for hire.

sajtfokus

  • Beginner
  • *
  • Posts: 14
    • Cute Things and Gifts
Re: Product Page Fields For Templating
« Reply #43 on: October 08, 2012, 19:01:51 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10278
  • VirtueMart Version: 3+
Re: Product Page Fields For Templating
« Reply #44 on: October 10, 2012, 00:25:14 am »
<a href="<?php echo $this->product->product_url ?> " target="_blank"><img src="/images/vmimages/buy_image.jpg"/></a>

I do NOT do development work for hire.