xcart / next-sdk Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] [5.2.x] Tools for third-party developers working with X-Cart Next
[DEPRECATED] [5.2.x] Tools for third-party developers working with X-Cart Next
The macro for populating the database with test data will fail if existing data is present due to the product delete query occuring before the "clean_urls" table is updated. I am not sure how to fix this properly yet due to just starting with the this version of the codebase but the temp work around is to manually clear out any clean_urls with a productid set before re-running the test data script.
Example output:
generate-dump-etalon.php --categories=10 --depth=2 --categoryImage -featuredProducts=30 --products=2000 --attributes=8 --options=5 --optionValues=3 --productImages=3 --wholesalePrices=4 --orders=15000 --orderItems=3
Clear categories ... done
Generate categories .............................................................................................................. done
Recalculate quick flags ... done
Clear products ...
ERROR: "0" (N/A) - An exception occurred while executing 'DELETE FROM xc_products':
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (rjv_xcart5
.xc_clean_urls
, CONSTRAINT FK_ED2984B14584665A
FOREIGN KEY (product_id
) REFERENCES xc_products
(product_id
))
devkit/macros/create-crud-list.php triggers "preg_replace: the /e modifier is deprecated" warning (PHP 5.5)
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in E:\http\xcart\sdk\devkit\macros\core.php on line 228
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in E:\http\xcart\sdk\devkit\macros\core.php on line 227
Hi
should be cool stuff but what does it do, please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.