Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

New Product Property

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-06-2020, 05:49 PM
 
siddharth.puri@wheelandba siddharth.puri@wheelandba is offline
 

Advanced Member
  
Join Date: Nov 2019
Posts: 66
 

Default New Product Property

Hi, I followed the dev shown on - https://devs.x-cart.com/basics/field-importing-exporting.html to add a new product attribute - 'test Field' and it is working fine. I can now add a property to each product and extract it as csv.

However, I will be connecting this to a value in the external inventory database- 'Readysell'; so that the value of this attribute is automatically populated for each product. Where do I specify the code to set value of this new field?

Thinking wise, let's say I connect to the inventory database and pull the data out of it. Where do I assign it to this new Test Field.

Thanks and Regards,
Sid
__________________
Version 5.3.6.6
Reply With Quote
  #2  
Old 07-01-2020, 07:25 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: New Product Property

I guess an idea would be to imitate the importation process. You import using "update" option, instead of from csv file, but from a database. I don't know how to implement this, though.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:17 AM.

   

 
X-Cart forums © 2001-2020