Can I modify a project that Shopex export Excel files
Please ask the next Shopex in the order export to Excel file when how to modify the exported items, such as I just want to export to Excel file only when the name, phone, detailed address and so on.
Shopex seems to be encrypted, do not know there is no way to modify.
------Solution--------------------
See this document:
http://docs.dev.shopex.cn/shopex-b2c/#toc21
PHP code
function export_rows ($rows) {foreach ($rows as $row) {foreach ($row as $k + $v) {//You can determine the value of $k here, just output the options you want. $row [$k] = str_replace ("\ n", ' \ n ', $v); Enter each column of each row as a tab, and finally wrap the echo implode ("\ T", $row). " \ r \ n "; } flush ();
------Solution--------------------
Vaguely remember that the single-user Shopex, long ago Open source
If I remember wrong,
you directly read the database, self-guide-database characters are not encrypted it?
------Solution--------------------
Decrypt him,
------solution--------------------
Discussion
Refer to this document:
http://docs.dev.shopex.cn/shopex-b2c/#toc21
PHP code
function Export_rows ($ro WS) {
foreach ($rows as $row) {
foreach ($row as $k = + $v) {
//can be sentenced here
The value of the broken $k ...
------Solution--------------------
to export ...