How to remove address and shipping checkouts in prestashop 1.7.7 - prestashop

I have been able to remove the two procedures successfully, the detail is that when I try to finish, it recharges the payment part and only the user registers me. Just remove a few lines from the ordercontroller
enter image description here

So, do you want to remove the Address, Shipping Method and Payment step from checkout?
Unfortunately, deleting a few lines from the OrderController is not enough.
The shipping/invoice address is required to place an order, there is no really a way to delete it.
You can delete/disable the Payment step if your product is free, and also you can disable the Shipping method step if your product is a "Virtual Product".
Maybe a workaround for the Address step, if create and address which you assign to each client right after the registration (but this is not the right solution because of the GDPR ).

Related

What steps should the add to cart operation go through?

I am planning to make an e-commerce site and there are some steps that I need to think about.
For example, I will add a product to the cart. In your opinion, what stages should this process go through in the background in order for me to take this action? Which checks should be done in what order? For example, if I assume that I will do stock control, should I do this stock control through a separate stock microservice? Other than that, what kind of steps and checks should it go through?
Here's what I'm planning. I have a frontend application and from here I will send a request to my cart service (a rest api) via an ApiGateway when the user presses the add to cart button. The addbasket method of this service will be run. Here I will first check stock from my stock micro service. If there is stock, I will add it to the cart. If not, I'll be back.
What else should I do here? Also where should I store the basket? Should I consider a database or a different option?
Actually, what I want to ask is what steps should I go through and what controls should I do to develop the add to cart operation. At this stage, where should I store the products in the basket, etc.?
Could you please explain what is the best way to make this work?
thank you everyone

Shopify Shipping address / Order Cancellation

We have a Shopify store here in the Philippines, and 90% of our buyer choose COD(cash on delivery) as a mode of payment, the thing is most of them cancel their order... If we zoom in on the reason of these order cancellations, it's because either shipping address is wrong or incomplete. Is there a way we can solve or lessen this issue? what do you recommend? perhaps a thing that validates the address before proceeding to checkout?
because right now. we proactively call / notify our customer to validate the address, if 3 days pass. we automatically cancel the order.
Order cancellation due to incorrect shipping address is one of the most common problems faced by store owners in eCommerce.
Talking back to Shopify eCommerce framework, there are many free apps in Shopify app store which allows you to edit your order. So you can provide facility to your customers to allow editing shipping address even after the order is placed. Editing the order should be done by store owner its-self.
Refer app on this page

Prestashop one step checkout programatically change carrier

I'm dealing with an issue, I've been working in a module that does pretty much the same as a cart rule if you have certan type of products and a certain amount in your cart, the module sets a free shipping carrier for you, this can be achieved with discount codes I know that, but the requierement was specific, Do that ... without using discount codes, So, the site has enabled the one step checkout, the module does it well in the 5 step checkout, but the hook DisplayBeforePayment does not work, I know that maybe it isn't working because of ajax call, To keep it simple, What can I do to get my module working with the One step checkout? (order-opc Controller). Thanks in advance!
I think you need to use a different hook. Please have a look at this page.
If you search for "DisplayBeforePayment", you see it's only used in /controllers/front/OrderController.php. The 5 step checkout uses this controller.
The one step checkout uses a different controller: /controllers/front/OrderOpcController.php.
The hook DisplayBeforePayment is not present in that controller, so that's why i think your module doesn't work on the one page checkout.

How can I implement modifiable products (which are subscriptions) in Shopify?

I've implemented subscriptions through ReCharge where users can select products and these are saved as line item properties for that product. This was the only solution I could think of with my limited time using Shopify.
Per this question, it seems like line item properties are read-only after checkout. If this is truly the case, is there any solution that enables having modifiable subscriptions where users can re-select products for that subscription product that I can implement?
I'm using Shipstation for the shipping piece if this matters at all.
How can I implement modifiable products (which are subscriptions) in Shopify?
You can't. Well, technically you can but it is not easily done. Since you indicated that you're looking for official answers, I've contacted Shopify via email for you and I've been discussed this with Brad Leclerc, where he said:
That is indeed the case with line item properties being read-only after checkout, so it would need to be reconstructed for the new order. There's no super quick/easy to do that without some custom development to automate the process. If you end up wanting to do that, I'm sure a developer from http://experts.shopify.com could set something like that up.
You have two choices, either hire someone from experts.shopify.com to help or build your own marketing script from scratch.
Proof of email: http://i.imgur.com/OeM5gSm.png
I'd do this with meta fields on the customer.
meta fields can be used on the subscription product template to make it sensitive to the state of the customer's subscription (new or existing)
Use a order web hook to detect when a new subscription product has been purchased and then update the customer meta fields (e.g. subscription level and start and end dates).
use a periodic task in your supporting private app to:
prompt user before subscription becomes due to update their payment details or cancel the subscription
create and bill new orders for each subscription period
I am not familiar with Shopify, nor Revcharge, but according to the references, couldn't you simply customize the product page in shopify?
https://docs.shopify.com/manual/configuration/store-customization/page-specific/product-page/get-customization-information-for-products
According RevCharge, you should use a Shopify product template anyway..
http://recharge.helpscoutdocs.com/article/91-recharge-integration-guide

Easiest way to sell stuff and track inventory

on my website I sell unique items. I have programmed it so that on the selling page, users can select any amount of these items, and it calculates the cost. The key is that I only have 1 of each of these items. So I need the shopping cart system to not allow the payment to go through unless it is available.
I've been searching for a good quick/easy/cheap solution and can't find one. I don't expect this site to make a lot of money (the transactions are a few bucks), so I didn't want to need a ssl certificate.
The only way I know of not needing an ssl certificate would be to use paypal or google checkout. However, I do not think there is a way of using these services and making paypal's server run a script to check how many are available on the site. Any solution?
Thanks
I was thinking about it more, and I think the problem is that once the user gets to the paypal payment screen, I have no control. I guess I could do something like they click the buy it now link, a php script updates it to sold, then they go to the paypal screen, but then they might not continue the purchase...
If you use PayPal Website Payments Standard (using a cart rather than 'Buy Now' Buttons) then you could use IPN or PDT (see the paypal docs here) to get PayPal to call back to you with the status of the payment.
The work flow would then be to set status to reserved when the item is added to the cart, and then wait for the IPN/PDT call to come back with the payment status, and mark the item as sold.
You would still need to check and reset to available any item that had been reserved for longer than say 2 Hours. (You could do this before serving a page to a user so that they have the latest availability and you don't need a cron job or long running process)
If you could provide a little more information about how you have implemented ur shopping card, it would have been more easier for other to assist! If you are using any ecommerce solution then it should be there already in the track inventory section. But Provided that you have implemented d shopping cart manually, why don't you add little bit of codes that checks the inventory status first before letting your customers check out?