Welcome Guest, Login

eShiply.me Documentation Wiki

- Back to Home

Navigation

Switchable Product Picture

How to change alternative picture option

After install the plugin, click configure to change the option. By default, last picture will be selected as alternative picture.

How if the alternative is not working

Remember to paste the _ProductBox.cshtml into theme > DefaultClean > Views > Shared folder.
If you are using custom theme or other theme, please open _ProductBox.cshtml under the theme > Custom Theme > Views > Shared
* Copy _ProductBox.cshtml under Views > Shared folder and paste into your theme folder, if _ProductBox.cshtml is not exits under the folder mention above, and then open _ProductBox.cshtml and insert widget zone as below

Existing Code
<div class="picture">
        <a href="@Url.RouteUrl("Product", new { SeName = Model.SeName })" title="@Model.DefaultPictureModel.Title">
            <img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" />
        </a>
    </div>

New Code
<div class="picture">
        <a href="@Url.RouteUrl("Product", new { SeName = Model.SeName })" title="@Model.DefaultPictureModel.Title">
            <img alt="@Model.DefaultPictureModel.AlternateText" src="@Model.DefaultPictureModel.ImageUrl" title="@Model.DefaultPictureModel.Title" />
        </a>
        @Html.Widget("productbox_picture", Model)
    </div>

Copyright © 2013 eShiply Technology. All rights reserved. ScrewTurn Wiki version 3.0.5.600.