Pricelist interchange

Search of a price list of standards for all type of products

This project started from the Foodcoops need to download the price list directly from producers who have an e-commerce site, and due to time constraints can not handle it directly E-circles.

Also there are various of Foodcoops management software and would benefit from a quick and automated system of sharing between these lists.

From here came the idea, as it seems that there is, to create a standard format that can describe any type of list prices, providing all types of products that can serve all those organizations that have the need to transfer lists for electronically.

It is also active on our forum a topic where we can discuss this project.

It was thus produced 0.01 version of this standard in xml format.

Producers who want to participate in this project should put on their pricelist.php a file server that makes a query to the database, processes the list, transforming it into an xml file and forwards output.

Assuming that the price list is saved in $filename (full path of the file) and $fileN (filename), for forwarding you can use the following PHP code:

    header("Content-Type: text/plain; name=$filename");
    header("Content-Transfer-Encoding: binary");
    header("Content-Length: ".filesize($filename));
    header("Content-Disposition: attachment; filename=$fileN");
    header("Expires: 0");
    header("Cache-Control: no-cache, must-revalidate");
    header("Cache-Control: private");
    header("Pragma: public");

Other articles

Buying Groups and SED management
Tools for Buying Groups and Social Economy Districts

At the right price!
How we spend our money?

Support to small/medium companies
Relaunch of the productive sectors

Organic-ethical products
The ethics adds three new dimensions to the quality of products

to leave a comment