View Single Post
  #1  
Old 09-05-2018, 10:00 PM
 
Wupendra Wupendra is offline
    
Join Date: Sep 2018
Posts: 1
 

Default How can I add different table related to product in xcart.

Hello, I have been trying to add supplier table to xcart via module. The supplier table is related to product table and I have no idea how to build a relationship between tables in xcart.



What I am doing for theses couple of days is: I have created a supplier table. It has id and name. Now I need to have a extra field in product table where I can choose by select box from which supplier is it. I tried adding a field in product table. I followed the documentation https://devs.x-cart.com/basics/adding_new_property_to_a_product/. As per documentation if I create same module as in the example I can add new my message field. But when I add supplier field with integer type the re-deploy is stuck at 4 of 13 for forever. Please help. Thank you in advance.
__________________
X-Cart 5.3
Reply With Quote