Page 1 of 1

Skip Basket?

Posted: 27 May 2016, 11:49
by thomas27
Is it possible to configurate the shop without the basket step?

I have a virtual service product and different packages. The products are placed as detail page on the landing page and only one of this package can be orderd by user. So he must not go to the basket. The link from the detail page "Add to basket" should something like "Buy now" and jump direct to the "Address" or "Payment" step.

The rest is configured as onepage:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.standard.subparts {
0 = address 
1 = payment
2 = summary
3 = order
4 = process
}
plugin.tx_aimeos.settings.client.html.checkout.standard.onepage {
0 = delivery
}

Re: Skip Basket?

Posted: 27 May 2016, 13:12
by aimeos
There's no configuration option to enable that behavior yet.
To implement that feature, you can overwrite the translation for the "Add to basket" button and adapt the JS for the detail view.
Modify the JS so the basket overlay isn't displayed and redirect to the checkout page directly.

We would love to get that feature into Aimeos and would appreciate a pull request :-)

Re: Skip Basket?

Posted: 28 May 2016, 07:29
by thomas27
It´s very hard for me to find the right javascript function + file where I can do this. Can you please tell me the file and the line number where I can do this.

And is it possible to disable the zoom lens on the image?

I´m using the aimeos 16.4.3-pre1 version and typo3.

Re: Skip Basket?

Posted: 28 May 2016, 07:53
by aimeos
thomas27 wrote:It´s very hard for me to find the right javascript function + file where I can do this. Can you please tell me the file and the line number where I can do this.
This is the method you have to overwrite:
https://github.com/aimeos/aimeos-core/b ... os.js#L646

Please read the documentation how you should do it:
https://aimeos.org/docs/Developers/Them ... Javascript
thomas27 wrote:And is it possible to disable the zoom lens on the image?
Yes, in https://github.com/aimeos/aimeos-core/b ... il.js#L109