Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

Cut & Paste Not Working (CMS 11.4.0 & Commerce 11.8.2)

$
0
0

We have a structre of 

-Product

--Variant

When in the catalog manager interface we can click copy or cut on a variant but when selecting the menu on a different product to copy or move it across the paste icon does not display?


Exclude specific catalog entries from a Promotion

$
0
0

Hello everybody,

A customer I'm working on has for a while asked us to implement a feature where they can create a promotion, select which content they want to be the condition and then select some content that should not be a part of the promotion. I've not really theorized a solution for this, so we've done some workarounds that worked well enough to fulfill the use case they had. However, I want to reach out and see if someone can help me suggest a way of implementing this nicely.

Before anyone asks "Why not just include what should be included in the promotion?", I think I'm safe to say a very common usage of promotions is have one that affects the entire assortment or large portions of it, but that a few products are too "premium" to be affected by a discount.

Way 1: The obvious way

Create a custom promotion processor for the promotion. You can do whatever logic you want from in there, right? Well, this feature should be for all promotions, so that'd mean we'd have to create a custom promotion for every existing built in promotion. A class that inherits the data class for that specific promotion adding the list of exluded content and a processor that overrides the old promotion processor and somewhere injects the logic to exclude the products selected in the list of excluded content. 

So in the end the solution is quite ugly, will have to mean creating tons of code that "already existed" and if Epi releases a new promotion implementation, we will have to manually build that one as well.

Way 2: EntryFilterSettings to our rescue?

The fairly new way of excluding products from promotions, does look very promising, just by looking at the description. However it doesn't fit this use case, as this should be promotion specific. Maybe promotion A should exclude product P1 and promotion B should exclude P2. We can't solve that by the EntryFilterSettings, since that one is used in the promotion engine, removing the items before the engine starts running the specific promotion processors.

So this method is unfortunately a no-go. Even though we do use EntryFilterSettings for a lot of other purposes, such as always excluding gift cards from promotions!

Way 3: Make Epi implement a way!

innocent

In all seriousness I'm looking for a way of implementing this. Am I missing something, am I tunneled visioned and there is an super easy way of achieving this? Currently I'm leaning to implementing it as Way 1, but not super excited about it. 

Export Find data?

$
0
0

Does anyone know of a way to export Find data into an Excel doc or CSV?

Item Level Discount is not being applied while calculating Order level Discount

$
0
0

Hello everyone,

    We made a custom order level discount processor as there was a business rule to exclude certain products from order level discount. But what we found out was while calculating the total amount of lineitems which are included in order level discount, item level discount of those line items are not being applied. 

Let's say we have a cart with 2 lineItems, Product A of price 10$(included in order discount/ Also have an individual 10% item discount), Product B (excluded from order discount). In our SpendAmountGetOrderDiscountCustomProcessor class, lineitem is 10$ but technically it should be 9$ (taking item level into consideration), so we are applying order level discount to 10$ instead of 9$. 

I need help to figure out a way to include item level discount while calculating order level discount. Any help would be appreciated.

Thanks,

Venkata

What is the propoer way of assigning value to order attribute

$
0
0

What is the propoer way of assigning value to order attribute of pages and blocks? In startpage of Alloy template, properties are assigned with random order values like 300, 350, 400 whereas buttonblocks is assigned with 1,2 etc. It looks like the order number of one content does not conflict with that of another content.

Customize multiple choice form field value separator

$
0
0

It is about a form containing multiple choice fields. When you submit the form - multiple choice values are saved as string separated by comma. I am trying to utilize Marketing Automation package and send form submissions to Salesforce. SF itself use semicolon as multifield value separator. Therefore integration failed in case form submission contains multi field values. 

Do we have any option to customize field value separator on Episerver side and specify alternative character?  

Strange behavior when editing links in TinyMCE

$
0
0

We have encountered some strange behavior when editing links in the TinyMCE editor. When creating a link using the "Page" radio button and entering "Remaining url" the information is not preserved correctly. The behavior is only reproducible inside a TinyMCE editor, not on Url properties.

It occurs on a freshly installed Alloy site with all the latest updates, namely:

Episerver 11.11, TinyMCE 2.7.1

How to reproduce:
1. In Cms Edit: open a page with a XhtmlString property (such as About us on Alloy)
2. Enter some text and select Insert link
3. Choose Page and select a page
4. Enter a value in Remaining Url
5. Publish

At this point the link works correctly

6. Reload Cms Edit window
7. Click Insert/edit

At this point the link is changed to External

8. Edit any part of the XhtmlString to trigger a Save then Publish


The link no longer works and instead looks something like on the public site: /EPiServer/CMS/Content/en/alloy-plan,,6/test?epieditmode=False&epsremainingpath=test

Is this a known bug? Is there a workaround?

What are the things to be included as properties in page type?

$
0
0

What are the things to be included as properties in page type? Any example please.


Fetch what LineItems Rewards/Promotions affect in Cart

$
0
0

When I'm fetching the calculated discounts/rewards/what say you not, I can't seem to find a way of fetching which items in the cart the afformentioned discounts they are for. And, when I'm trying to use the 

promotionsEngine.Evaluate(entryLink, currentMarket, currentMarket.DefaultCurrency, RequestFulfillmentStatus.All);

I'm always getting a NullReferenceException, but only for entryLinks that is supposed to have a discount associated with it, while the ones without any discount/reward just returns an empty List.

Is there a way of fetching what discounts are for what items in the cart?

Exception while trying to edit the shipping address

$
0
0

After creating a purchase order, I go to the Commerce Manager ("Order Management" -> "Purchase Orders" -> "Today" -> My created order -> "Details" -> "Edit shipping address") and try to edit the shipping address, adding an email. But when I try to save changes, I get an error:

2019-01-17 14:56:52,729 [135] ERROR EPiServer.Global: Unhandled exception in ASP.NET
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
   at Mediachase.Commerce.Extensions.IExtendedPropertiesExtensions.CopyPropertiesFrom(IExtendedProperties target, IExtendedProperties source, Boolean overwrite)
   at Mediachase.Commerce.Orders.OrderForm.UpdateOrderAddress(OrderAddress address, IOrderAddress orderAddress)
   at Mediachase.Commerce.Orders.Shipment.SetShippingAddress(IOrderAddress value)
   at Mediachase.Commerce.Orders.Shipment.EPiServer.Commerce.Order.IShipment.set_ShippingAddress(IOrderAddress value)
   at Mediachase.Commerce.Manager.Order.CommandHandlers.PurchaseOrderHandlers.EditShipmentAddressHandler.EditShipmentAddress(IOrderGroup order, CommandParameters cp)
   at Mediachase.BusinessFoundation.CommandHandler.PostBackHandler(Object Sender, Object Command, Object Argument)
   at Mediachase.BusinessFoundation.CommandManager.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.apps_shell_pages_contentframe_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I looked into the code and found a method in which an error occurs. But I do not understand how it arises here:

private static void CopyPropertiesFrom(IExtendedProperties target, IExtendedProperties source, bool overwrite)
{
  Validator.ThrowIfNull(nameof (target), (object) target);
  Validator.ThrowIfNull(nameof (source), (object) source);
  if (target.Properties == null)
    throw new InvalidOperationException("The Properties property of the target parameter can not be null.");
  if (source.Properties == null)
    return;
  foreach (object key in (IEnumerable) source.Properties.Keys)
  {
    if (overwrite || !target.Properties.ContainsKey(key))
      target.Properties[key] = source.Properties[key];
  }
}

Can anyone explain why an error occurs?

By the way, the interface itself does not show that an error has occurred. I accidentally found out about it, looking into the browser's developer tools. When I press the save button in the modal address editing window, the window closes and nothing happens. When I refresh the page, the message "The Order is in Edit Mode. Save changes before exiting" appears. When I open the address editing window again, all the fields are empty, not filled with data that was before.

How to add Last Login Date to Contact list in Commerce Manager?

$
0
0

In the Customer list view in Commerce Manager my customer also want to see last login date as a column.

Last login Date is availible on the account connected to each customer, But how do I get that column to show in the list view? That field is not availble in the list of fields to add. 

Approval Sequence - sending an initial comment and tying to expiry date

$
0
0

Hello episerver,

We currently use our own custom workflow to approve webpages on the CMS.

However, i am looking into using the native episerver capability of Content Approval Sequence.

As far as I can see, there are two issues that stop me from using this and wondered if it would be possible to resolve:

1) When I start a new approval sequence, as a web editor i want to include a message telling the reviewers what has changed and what to look out for

2) I want the final reviewer to be able to set an expiry date for the page.

Can this be done?

I look forwrad to your response.

Thanks,

Tom

Unexplained 302 redirect that adds trailing slash? Check your file/folder structure.

$
0
0

Just a quick note for anyone experiencing something similar.

We have a client who had a concern that /resources always redirected to /resources/. After a lot of wasted time checking the web.config for rewrite rules, writing rewrite rules that didn't work, disabling the 404handler, and testing init modules (routingOptions.UseTrailingSlash) Episerver's engineering team pointed us to the actual problem. 

The site actually had a folder named Resources that contains the XML language files. After renaming the folder and updating the EPiServerFramework.config with the new path the URL worked without the redirect.

So long story short, if you are having a problem with an alias check to make sure that you don't have a folder with the same name.

New page option is coming disabled.

$
0
0

Hi

New page option is coming disabled in episerver site.

Thanks

Devendra Singh

How to enable HTML functionality on Tiny MCE Editor for XHTML Property

$
0
0

Hi Team,

We are trying to provide editor to add html data directly into TinyMCE Editor which we use via XHtml String property.

Is there a way to enable HTML directly in the description area for it.

Regards,

Manik


Image Cropper - New Package

The Find user interface is currently not available, please try again later

$
0
0

Hi,

We're using on premise Find and are getting the message "The Find user interface is currently not available, please try again later" when trying to access Find from within the CMS.

We have the Find UI section defined in web.config and the associated node added further down in the config file as follows:

<section name="episerver.find.ui" type="EPiServer.Find.UI.FindUIConfiguration, EPiServer.Find.UI" />

<episerver.find.ui clientSideResourceBaseUrl="http://xxx.xxx.xx.xxx/$version$/" /> with the IP address being the load balanced address to the two clustered Find servers.

I've tried commenting out the second item above and get the same error. The environment doesn't have and can't have internet access. This worked with an earlier version of EPiServer and on premise Find.

The indexing is working as expected and we're able to get results returned in the site search. We're using Find version 12.6.2 with CMS version 10.10.4

Has anyone else encountered this and know how to fix?

Thanks in advance

Unexplained 302 redirect that adds trailing slash? Check your file/folder structure.

$
0
0

Just a quick note for anyone experiencing something similar.

We have a client who had a concern that /resources always redirected to /resources/. After a lot of wasted time checking the web.config for rewrite rules, writing rewrite rules that didn't work, disabling the 404handler, and testing init modules (routingOptions.UseTrailingSlash) Episerver's engineering team pointed us to the actual problem. 

The site actually had a folder named Resources that contains the XML language files. After renaming the folder and updating the EPiServerFramework.config with the new path the URL worked without the redirect.

So long story short, if you are having a problem with an alias check to make sure that you don't have a folder with the same name.

MenuPin -v10.1.4 not compatible with Episerver.CMS.UI 11.14.1

$
0
0

I am using Episerver.CMS.UI 11.14.1 which is not compatible with MenuPin -v10.1.4, what should I do?

Using EpiFind nuget package to index, how do I set the ID

$
0
0

I have an object like below. I have defined the _id field but I do NOT get the value I passed set as the ID.

How do I force it to use MY id that I pass it?

    public  class MarketReportItem : ISearchContent
    {
	    public string _index { get; set; }
        public string _type { get; set; }
        public string DocumentGuid { get; set; }
        public string FileName { get; set; }
        public string _Type { get; set; }
        public string _id { get; set; }
Viewing all 6894 articles
Browse latest View live