Hi
I need to replace the default ProductImage placeholder with a zoom component, therefore
I need to know how to get the cutrrent product image name ( fully qulified or the URL ), so I can submit it to my zoom component.
Any help is appriciated. Thanks
How to gt the product image name
Re: How to gt the product image name
You can load current product Image as
.
Code: Select all
int _ProductId = AlwaysConvert.ToInt(Request.QueryString["ProductId"]);
Product _Product = ProductDataSource.Load(_ProductId);
if (_Product != null)
{
string imageUrl=_Product.ImageUrl;
}
{
hope this helps!
__________________
s_ismail

AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail


AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
Re: How to gt the product image name
Thanks Ismail
I was more thinking about the nVlocity variable, so in the HTML page i can use somthing like $Product.image and pass it to my zoom component.
Also do you happen to know where I can find a list of variables exposed via nVlocity?
Regards
I was more thinking about the nVlocity variable, so in the HTML page i can use somthing like $Product.image and pass it to my zoom component.
Also do you happen to know where I can find a list of variables exposed via nVlocity?
Regards
Re: How to gt the product image name
Read following thread, something similar is been discussed here with NVeclocity code
viewtopic.php?f=44&t=7553
viewtopic.php?f=44&t=7553
Re: How to gt the product image name
You can find exposed variables here
http://wiki.ablecommerce.com/index.php/ ... scriptlets.
http://wiki.ablecommerce.com/index.php/ ... scriptlets.
hope this helps!
__________________
s_ismail

AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail


AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog