Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Exporting 'extra Fields' Rate Topic   - - - - -

 
  • Ghiyas
  • Advanced Member
  • Trial users
  • Join Date: 07-Aug 17
  • 56 posts

Posted 14 November 2017 - 03:20 PM #1

I currently have some extra fields for my users and I want to export them into a nice easy to read format. However, when I export the extra fields, it put "Extra Fields" as the column title, and then just lists everything in that one column.

 

For example, it would say Extra Field as the column title, and then Data1Data2Data3Data4

 

Is there a way I can have each 'extra' field split up into their individual fields and have the corresponding data in an easy to read format? 

 

For example, it would read as Heading 1 and then Data1 underneath. In the next column, it would have Heading 2 and then Data2 under it.

 

Hopefully this makes sense! 

 

Many thanks!



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 9,984 posts

Posted 14 November 2017 - 09:03 PM #2

You don't state what "object" your extra fields are in. 

 

Assuming you added 'foo' and 'bar' as columns in the cscart_orders table and you wanted to import/export to those columns you would (as example) create a app/addons/my_changes/schemas/exim/orders.post.php file that contains the definition of those columns. 

 

You can look at app/schemas/exim/orders.php file for reference on how to use a function to either parse or format the data as you want.  There are also distributed addons (like Gift Certificates) that you can also use as examples for how to extend the 'orders' object within the 'exim' controller that uses data from a different table to extend the orders object.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Alt-team
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2,403 posts

Posted 14 November 2017 - 09:17 PM #3

As you see there is no simple solution to this issue. Code modification is required. But if you specify what extra fields you want to export, it will be easy to give you some hints or a link to a downloadable add-on that can help you. 


CS-Cart add-ons | CS-Cart development | Product Designer Software | GET A FREE QUOTE

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,439 posts

Posted 15 November 2017 - 05:58 AM #4

If you do not find ready to use solution, feel free to contact us to get a free quote for this modification


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • webkul
  • Senior Member
  • Members
  • Join Date: 04-Dec 14
  • 230 posts

Posted 16 November 2017 - 02:35 PM #5

We are also at your services. Please feel free to contact us at support@webkul.com. 


Webkul Software Pvt. Ltd | support@webkul.com | Offers you :

CS-Cart Addons | Mobikul Mobile App Builder for CS-Cart | AWS Hosting and Speed Optimization Services

Get A Free Quote