Se afișează postările cu eticheta Module. Afișați toate postările
Se afișează postările cu eticheta Module. Afișați toate postările

miercuri, 24 noiembrie 2010

Croll Custom CSS Module

A new module which let you include CSS files on each page according to different params:


. The name of the php file
. The value of variables


For example i can include beautiful.css on all pages, product_special.css only for products which id 3 and 4, content_magnifier.css to sitemap.php, my_custom_page.php and CMS page with id 3. Etc.


At this time, there is no interface for CSS upload. You need to put them in the “css” folder of the module.


Only tested with Prestashop 1.3.
This module is in beta version and licensed under GPLv2.


You can download it here.

Croll Custom CSS Module, 5.0 out of 5 based on 1 rating

Related posts: Homepage Featured Products (Custom)AddStuff custom HTML ModuleBloc My Account ( Custom )Product Rating ModulesShare on Social Network Module

« How to delete test orders. No need to register Checkout Module »


View the original article here


The secrets of selling your handcrafted jewelry in a profitable new way. How to sell your one of a kind jewelry designs to customers who are Very willing to buy from you again and again.


Check it out!

marți, 23 noiembrie 2010

Display module output anywhere

I came across a post on the Prestshop forum recently that was discussing how to display the contents of a single module on a page. The example proposed worked, but it seems to me that it worked only through sheer luck rather than design as all that was being done was to display a smarty .tpl file. The smarty variables required for the module used in the example were all included as global values, so it worked, but most other modules would need to be able to execute their underlying hook code in order to display anything meaningful.

For those who would like the flexibility of adding the contents of a module anywhere they like regardless of Prestashop’s hook locations, here’s how I propose it should be done:

// Set up some variables to make the code clearer// Any module supporting the hook named below$modulename = 'homefeatured';// Set the following to any of the hook names// as stored in the ps_hooks table.$hookname = 'home';// Make a proper function name using// the Prestashop convention$hookFunction = 'hook'.$hookname;// Finally, some hooks expect parameters to be passed$hookArgs = array();// Perform the magic$moduleInstance = Module::getInstanceByName($modulename);if (is_callable(array($moduleInstance, $hookFunction)))  echo call_user_func(array($moduleInstance,$hookFunction), $hookArgs);else  echo 'Well that didn\'t work!';

Note that this will only work on a page that has correctly included the necessary Prestashop core code (/config/config.inc.php at a minimum, plus either the standard header.php or init.php depending on whether you wish to display the output in a standard page or not).


As an aside to the above, it’s also possible to implement any additional public member function in a module class definition and then call it using the above code ($hookFunction being the full name of the function to be called). This is handy should you wish to write modules that could for example also include some code to be executed externally via cron.


A full example that generates some output follows, although note that there’s no css included, so it may not look too pretty! It can be called anything, but should be uploaded to the root folder of your store in order to allow it to find the include files.



View the original article here


Get Ready-Made Niche Buyer Keyword Maps Every Month Plus Instant Access to Shopping Sites Analyzer Software


Check it out!

Found Better Price Module

With this module, a visitor can request a lower price if he has seen it in another store.
This is a must have module for price matching your competitors.
It should run on all versions of PrestaShop.


Download it here


No related posts.


« List of customer out of stock registrations Slideout image menu »


View the original article here


Get Ready-Made Niche Buyer Keyword Maps Every Month Plus Instant Access to Shopping Sites Analyzer Software


Check it out!

duminică, 21 noiembrie 2010

Revisiting the PayPal Beta Module

Well I discovered that I had two motivations for revisiting PayPal payments in Prestashop this week. One is a new site that I’m working on for a client (more news on that later) and the other is that I discovered I had some free time in between the festivities. Well, not really free time but I managed to squeeze in a few hours at the keyboard anyway.

Today I rewrote a lot of the actual payment module class to move some of the functionality that used to reside in the validation.php script into it. This is in preparation to handle some of the outstanding issues that people still have with the module. I also incorporated the debug logging functions that Didier Hermes (www.dietibox.com) suggested in his updated version albeit with a few modifications.


On to the changes.


One of the main issues people have had is that the module creates an order immediately — even before the customer has actually paid any money. Sadly this is a necessary evil, however, now that there is a new PayPal order status as standard in Prestashop we can use this instead of having to create a new order status as in the previous version. As a bonus this already has the email generation disabled — which immediately eliminates an issue with upgrades (don’t get me started on the Prestashop upgrade process!) as well as preventing emails being sent to the customer unnecessarily.


The IPN validation has also been rewritten to make cURL the default transport method — only falling back on the fsockopen method if completely necessary.


Payment return should now work reliably, so your customer should get an appropriate “success” page when returning to your store rather than being dumped to the order history screen. In addition, if the customer clicks the “cancel and return” link on the PayPal screens the order will be cancelled in the store too. This area still needs some work, as it would be more desireable to convert the order back to a cart and remove the order completely, but I felt that this would be a step too far for the next release, so will likely have to wait until the next version (although I promise it will be released sooner than this update was).


I should have finished testing in the next few days and will release the code as usual from the product page.


You may also like: Paypal WPP (Example) – PayPal Direct API Development Release I’ve been asked several times about this, so...Improving PayPal Support in PrestaShop When I first came across PrestaShop I was utterly astonished...Possible bug in PrestaShop Paypal Module While working on a Paypal test with a customer we...Paypal IPN Validation update We had an issue recently where there was some difficulty...eCartService Paypal Changes rolled into PrestaShop 1.1 Release We’re pleased to announce that the initial changes we proposed...

Tags: cURL, fsockopen, payment, paypal



View the original article here


Whole New Look! Get Paid To Shop!! 75% Commission. Better than paid surveys, data entry, detective sites and grants! Oto converting 20% Too! --- The Best mystery shopping, secret shopping, work at home site!


Check it out!

vineri, 19 noiembrie 2010

The Ultimate Prestashop Module and Theme Development Tool

Posted by admin | Filed under Development Resources, Free Prestashop Modules

While stumbling around the internet as you do when pondering a particularly awkward programming challenge, I came across an excellent post on smarty debug with FireBug. This inspired me to pull together a Prestashop module to allow store owners, designers and developers to view indepth debugging data from right within the Prestashop environment.


I think most people working on Prestashop development projects have longed for an easy way of identifying which template variables are set on which page, and although this doesn’t tell you at which point in the page rendering process a variable may be available, it does give an important insight into how to leverage otherwise missed opportunities to enhance a site’s design and functionality, and catch errors.


All credit for the FireBug template has to go to the original author’s post at PHPhulp on Smarty Firebug debug.tpl.


You must install FireBug in your Firefox Browser to use this with the ‘Use FireBug’ module option enabled (default).


You can however disable FireBug support in the module and use the traditional javascript popup instead. Just enable debug in the module admin settings page and visit your front office page. Note that you may need to refresh your page for it to render correctly in this mode, and remember that every visitor to your site will see the popup!!

If you haven’t already, then install the FireBug Add-on to Firefox.Enable the Console in FireBug by clicking on the down arrow beside “Console” and selecting ‘Enable’.In the module settings enable the smarty debugging in Prestashop by ticking the ‘Debug’ option and clicking update.*At the FireBug console prompt (>>>) enter: Smarty_debug(); or Smarty_debug(true); (both case-sensitive) after each page load to display debug data.Enjoy viewing all you ever needed to know about your module or theme’s template internals!Disable the ‘Debug’ option in this module as soon as you are finished your debug session.

*Note: Using Smarty_debug(true); enables grouping so that some of the elements can be collapsed to improve readability.


You may also like: Writing your own PrestaShop Module – Part 1 So you want to write a module? Introduction There has...Writing your own Prestashop Module – Part 3 Storing Module Configuration Introduction In the third part of this...Writing your own Prestashop Module – Part 4 Form Validation and Security Introduction While being sufficiently functional for...Writing your own Prestashop Module – Part 2 Creating a basic module Introduction In this second part of...

Tags: design, development

Permalink for Article | January 6th, 2010


View the original article here


eBooks on the French Canals, Living Aboard Around the World, La Rochelle Guide Book


Check it out!

No need to register Checkout Module

This is a FREE express checkout module for Prestashop.


This module does NOT alter any of the core files or any theme files and is totally stand alone.


I have this running on one of my sites at the moment and havent had any problems with it so far.


Read about the module and download it here

No need to register Checkout Module, 5.0 out of 5 based on 3 ratings

Related posts: Product Rating ModulesEditorial 3Slider and s3Slider slideshow moduleAdvanced Search Module by categories, attributes, manufacturers, supplier or tagsExpress Checkout ModuleFastlane Checkout Module

« Croll Custom CSS Module Quantity discounts for all the products in the same default category »


View the original article here


eBooks on the French Canals, Living Aboard Around the World, La Rochelle Guide Book


Check it out!

joi, 18 noiembrie 2010

Prestashop Module Affiliates for All Installation

This tutorial require you to understand Affiliate for All (AFA) installation, please read our previous post about Prestashop “Affiliates For All” Modules Integration – AFA Installation. In this tutorial we will explain about Prestashop Modules Affiliates for All installation. Here are the steps :


You can download Prestashop Modules Affiliates for All here, thanks to http://bloggsblog.com for creating it. Upload and extract into your prestashop modules directory and click install button.



Configure this module based on your Affiliates for All configuration. See Prestashop “Affiliates For All” Modules Integration – AFA Installation. AFA URL is your Affiliates for All home page. AFA Secret and AFA Cookie name must be same with your AFA configuration.

Configure Prestashop Affiliates for All Modules AFA Cookie URL


In next tutorial we will test this integration. Many users failed in this integration testing because simple mistakes. Thanks for reading.


prestashop affiliate module, prestashop modules, affiliate module prestashop, prestashop module not found, prestashop affiliate, affiliate module for prestashop, Customer referral program v1 4, Customer referral program prestashop, affiliates for all install, prestashop module, customer referral program v1 4 prestashop, prestashop module tambah kode html di home, prestashop moduly, prestashop Customer referral program, prestashop affiliate module download, prestashop Module : Tags Earth, Affiliates For All prestashop, referral program prestashop, affiliates for all prestashop module, prestashop module tutorial, 


Prestashop “Affiliates For All” Modules Integration – AFA Installation

Prestashop – Affiliates for All Integration If you are running an e-commerce site, you almost certainly have affiliates and need affiliate management software. Affiliates for All is the new affiliate management system that everyone is talking about. We will explain Affiliates for All integration with Prestashop in this tutorial series....


Prestashop “Affiliates For All” Modules Integration – Configuration Testing

Hello everyone, I’m sorry if I didn’t update this “Prestashop tips and trick” for a long time. My wife was pregnant and our doctor says that on ends of March my baby estimated to be born, so I have been in busy days since birth need a lot of moneys....


How To Add Previous and Next Product Navigation in Prestashop Theme

This plugin was based on my previous project on our client prestashop theme. They needs to add previous and next navigation button in their prestashop theme. We have packed all this modification into a ready to use plugin. This plugin add Previous and Next button under the main product image...


View the original article here


If you're looking for simple and effective ways to influence you, your results and the world, you'll find powerful tools here from an official UK number 1 trainer and coach. Enjoy and be impeccable!


Check it out!