modules

środa, 19 września 2012

How to input html, css, javascript code into my PrestaShop site?

In this article i will write about adding html, css, javascript and other "client side" code into any place in our shop. Of course you can do it manually by editing template .tpl files of your shop theme. However, this method can be a bit annoying and difficult for users without a basic knowledge of programming languages ​​and smarty. In this short article i want to describe free module for adding html, css, javascript code in Prestashop.



Module is called HTML BOX and you can download it for free from MyPresta.eu website
Usage of this module is very simple. Just download and install this module in your prestashop back office. Then you must go to configuration site of this module and select place, where you want to input html, css, javascript, other code. Exactly as we checked on image attached below:

Html box configuration

as you see, you can check one position from many front-office hook list.
  • You can display your code in:
  • Header section of your shop
  • Top section of your shop
  • Left collumn of your shop
  • Right collumn of your shop
  • footer section of your shop
  • and home section of your shop

We checked left collumn. 




Text box window near hook list is place, where you put the code you want to dispaly. It could be any widget from other sites such like facebook, twitter, pinterest etc. So, put the code there and save settings of this module. Now you can refresh your shop page. You will see the new code exactly there, where you want and checked in module options.



niedziela, 16 września 2012

Prestashop 1.5 is now available!


Prestashop 1.5 new features

Multistore management
  • With options for multiple currencies, multiple languages and multiple domains, multistore management is complete, efficient and integrated into PrestaShop v1.5.  This new feature will allow any merchant, regardless of business size, to manage multiple stores from a single Back Office.
Cart-pricing rules
  • PrestaShop v1.5 allows you to manage your cart’s pricing rules easily through an ergonomic interface. Additionally, merchants can now provide discounts on any and all items in a customers’ cart. This feature provides an overtly-efficient way to market promotional offers upon checkout.
New modules API
  • For new APIs, the structure has been revised to help you simply and efficiently manage updates to all of your modules. The APIs will now automatically check to ensure you always have the latest version(s) of each module installed into your Back Office.
Rewritten Core
  • PrestaShop’s core software has been rewritten to meet the MVC pattern and the object paradigm. This will make it even easier for all developers using PrestaShop.
Redesigned Back Office
  • With an improved ergonomic Back Office and an updated graphical layout, PrestaShop’s new Back Office design is visually stunning and very easy to use. The redesign respects the MVC pattern to allow developers to quickly make customizations, if needed.

(Check out the new Back Office design)
Editing commands in Back Office
  • The editing commands in the Back Office have been optimized and relaxed. You will now be able to modify customers’ shopping carts as well as products already ordered. You will also be able to place orders from the back office, allowing you to help customers make purchases on your site (i.e. when they contact you by phone).
Improved Front Office Design and Functionality
  • The customer experience has been improved, including the order and checkout processes.  Merchants will now also be able to offer comprehensive product descriptions on a homepage that has been reimagined, and rebuilt from the ground up.

(New default template)
Improved After-Sales Service                                           
  • The integrated customer service feature has been greatly improved to centralize all of your customers’ messages from multiple sources. This new feature allows you to sync all of your email accounts so you can view and send messages directly from your Back Office.
Improved inventory management, supply orders, product returns and partial deliveries
  • For greater efficiency, PrestaShop will now include an inventory management tool allowing you to discern your physical stock from available quantities. In v1.5, you will now be able to manage your inventory in various warehouses, generate supply orders and view your stock through clear and specific interfaces. This inventory management tool is natively compatible with the new multistore feature, so managing your entire catalog of products has never been easier. Finally, for flexibility in managing customer orders, partial deliveries will now be available.
Improved management of downloadable products                
  • We have made selling downloadable products (photos, music, computer files, etc…) easier. You will now be able to manage product variations and create packages of multiple downloadable products. The file upload process has also improved.
In addition to the features provided above, multiple delivery addresses are now available. This way, if a customer chooses to shop for Christmas, or some other big event, they can buy multiple products at once and ship them individually to family and friends all over the world.
Several new partner modules have also been added as native features inside PrestaShop v1.5′s source code.

czwartek, 13 września 2012

How to add Facebook like box plugin to PrestaShop?

Now we write step-by-step tutorial about adding Facebook Like Box plugin into the PrestaShop based web store - exactly as we say in the previous post about paid Facebook integration: Like Box Prestashop Modules.

In this tutorial you will read how to create Facebook Like Box plugin code and something about adding procedure to your shop. Please note that to do it yourself you will need a minimum knowledge of managing files on the ftp server. But I think that the issue is simple and anyone can do it yourself. So let's go!


Maybe you want also great facebook shop tab?
The best Facebook Shop module for Prestashop - now 40€ cheaper!

Select place where we want to add Facebook Like Box Plugin in PrestaShop

As we say in previous post we want to add Like Box Plugin into right collumn of our shop. We of course  can add this awesome plugin wherever we want, but that is a topic for a completely separate article ;). 
On image attached below we pointed on red area where we want to put Facebook Input Box Plugin.



If we want to change our PrestaShop template, it is important to turn on "force compile" in PrestaShop preferences. Basically "force compile" is related to programming languages (in this case for php and smarty solution). If you turn on force compile in PrestaShop back-office - the script will rebuild your shop template on every time you enter or refresh shop page. It's important, because without "force compile" changes will not appear! Remember to turn off "force compile" after doing work. If you don't know where you can turn of "force compile": login into you PrestaShop back office go to Preferences tab, next to performance tab. You will see:


To turn on check "Force compile:" setting to yes. Ok, so now you can edit shop template files.

Editing PrestaShop template file for Facebook Like Box Plugin

If we want to add Like Box Plugin into right collumn of our shop, edit shop template file named footer.tpl. You can find it here: 

prestashop_directory/themes/your_theme/footer.tpl

Where:
prestashop_directory is directory where you prestashop is installed
your_theme is a shop template directory that is active in your shop


open file to edit with notepad or other text edior. We prefer to use a special HTML or PHP editor like notepad++ (windows) or geany (linux) or other free software. In this case we will show how to edit in simple  windows notepad. So, edit this file with notepad ;)


You footer.tpl file probably looks like file included below:


//HERE YOU WILL MUST IMPUT //PROPER LIKE BOX PLUGIN CODE {$HOOK_RIGHT_COLUMN}

How to get Facebook Like Box Plugin code?

go to http://developers.facebook.com/docs/reference/plugins/like-box/ page and fill Like Box setting form.




Available setting in form:

Facebook Page Url: The URL of the facebook page for like box
Width: the width of the like box plugin
Height: the height of the like box plugin
Color Scheme: The color scheme of the plugin. Note that the background is always transparent to match your background color. This setting changes the foreground colors to work well on light or 
Show Faces: Enable in you want to display profile photos of fans
Border Color: Border color of the like box plugin
Stream: Enable if you want to stream wall feed from your fan page
Header: Enable if you want to display "Find us on facebook" in header of Like Box

Click on Get Code button. Now you will se box with code for: HTML5, XFBML, IFRAME, URL. Select the IFRAME.


copy selected code to clipboard (ctrl+c)
and paste it for place:
//HERE YOU WILL MUST IMPUT //PROPER LIKE BOX PLUGIN CODE {$HOOK_RIGHT_COLUMN}
You footer.tpl section for displaing like box after paste like box code will looks like below:
{$HOOK_RIGHT_COLUMN}
As you probably see, in iframe we defined connection to Like Box Plugin url.

Attributes in Like Box Plugin url:

  • href - the URL of the Facebook Page for this Like Box
  • width - the width of the plugin in pixels. Default width: 300px.
  • height - the height of the plugin in pixels. The default height varies based on number of faces to display, and whether the stream is displayed. With the stream displayed, and 10 faces the default height is 556px. With no faces, and no stream the default height is 63px.
  • colorscheme - the color scheme for the plugin. Options: 'light', 'dark'
  • show_faces - specifies whether or not to display profile photos in the plugin. Default value: true.
  • stream - specifies whether to display a stream of the latest posts from the Page's wall
  • header - specifies whether to display the Facebook header at the top of the plugin.
  • border_color - the border color of the plugin.
  • force_wall - for Places, specifies whether the stream contains posts from the Place's wall or just checkins from friends. Default value: false.

Save your footer.tpl file and upload it into your PrestaShop correct template directory in ftp server. Refresh your website. Now you can see like box included into your shop page :)




You can also add this plugin in left column, footer section or in header section following this step-by-step tutorial. But there is main problem: how to add like box between Cart or specials Section?
It's a little bit harder and it's topic for another article.... If you want to put like box anywhere you want, use module: Facebook Like Box Pro module from official PrestaShop addons store, which costs 35,76 € with tax) or use module named Prestashop Facebook Like Box Plugin Module for about 14,00 € (this is price with tax).

środa, 12 września 2012

Facebook integration: Like Box Prestashop Module

Before I write something about adding like box plugin to your shop site I want to say a little bit about what exactly  is Facebook Like Box?


The Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. In our opinion this social media plugin from facebook is one from the most important thing in every shop based in PrestaShop engine.


The Like Box enables users to:
  • See how many users already like this Page, and which of their friends like it too
  • Read recent posts from the Page
  • Like the Page with one click, without needing to visit the Page

How to add facebook like box plugin to my PrestaShop?

You can add this great plugin in two ways:
  1. First way is use one from many available modules in oficial PrestaShop addons store. For example, here is the Facebook Like Box Pro module, which costs 29,90 € (price without tax, which mean that module costs 35,76 € with tax). You can also bought suchlike module named Prestashop Facebook Like Box module for about 14,00 € (this is price with tax).
  2. Second way means that you can add Like Box plugin manually. But in this is related to the necessity of knowing programming languages. I will write now how to add facebook like box plugin into your shop based on PrestaShop engine. For example, we will add like box plugin into right collumn of your shop.

    In the next article I will write step by step tutorial!


wtorek, 11 września 2012

Is my shop sending some informations to PrestaShop without my knowledge?

Unfortunately yes. But those informations  is only for improve PrestaShop system and statistical and demographical studies. Connecting and sending data process is completly anonymous and can be calssified into three categories:


  1. Automatic process which mean that PrestaShop receives basic information on the number of active stores, installed versions, domain names and the countries in which the software is used. These are used only for demographic data to help the PrestaShop team better understand the needs of the user community (e.g. number of shops using version 1.4, new countries using the software, etc.).
  2. Semi-Automatic process which mean that engine is sending informations during installation, PrestaShop pre-enables certain modules frequently requested by the community, such as Paypal and other shipping modules. At that time, you are given the option whether or not to accept the installation of these native features. If you do install them, our system sends you a single welcome email with advice on how to best use these modules to start selling online.
  3. Manual process which mean that sending datas is compared with your actions when you comes to manually updating your store, such as currencies, location packs and language packs. It is your responsibility as a PrestaShop merchant to choose whether or not to perform these updates and submit additional information to PrestaShop.com
And most important thing is that no personal information about you or your website is ever sent to PrestaShop, and by no means does PrestaShop ever have access to your catalog, customer base, turnover, statistics or the source code for your website. The anonymous connection between PrestaShop system and your store is only intended to provide the necessary data for the PrestaShop team to help us always improve our product, and to make changes to our software according to the expectations of the community.

So as you see: do not worry, everything with automatic data sending process is ok!

poniedziałek, 10 września 2012

Prestashop and Facebook integration: Facebook sales tab

Today i want write something about next module to integration your shop with facebook. I want to introduce you to Facebook sales tab module. Module is one of the most attractive way to advertise your offer on Facebook.

Prestashop and facebook integration: sales tab by http://mypresta.eu


Facebook sales tab is a PrestaShop module, which can increase the number of customer visits and boost your income. Our solution integrate your shop with Facebook Fan Page by adding a special "Sales" tab into it, where user gets completly list with products in sale from your shop based on PrestaShop engine. Check Prestashop Facebook sales tab demo.

How this Prestashop and Facebook integration works?


Prestashop and facebook integration: sales tab by http://mypresta.eu
Our module and Facebook application add automatically to your Fanpage on Facebook special tab, where users can find product in "Sale" From your shop. 


After clicking to "Sales" tab, user gets list of products in "sale". You can manage this page and configure it exactly as you want using module back office.




piątek, 7 września 2012

Prestashop and facebook integration: Coupons / voucher codes

Today i will write about integration your PrestaShop with your shop facebook fanpage account.
Integration will increase your income, because the main thing in our solution is generating voucher codes / discount codes for users which liked (click "like") your fanpage.

We want to recommend our module Facebook Fan Coupons


You can create you own Fanpage Tab with coupon generator in three steps:


1) first step: Install our application. Our dedicated application uses SSL certificate, so everyone who has "safe browsing" turned on on facebook can access your tab. This solution is important, cause if you want your own application you must buy SSL certificate which cost about 50 €. We give your access to our SSL certified domain for FREE. 

2) second step: Install our module in your shop. Install module Facebook Fan Coupons Tab in your PrestaShop back office. 

3) third step: Configure it as you want.

More information about module you can find here:

Prestashop Facebook Fan Coupon Tab