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.
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.
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
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
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
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.
is working on a reply...