DEV Community

Oleg Khorev
Oleg Khorev

Posted on

PHP: How to code e-commerce stores for USA and Europe market

Hello,

"SPA-Cart" cart is ready... At least I think so ;)
https://spa-cart.com/

--

If you have time and energy - you can learn how to make custom themes.

You can tell your customers that it supports 15000 products.

Key points:

  • Supports modules and themes. Modules and themes don't touch the core.
  • Headless coding for old school developers.
  • With Opcache and JIT it works faster than C/C++. Opcache and JIT's meaning - it converts PHP code to the machine code.
  • Tested with 15.000+ products - works very quick. I cloned product with options, variants, variants images, etc.

You can download it from here
https://spa-cart.com/page/spa-cart-download.html

Themes files - for example this file

templates/home/body.php
Enter fullscreen mode Exit fullscreen mode

you copy to

templates/themes/OlegKhorev/SampleTheme/home/body.php
Enter fullscreen mode Exit fullscreen mode

and change it any way. That thing will allow you easy create new theme.

Style for this theme will be under

templates/modules/OlegKhorev/SampleTheme/style.css
Enter fullscreen mode Exit fullscreen mode

Please, look here
https://github.com/olegkhorev/php-spa-cart/blob/main/templates/themes/OlegKhorev/SampleTheme/home/body.php

https://github.com/olegkhorev/php-spa-cart/blob/main/templates/modules/OlegKhorev/SampleTheme/styles.css

That way you can create new theme for just $100 easy. Remove/add modules - all is responsive already and works well.

It even has BrainTree for direct credit card purchase (but BrainTree has SSL issues sometimes).

For Payment Methods it has Stripe checkout and PayPal and offline payment methods, like "Wire Transfer" or "Phone ordering" or "Fax Ordering" and you can rename Payment Methods in any way.

For Shipping - it has offline shipping methods for any Destination Zone.

Destination Zone: Country, State, City, Zip Codes
https://demoadmin.spa-cart.com/admin/zones/3

Categories, Brands, Blogs, News, Static pages - all is unlimited and work very quick.

Best regards,
Oleg

Top comments (0)