Use the ProductBundleGuidedSelling component
Learn how to integrate and configure the ProductBundleGuidedSelling component on a Visualforce page using Apex.
- Put the ProductBundleGuidedSelling component on your Visualforce page inside an
<apex:form>tag as shown in the Visualforce Page Example below. - Set up the component options in your controller as shown in the Apex Controller Example below.
Visualforce Page Example :
<apex:page sidebar="false" controller="SampleController">
<apex:form>
<zqu:ProductBundleGuidedSelling options="{!theOptions}"/>
</apex:form>
</apex:page>
Apex Controller Example:
public with sharing class SampleController {
public zqu.ProductBundleGuidedSellingOptions theOptions{
get;
set;
}
public SampleController(ApexPages.StandardController controller) {
theOptions = new zqu.ProductBundleGuidedSellingOptions();
theOptions.quoteId = ApexPages.currentPage().getParameters().get('id');
theOptions.quoteType = ApexPages.currentPage().getParameters().get('quoteType');
}
}