-
No results found.
Try your search with a different keyword or use * as a wildcard.
_CreateOrUpdate.cshtml
@model ProductModel
@{
var showTour = ViewBag.ShowTour ?? false;
const string hideInfoBlockAttributeName = "ProductPage.HideInfoBlock";
var customer = await workContext.GetCurrentCustomerAsync();
var hideInfoBlock = showTour ? false : await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);
const string hidePricesBlockAttributeName = "ProductPage.HidePricesBlock";
var hidePricesBlock = showTour ? false : await genericAttributeService.GetAttributeAsync(customer, hidePricesBlockAttributeName);
const string hideShippingBlockAttributeName = "ProductPage.HideShippingBlock";
var hideShippingBlock = showTour ? false : await genericAttributeService.GetAttributeAsync(customer, hideShippingBlockAttributeName);
const string hideInventoryBlockAttributeName = "ProductPage.HideInventoryBlock";
var hideInventoryBlock = showTour ? false : await genericAttributeService.GetAttributeAsync(customer, hideInventoryBlockAttributeName);
const string hideMultimediaBlockAttributeName = "ProductPage.hideMultimediaBlock";
var hideMultimediaBlock = showTour ? false : await genericAttributeService.GetAttributeAsync(customer, hideMultimediaBlockAttributeName);
const string hideProductAttributesBlockAttributeName = "ProductPage.HideProductAttributesBlock";
var hideProductAttributesBlock = await genericAttributeService.GetAttributeAsync(customer, hideProductAttributesBlockAttributeName, defaultValue: true);
const string hideSpecificationAttributeBlockAttributeName = "ProductPage.HideSpecificationAttributeBlock";
var hideSpecificationAttributeBlock = await genericAttributeService.GetAttributeAsync(customer, hideSpecificationAttributeBlockAttributeName, defaultValue: true);
const string hideGiftCardBlockAttributeName = "ProductPage.HideGiftCardBlock";
var hideGiftCardBlock = await genericAttributeService.GetAttributeAsync(customer, hideGiftCardBlockAttributeName, defaultValue: true);
const string hideDownloadableBlockAttributeName = "ProductPage.HideDownloadableBlock";
var hideDownloadableBlock = await genericAttributeService.GetAttributeAsync(customer, hideDownloadableBlockAttributeName, defaultValue: true);
const string hideRentalBlockAttributeName = "ProductPage.HideRentalBlock";
var hideRentalBlock = await genericAttributeService.GetAttributeAsync(customer, hideRentalBlockAttributeName, defaultValue: true);
const string hideRecurringBlockAttributeName = "ProductPage.HideRecurringBlock";
var hideRecurringBlock = await genericAttributeService.GetAttributeAsync(customer, hideRecurringBlockAttributeName, defaultValue: true);
const string hideSeoBlockAttributeName = "ProductPage.HideSEOBlock";
var hideSeoBlock = await genericAttributeService.GetAttributeAsync(customer, hideSeoBlockAttributeName, defaultValue: true);
const string hideRelatedProductsBlockAttributeName = "ProductPage.HideRelatedProductsBlock";
var hideRelatedProductsBlock = await genericAttributeService.GetAttributeAsync(customer, hideRelatedProductsBlockAttributeName, defaultValue: true);
const string hideCrossSellsProductsBlockAttributeName = "ProductPage.HideCrossSellsProductsBlock";
var hideCrossSellsProductsBlock = await genericAttributeService.GetAttributeAsync(customer, hideCrossSellsProductsBlockAttributeName, defaultValue: true);
const string hidePurchasedWithOrdersBlockAttributeName = "ProductPage.HidePurchasedWithOrdersBlock";
var hidePurchasedWithOrdersBlock = await genericAttributeService.GetAttributeAsync(customer, hidePurchasedWithOrdersBlockAttributeName, defaultValue: true);
const string hideStockQuantityHistoryBlockAttributeName = "ProductPage.HideStockQuantityHistoryBlock";
var hideStockQuantityHistoryBlock = await genericAttributeService.GetAttributeAsync(customer, hideStockQuantityHistoryBlockAttributeName, defaultValue: true);
}