You have no items in your shopping cart.

Profile: Support

Avatar
Statistics

    I'll add your feature.

    7 years ago

    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)


    Example

        <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>

    7 years ago

    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...

    7 years ago

    I'll see and answer you after 10 minutes.

    7 years ago

    No, plugin doesn't have such feature.
    Plugin will export piture2 if the product has it.

    7 years ago

    You can add only suffix for URL (example ?affiliate=1).
    and your product URL will have such URL
    http://www.foxnetsoft.com/productname?affiliate=1

    How do you add suffix?
    Open feed and select the second Tab, find the URL tag and press 'Edit'.

    7 years ago

    <ActionId>0</ActionId>

    7 years ago

    Check "Post-process action" value.
    Try to set value 'none' (or 0 in XML template).
    You use 'decode_html_entity' and plugin removes all html tags.

    7 years ago

    Yes. You can select receiver's email address from the list.

    7 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved