Custom URL Routing for PrestaShop Modules

PrestaShop v1.5 revolutionized the way you control and customize URLs. From Friendly URLs, to customized URL routing, PrestaShop is the e-commerce software on the forefront of URL capabilities.

In v1.5.3, we’ve added a small new feature to the URL dispatcher to further enhance URL rewriting capabilities. It is now possible to add custom URL routes for modules. Let’s see how it works.

Here’s an example:
Let’s name a new Module called “mymodule”.
“mymodule” has two main functions.

1) It will show a page list of commands for any user on your site
2) You can use “mymodule” to see the details of an order

Page list of commands

  • Friendly URL Disabled: http://www.yourstore.com/index.php?fc=module&module=monmodule&controller=orders&module_action=listing
  • Friendly URL Enabled: http://www.yourstore.com/module/monmodule/orders?module_action=listing

Details of an order

  • Friendly URL Disabled: http://www.yourstore.com/index.php?fc=module&module=monmodule&controller=orders&module_action=details&id_order=42
  • Friendly URL Enabled: http://www.yourstore.com/module/monmodule/orders?module_action=details&id_order=42

The principle of using Friendly URLs is to have nice, clean, SEO Friendly URLs that are naturally readable by search engines and customers alike. However, even with Friendly URLs turned on, sometimes the URLs can still look strange. This is clearly the case with the two examples above, even with Friendly URLs turned on.

PrestaShop v1.5.3 comes equipped with the ability to add custom routes for a module. Using Friendly URLs, alongside with a custom route for the module we created, allows us to alter each URL to look fresh and clean. Check out the URLs now that we’ve added a custom route.

  • 1) Page list of commands
    http://www.yourstore.com/module/mymodule/orders/listing
  • 2) Details of an Order
    http://www.yourstore.com/module/mymodule/orders/details/42

The difference is remarkable. In the above examples, you can now see how much easier the URLs are to read. This is an example of the awesome power and control you have over your URLs by using PrestaShop.

If you have a server that can handle URL rewriting, and have Friendly URL’s turned on, you can navigate to Preferences>SEO and URL’s> Schema of URL’s to view all the customization features you can add.


Take an Inside look at PrestaShop Modules

I. Module Installation and Configuration

a. Enhance your PrestaShop store with Modules

You’ve probably noticed that the instant you install PrestaShop, it comes fully equipped with a variety of modules. These modules deliver added functionality to your PrestaShop store such as payment processing, shipping solutions and marketing tools.

Read more


PrestaShop and A2 Hosting Partner to Provide Enhanced E-commerce Performance

ZoomWe at PrestaShop believe that you should care about website performance, and that’s why we wholeheartedly recommend you consider A2 Hosting.

A2 Hosting is an all-inclusive global-webhosting service that offers lightning-fast SwiftServers for optimal PrestaShop performance. They even provide free, seamless migration to their SwiftServers for existing PrestaShop users.  And with their automatic PrestaShop setup and instant account access, new PrestaShop merchants will also have an easy time getting started with A2 Hosting. So whether you’re unhappy with your current host or looking to start a new PrestaShop store, A2 Hosting is the perfect choice! Read more

Make the most of your product images with PrestaShop

In the world of e-commerce, shoppers rarely have the ability to look at – or feel – a product before making a purchasing decision (downloadable products excluded). That’s why product images are so important to the overall success of an e-commerce website.

When it comes to taking well-constructed product pictures, there are two options to choose from.  First, you can hire a professional to do the work for you, or you can grab a camera and do it yourself.  Trust us… it is not as hard as you’d think, but you’ll need to know a few things before getting started.

Read more


Joias Silvanil: PrestaShop e-commerce hits Brazil

For the first time ever,  PrestaShop is proud to include a Brazilian e-store into our success story showcase. Without further adieu, let us formally welcome you to Joias Silvanil, a beautiful e-commerce website that sells both original and personalized jewelry.

Family owned and operated  since 1977, the Joias Silvanil jewelry store has only recently stepped out of its humble beginnings in Curitiba Parana, Brazil, by starting an online store with PrestaShop.

With the goal of crossing borders and making their expertise known around the world, Ricardo Schwarzbach, the brand’s founder, is delighted to have his first online store.  “We’ve already made huge gains in visibility,” he confirms.

As for their collaboration with PrestaShop, Schwarzbach said “We’re very happy to work with PrestaShop. Their quality modules have made our lives so much easier. Not to mention, the software handles everything from receiving an order request to delivering the final product.”

Read more


Top-Four Tips for Increasing the Speed of Your PrestaShop Store

This is article is the third in PrestaShop’s Guest Blogger series. Its content was created by Lesley Paone, a PrestaShop Community member (Dh42) and the owner of Nashville-based Designhaus 42.

Is your PrestaShop store slower than you’d like it to be? Have you noticed long page-load times? In the world of e-commerce, site speed is directly tied to business prosperity. A fast site enhances a customer’s experience, while a slow site is sure to take your bounce rate to new heights. Read more

Poland : a new horizon for e-businesses

Continuing our overview of European e-commerce, today we examine Poland.

So what does e-commerce in Poland look like ?

Polish e-commerce : the figures

Poland is experiencing high growth levels : 24% in 2012, with Internet sales at 4.50 billion euros compared with 1.86 billion in 2008..

The number of websites in Poland is exploding – more than 3000 domain names are created each day. By our count, there are around 10,000 e-stores in existence. An estimated 70% or more Poles make purchases online, which is equal to about 13 million Polish consumers.

But what’s behind this spectacular growth ? It’s the fruit of a burgeoning economy and widespread access to the Internet. Indeed, according European Union statistics, 67% of Polish homes have Internet access.

Lets take a closer look at the specifics of this exciting new market.

Read more