I am a junior web developer and I’ve been creating projects in WordPress. First of all, I always prefer creating websites via HTML, CSS and PHP from blank since I always have more control. The issue is, creating ecommerce websites is much harder this way since you need to create your own database and interface to add products manually (and creating a safe checkout page is even harder). WordPress solves this with the Woocommerce plugin, which is extremely easy to use and has defined a lot of php functions to manage products, carts…
However, I always have issues with Gutenberg blocks. Everytime I tried to replicate a design made with Figma, I install a lot of plugins to get blocks with functionalities which are included in the design and patch everything with either !important clauses in CSS or via coding in the child theme. And then, I end up with an unresponsive webpage whose edit mode version looks nothing alike to the public version.
I think theres a better way to handle this. Instead of using blocks and polluting them with my own code, I though about creating my own theme directly with HTML, PHP and jQuery. I already know some of the Woocommerce and WordPress functions to list products, print the name of the page and things like that. So, do you find advisible to create an entire website like this? By the way, I’m aware that woocommerce already uses a template for the product and checkout page, but since it can be overriden with either hooks or templates in your child theme, I’m fine with that.
[ad_2]