• Sitefinity Ecommerce Donations widget available on Github

    by Venkata Koppaka | Apr 04, 2012

    Code is also available on Github here .You can read more about the widget from Steve Miller's post on sitefinity.com here

    Venkata

    Go comment!
  • Changing product detail URL in Sitefinity Ecommerce

    by Venkata Koppaka | Oct 10, 2011
    By default, Sitefinity Ecommerce ships with a date formatted URL for the Product Detail page, which comes very handy if you just want to let your users know when the product was published. But as with any other part of Sitefinity, this URL can be highly customized to meet your own needs and make even more Pretty URL or PURL in general.

    You can change the default route of products in 2 ways

     

    1. 1. Using the urlFormat in the backend of Sitefinity
    2. 2. Extending OpenAccessCatalogDataProvider in your application
    Below is the default URL format of products in Ecommerce

    Using urlFormat in the backend of Sitefinity –

    This option will let you extend the detail to not to have the date in the URL. To attain this URL format you would need to navigate to Backend-> Administration-> Settings-> Advanced-> Catalog->Providers-> OpenAccessProvider-> Parameters and then create a new parameter with the name urlFormat and value /[UrlName], this will change product detail URL to not have date. Please also note that new products added to the system will get new URL format by default but already existing products doesn’t change the URL by default. You will have to republish the existing products toget the new URL format. Below is a screenshot on how the new URL would look like -

    Extending OpenAccessCatalogDataProvider -

    This option will let you extend the route of product detail in any way you want. You have complete control over the route that leads to the detail page. Here is how you would do it –

     

    1.  You will need to change the ProviderType to a custom class in your own application.
    2.  Add the code to extend the route. (see example below)

     

     
    using Telerik.Sitefinity.GenericContent.Model;
    using Telerik.Sitefinity.Modules.Ecommerce.Catalog.Data;
    namespace SitefinityWebApp
    {
    public class CustomProductRouteHandler : OpenAccessCatalogDataProvider
    {
    public override string GetUrlFormat(ILocatable item)
    {
    return "/[DetailRouteKey]/[UrlName]";
    }
    protected override string GetUrlPart<T>(string key, string format, T item)
    {
    if (key == "DetailRouteKey")
    {
    return "Detail";
    }
    return base.GetUrlPart<T>(key, format, item);
    }
    }
    }

    Above is an image on how the changed URL format would look like, please note that you can get the "DetailRouteKey" in any way you want and feed any string into the URL at this moment.

    Also, as above note that new products added to the system will getnew URL format by default but already existing products doesn’t change the URLby default. You will have to republish the existing products to get the new URLformat.

    Hope this helps,

    Cheers

    Venkata

    Go comment!
  • Anonymous checkout in Sitefinity eCommerce

    by Venkata Koppaka | Sep 04, 2011

    Often on your eCommerce website,you might want to allow users to anonymously checkout that is allowing them to place an order even though they are not a customer of your website. There are number of reasons on why you allow anonymous checkout which you can read more about here.

    This post will show you how you would enable anonymous checkout of Sitefinity eCommerce 4.2.

    The Checkout widget controls the checkout process in Sitefinity eCommerce, so when you drag and drop Checkout widget on to your page, hit edit for bringing up the control designer property screen


    Hit advanced button on the control designer to bring up advanced properties. In the list of properties of checkout widget there is a property called CheckoutRequiresLogin, by default this value is set to true which means, every user that will checkout using your website will need to register with your website. But if you change the setting to false, the eCommerce system will allow users to checkout even though they are not a registered user of the system.

    Below is a screenshot of where the property is on Checkout Designer properties.

    Hope this helps

    Cheers

    Venkata

    Go comment!
  • Get started with eCommerce module using Sitefinity 4.2

    by Venkata Koppaka | Aug 11, 2011

    The Sitefinity’s 4.2 Release, brings a new module to the picture ECommerce.

    This post walks you through how to setup a store and all the steps that are required in the process.

    First let’s talk about the feature set of the eCommerce module -

    Features

    The initial release of eCommerce lets you –

    Backend Features


    1.       Manage Products
    2.       Manage Product Types
    3.       Manage Departments
    4.       Manage Customers 
    5.       Manage Orders
    6.       Manage Shipping Methods
    7.       Manage Discounts and Sale Prices
    8.       Manage Payment Methods
    9.       Manage Taxes

    10.   Reports

     

    Frontend Features


    1.       Showing Product List with Sale / VAT Price
    2.       Product Detail page with configurable routing
    3.       Shopping Cart page
    4.       Checkout page with Anonymous login
    5.       My Orders page which lets the users see the orders they placed

    6.       Invoice page which shows the invoice of the purchased order

    To get started with the eCommerce module, a merchant will need
    1.       Pages (that shows various eCommerce controls)
    2.       Basic, Shipping and SMTP settings
    3.       Payment Method

    Let us talk about each of them in detail –

    Pages required by eCommerce

    Any basic store will need the following pages to be created in Sitefinity pages section –


    1.       Product List Page: The page that lists the available products in the store.
    2.       Shopping Cart Page: The page that shows the shopping cart control and lets the users checkout.
    3.       Checkout Page: The page that accepts user’s credit card information and performs checkout.
    4.       Confirmation Page: The page that the user will get redirected to after placing an order.

    Settings required by eCommerce

    The following settings are required by the eCommerce module to work correctly –


    1.       Basic eCommerce Settings (under Sitefinity/Administration/Settings/Advanced/Ecommerce)

    a.       Default Currency

    b.      Shipping From Country

    c.       Shipping From Zip

    d.      Merchant Email


    2.       Shipping Settings (under Sitefinity/Administration/Settings/Advanced/Shipping)

    a.       Shipping Carrier Provider


    3.       SMTP Settings (under Sitefinity/Administration/Settings/Advanced/System/SMTP (Email Settings))

    a.       Settings for sending out email

    Payment Method

    Every Ecommerce system requires payments methods to be setup to process payments. The Ecommerce module will support two different Payment Processors by default


    1.       Authorize .net

    a.       Authorize .net by default needs URL, Login Id and transaction key.


    2.       PayPal PayFlowPro

    a.       Thee PayPal PayFlow Pro by default needs URL, Username, Password, Vendor and Partner information. You can signup for a PayPal PayFlowPro account here

    Widgets

     


    1.       Product List: This widget shows a list of products that are available in the store.
    2.       Buy Now: Useful when the merchant wants to show a single product buy now option
    3.       Shopping cart Summary:  This widget shows the summary of the users shopping cart (Number of items in the cart and subtotal information)
    4.       Shopping cart: This widget shows the shopping cart of the uses and lets the user checkout or continue shopping.
    5.       Checkout: This widget shows the Checkout (Order related) form and lets the user to place the Order.
    6.       Order list: This widget shows list of orders place for the online store.
    7.       Order invoice: This widget shows the invoice of a particular Order

    I will be posting more in detail regarding each widget and how to use the other parts of the Sitefinity Ecommerce system soon.

    Stay tuned!

    Cheers

    Venkata

    Go comment!