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

Next-sdk core

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-04-2017, 02:27 AM
 
Soptareanu Alex Soptareanu Alex is offline
 

Member
  
Join Date: Sep 2016
Posts: 24
 

Default Next-sdk core

I want to create a new module that contains an item list of my all products including variants.For this purpose i tried to use create-crud-items macro (using next-sdk kitt). But after call this command using my terminal and all the files was created i got some errors when I re-deployed my store. I think that is because of the difference between core version.I using X-Cart 5.3.2.8 version.
The question is that there exist an update for sdk core for dealing with new version of x-cart ? and if not, what should i do ?!
Or some tips in order to do this task manualy.
__________________
alex
Reply With Quote
  #2  
Old 05-04-2017, 12:15 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Next-sdk core

Please provide more details. Do you need a plain list of variants of your products? Or do you need a pager for it? Should it be a read-only list? Who will see it? And so on...

As for the SDK. I think you are right and the SDK is outdated now. But I don't think that you need it there. CRUD is for creating backend pages to manage database entities (and usually these are entities of a new Model class). But in your case it is a read-only list of existing models (as far as I understand), so you should look into working with \XLite\View\ItemsList\AItemList class (see how other classes extend their logic from this class).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 05-04-2017, 11:18 PM
 
Soptareanu Alex Soptareanu Alex is offline
 

Member
  
Join Date: Sep 2016
Posts: 24
 

Unhappy Re: Next-sdk core

Yes, I want to create a backend page in admin zone that lists all the variants of my products (The Entity is \ProductVariant) but i also want to be able to add, edit or delete some entry. The SDK works fine and was the solution but only for an ancient version such as 5.1.* .
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	364
Size:	60.6 KB
ID:	4909  
__________________
alex
Reply With Quote
  #4  
Old 05-15-2017, 10:55 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Next-sdk core

I've got a reply from the XC5 dev team. They have plans on updating macros in the DSK to make them compatible with the 5.3.x version. But there is no date that I could announce yet, unfortunately.

The macro should work with the latest 5.2.x version. So, as a workaround you may try to use the macro on a 5.2.x installation, and then copy'n'convert the files over to your 5.3.x installation.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)



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 04:40 PM.

   

 
X-Cart forums © 2001-2020