Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • brinck10 24 posts 55 karma points
    Jul 04, 2012 @ 18:53
    brinck10
    0

    Changing the Initial URL ~/shop to ~/products

    Hi there experts!

    The recent days I've been working on Umbraco 4.7 within the site I'm currently developing. It requires a webshop why I couldn't choose anything but uCommerce, due to it's customizational power! Thanks for the wonderful webshop.

    That is, however, not the reason to why I post on this forum. You see, as the topic says, the webshop path installed with the uCommerce Store 1.2.0.0 is set to ~/shop/here/goes/categories and I would really like to change it to ~/products/and/so/on, so the SEO-optimized links obtained from GetNiceUrlForProduct, for instance, doesn't link to ~/shop/category/product, but to ~/myOwnName/category/product.

    How would I do that?

    Thanks in advance.

    /Brinck10

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 05, 2012 @ 11:49
    Søren Spelling Lund
    0

    The default URL rewrites are configured in /config/UrlRewriting.config

    You can change them to anything you like.

    If you want to generate different external URLs you can override the IUrlService in the /umbraco/ucommerce/compoents.config

  • brinck10 24 posts 55 karma points
    Aug 08, 2012 @ 17:31
    brinck10
    0

    Hi Søren!

    Thanks, that solved my problem! I have another short question. Is it possible to access the CommerceLibrary within C# and if so, how do I do so? I would like to edit the billing information and the shipment information through C# and not via XSLT. 

    Best regards, Brinck10 

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 29, 2012 @ 10:53
    Søren Spelling Lund
    0

    Yes.

    using UCommerce.Xslt;

    TransactionLibrary.GetBasket();

    As bonus info I can reveal that we'll have an even better API in uCommerce 3 for the high-level stuff.

Please Sign in or register to post replies

Write your reply to:

Draft