Combine checkout steps Magento 2 - magento2

I am looking to combine the 2 checkout steps of Magento 2 into one page. Does anybody know if this is possible bij XML changes or do I need to reprogam javascript as well ?

You would need to do a lot of research and training to learn ui-components and xml structure of the checkout. Also you would need to research how knockout.js is working because Magento 2 is using that to render checkout page. After that and a some time you would be able to combine those two pages together.
I suggest you just buy an extension to save you precious time. Don't want to advertise anything but we are using one developed by mageplaza - one step checkout
https://www.mageplaza.com/magento-2-one-step-checkout-extension/

Related

Simplest CMS ever?

I’m building a super simple website with 5 pages and I want a CMS that allows me to change the text and the pictures in a couple of them.
In the past I used wordpress, but it has way too many features that i don’t need in this case.
I’ve been trying to learn gatsby.js so I would like to build it on that, but trying to see how to source from Netlify-CMS I started facing an overwhelming amount of information which I'm not sure I need.
Any tips?
Thanks!
M
Netlify has a built in CMS, and it's compatible with Gatsby! You can find examples online. It should be good for smaller sites, but for larger projects, I really like Prismic.io. Contentful is another popular one, but it's a bit pricier than prismic.
Edit: reread your comment about sourcing from Netlify. Netlify is not a "source" plug in in Gatsby. You use a local file +markdown source, and do the configuration for netlify, which adds an admin interface at an endpoint. You configure your data models in the interface, create login, etc. Then, when you submit changes, it modifies files in your connected git repo, so the local file + remark will make the data available in the graphql queries.
In the end I used Forestry.io, a good simple solution that did exactly what I needed in combination with Jekyll.

how to construct a zencart web site with a lot of secondary developments

I am new to my company now, my company site has been created based on 1.3.8a, and there are lot of zencart core files changed , and a lot of new secondary developed files added . now my boss want to update the company site to zencart 1.5.1, and want to construct the site starting from scratch, the new verson of company site should be clear in structure and easy to update.
can any good people give some suggestions ? and any good theads telling about that ?
some thoughts of mine:
1.if new classes files added ,should be placed in includes/classes/jy_class.xxx.php (jy is my company name);
2.if new includes/modules/pages/xxx/header_php.php ,should be placed in includes/modules/jy/pages/xxx/header_php.php
3.if new functions ,should be placed in includes/functions/extra_functions/jy_functions_xxx.php
I know that this question is a opened question , but it is very important for me. I want some zencart developing experts give me some good advices.
Suggestions 1 and 3 are fine. Suggestion 2 won't work; the page cannot be in the subdirectory jy - it must be in includes/modules/pages/xxx/header_php.php. You also want to initiate this activity as soon as possible; Zen Cart 1.3.8a has been compromised for a long time and is not secure.

Best alternative to drupal for small-scale sites

I recently started learning about drupal integration and because I wanted to learn how to create sites that I give to people with no html experience who want to be able to update their site. Through my research I learned that Drupal is the best supported CMS. It really does have a lot of nice features and accomplishes the job, but it almost has too many features for what I want.
I'm assuming there is some kind of open-source software for
I am an aspiring web developer trying to build my portfolio/gain experience. What I've been trying to do is build sites for clients that I can lose complete contact with--so when their store hours change and they have no HTML experience, I get emails about updating their site.
I figure there are three approaches: (tell me if there are more)
I write a php app that allows them to edit their site
I use a CMS (Drupal) to let them edit their site
I write scripts that embed text files formatted with {white-space: pre;}
I've so far implemented each method on 3 different sites, and they all work with drawbacks. I would prefer an open-source alternative to writing my own app for stability/security. Drupal seems more oriented towards allowing multiple users to add content, whereas I only want one user update existing content. The third option works well for computer-literate clients, but anyone who can navigate onto their server to change the file could probably figure out how to update the site without any of these approaches.
To sum up my problem, can anyone tell me the term I am looking for? Content Management System refers to the site framework for sites with a growing number of content posts (correct me if I'm wrong). What is the term for the site framework for editing sites with predefined but editable pages? If you could please tell me that, then I can at least research this question on my own. Otherwise, if you have any advice or solutions, they are much appreciated!
Thanks
user1470887, you've asked a great question. The answer, unfortunately, is that too many of the existing CMS products overlook this use case. It doesn't have an exact name as far as I know.
The term "in-place editing" describes one version of this (user clicks text on web page, block of text becomes a form, user edits contents and presses submit button, new text is sent to webserver and saved, and the form becomes normal text again). But I gather you would be happy with anything that lets them edit-existing but not create-new.
I'm also guessing you don't want to build your own Drupal module or commission one.
I do not know Drupal well enough to know whether there's a Drupal module that meets your needs. I'd recommend a careful search, though, especially if you are already somewhat familiar with Drupal. (Yes, Drupal can seem like too much CMS at times.)
However ... if you can't find a Drupal solution or want an alternative to Drupal, MODX Revolution does have an answer: set it up and then install Bob Ray's NewsPublisher add-on. It will put an "edit" button on pages which a user has the right to edit, but not on pages where they don't have edit rights. (And of course users will only be able to edit the title, body content etc - not the entire page.)
Bob Ray has literally written the book on MODX (MODX: The Official Guide). I was able to successfully adapt NewsPublisher to a project last year similar to what you have described, with predefined pages that the user would only need to edit over time. The latest NewsPublisher version, untested by me, is said to be further improved and can now be styled much more easily using CSS. That should allow you to give your users a customised and consistent interface.
As andmag also notes, MODX is a very flexible system for web developers focused on the presentation layer. It has the best templating system going.
I'll recomend you to try MODX. It gives you big flexibility to run your php or html code.

Multi step form in joomla?

I have to make a multistep registration form in joomla.In first step i will only take personal information from user. IF user input the detail correct then only the yser will go to next step.
Please tell me if any plugin or component that provide this kind of functionalty
Thanks in advance
Pramod
You need to specify which version as the extensions available are different. Assuming you are using 1.5 then you can use Chronoforms. I'm not sure if the 1.6 version can do it, but the 1.5 has multistep form capability and also allows you to enter your own code for processing between forms.
http://extensions.joomla.org/extensions/contacts-and-feedback/forms/1508
Check their website for tutorials on how to make multistep forms.
I have used this one. Nice userguide included.
http://www.itoris.com/joomla-form-builder-smartformer.html

Joomla1.5 CRUD extension tutorial

I need to build a basic CRUD joomla extension for a customer.
On the user's side, it must display a product list when the user choose a category, and the product details when an item is selected in the list. On the product details page, the user can send a message to the site's owner regarding the chosen product.
On the admin side, user must be able to add/modify/delete products and categories. That's about it.
Does anybody knows (a) good tutorial(s) that could help me get started with this project?
I've worked with php 4 years ago and have 5+ years experience in web development (.net), but i'm new to joomla.
Thanks in advance!
Sounds like to me you are looking for an e-commerce extension with a catalog mode (no purchases/no cart enabled) and an Ask a Question form on product pages. I know that at least Virtuemart has this ability exactly. I am sure there are other simpler carts that will also accommodate your need. http://extensions.joomla.org/extensions/e-commerce/shopping-cart
Spend a couple of hours trying out carts, no code writing required.
A great place to start is the Joomla docs site.
Checkout Component Development section.
Also, here is MVC Component Tutorial (there are 6 section to it, look for links at the bottom for "Next"), it will definitely put you on the right track. You will have to add a lot of your project specific things and do out of the box things, but it should be pretty easy.
Just keep things separate to make it easier
View/Template - your presentation
Controller - logic
Model - Data Access Layer (DAL)