| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Next-sdk core | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||||
|
|||||||||
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 |
|||||||||
#3
|
|||||||
|
|||||||
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.* .
__________________
alex |
|||||||
#4
|
|||||||||
|
|||||||||
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|