X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   New Product Property (https://forum.x-cart.com/showthread.php?t=77789)

siddharth.puri@wheelandba 05-06-2020 05:49 PM

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

Ed B. 07-01-2020 07:25 AM

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.


All times are GMT -8. The time now is 03:18 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.