Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


I'm getting an HtmlHelper is required for this method error when adding an AddToCartForm.

I'm trying to add a SimpleAddToCartForm to upsellproducts.xml.config in v10.0.20 and I'm getting the following error...

An HtmlHelper is required for this method. Make sure to specify one when you call the RunXmlPackage method.

I'm not sure what I need to add to proceed. Any ideas? Thanks!

asked Jul 1 in MultiStore by awoomer (190 points)
edited Jul 1 by awoomer

1 Answer

0 votes
ShowUpsellProducts doesn't add the HtmlHelper parameter. If you have source code you should add the HtmlHelper parameter to the AppLogic.RunXmlPackage call in ShowUpsellProducts with little issue.

Otherwise you will need to call the upsell xmlpackage with XmlPackage instead of ShowUpsellProducts to work around this issue.
answered Jul 8 by mmcgeachy (5,045 points)