/// <summary>
/// Export Action Adjustment
/// </summary>
public enum ExportActionAdjustment
{
/// <summary>
/// None
/// </summary>
none = 0,
/// <summary>
/// Character data
/// </summary>
cdata = 1,
/// <summary>
/// Decode html entities
/// </summary>
decode_html_entity = 2,
/// <summary>
/// Decode html special chars
/// </summary>
decode_special_chars = 3,
/// <summary>
/// Delete spaces
/// </summary>
delete_spaces = 4,
/// <summary>
/// Encode html entities
/// </summary>
encode_html_entity = 5,
/// <summary>
/// Encode html special chars
/// </summary>
encode_special_chars = 6,
/// <summary>
/// Remove end of lines
/// </summary>
remove_eol = 7,
/// <summary>
/// Strip tags
/// </summary>
strip_tags = 8
}
But our customers use only two types:
none = 0,
decode_html_entity = 2,
Do you want to use another values?
We added new methods but some of them wasn't implement.
We added your request.
V1.06
Replace plugin folder and restart your site. Plugin will upgrade itself.
I am sorry for delay with adding your request.
You will select product key (Id, Sku, Gtin, Manufacturer Part Number)
We added new parameter for mapping 'Additional shipping charge'.
Download new release and try.
We didn't change the release number.
Use CSS for styling.
Ok.
You should add new lines in the file WidgetZones.xml.
<WidgetZone>productdetails_before_one_picture</WidgetZone>
<WidgetZone>productdetails_after_one_picture</WidgetZone>
Open the file _ProductDetailsPictures.cshtml
and add the next lines:
@Html.Widget("productdetails_before_one_picture", Model.Id)
....
@Html.Widget("productdetails_after_one_picture", Model.Id)
<div class="picture">
@Html.Widget("productdetails_before_one_picture", Model.Id)
@if (Model.DefaultPictureZoomEnabled)
{
<a href="@Model.DefaultPictureModel.FullSizeImageUrl" title="@Model.DefaultPictureModel.Title" id="main-product-img-lightbox-anchor-@Model.Id">
<img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" itemprop="image" id="main-product-img-@Model.Id" />
</a>
<script type="text/javascript">
$(document).ready(function () {
$('#main-product-img-lightbox-anchor-@Model.Id').magnificPopup(
{
type: 'image',
removalDelay: 300,
gallery: {
enabled: true,
tPrev: '@T("Media.MagnificPopup.Previous")',
tNext: '@T("Media.MagnificPopup.Next")',
tCounter: '@T("Media.MagnificPopup.Counter")'
},
tClose: '@T("Media.MagnificPopup.Close")',
tLoading: '@T("Media.MagnificPopup.Loading")'
});
});
</script>
}
else
{
<img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" itemprop="image" id="main-product-img-@Model.Id" />
}
@Html.Widget("productdetails_after_one_picture", Model.Id)
</div>
What nopcommerce version do you use?
We plan to add new feature in this plugin and we want to know about the minimum release number...
I'll see and answer you after 10 minutes.
No, plugin doesn't have such feature.
Plugin will export piture2 if the product has it.