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");
readfile($filename);
Read also
Fair Trade Stores
The store's e-commerce ready in a few clicks
Zero Waste
It sells end-of-day unsold goods and production waste
Support to small/medium companies
Relaunch of the productive sectors
Countrymen abroad
We offer typical products that cannot be found to those who have chosen to emigrate
At the right price!
How we spend our money?
Social Shop
Create your shop on Facebook and Instagram in a few clicks
Local & Green
A small territorial distribution ideal for stores and cooperatives
Online Stands
An E-commerce with innovative features
E-circles
An innovative way of selling and distributing products
Time Bank
Mutual voluntary exchange between users