Back to Restful Api Support

david.provaznik.j39933
david.provaznik.j39933

Hi, Related Products plugin (https://octobercms.com/plugin/lovata-relatedproductsshopaholic) doesn't work with Restful Api plugin Related Product plugin is not available from Restful Api plugin select box. Restful Api Selectbox contain is generated from another plugins models (I think).

I think is missing some Model which define columns, relations and table from database.

Can you help me such model create? Thanks.

Mavitm
Mavitm

Sorry I can't support different plugins. If a relation is defined between the models that the product model is related in the form of related products, you can get the data from that section.

david.provaznik.j39933
david.provaznik.j39933

OK, is solution when I will create Model file, something like Related.php, where I define table and columns of corresponding table? At the moment such Model is missing in Related Product plugin.. Should I create another file besides the Related.php model? Thank you.

1-3 of 3