Can I modify the project that Shopex export Excel file, how to resolve

Source: Internet
Author: User
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 ...
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.