[Skip to main content](#vessel-content)

#   Auto-checkout 100% discount product

##

- **[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")**
- [![piggyslasher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/24504-piggyslasher "View piggyslasher's Profile") Topic Author
- [ Offline](/forum/user/24504-piggyslasher)

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 1 month ago [\#123345](#123345) by [piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")  *[Auto-checkout 100% discount product](/forum/27-checkout/861951-auto-checkout-100-discount-product#123345 "HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group...")* was created by *[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")*

HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group (basically a user with a "Business" subscription gets the business documents for free).

Currently they have to add to cart and checkout. I'm not selling physical products. I am selling PDF documents. They can only download the document if it has been purchased so I was wondering if I can make the entire checkout process happen 'without the user noticing' if the document price is zero. Hence I can change the "Add to cart" button to something like "Get this document" and the checkout process happens without the user seeing it. Is this possible?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTk1MS1hdXRvLWNoZWNrb3V0LTEwMC1kaXNjb3VudC1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 1 month ago [\#123362](#123362) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Auto-checkout 100% discount product](/forum/27-checkout/861951-auto-checkout-100-discount-product#123362 "HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group...")*

Hi,
I think that this can be done with some language file modifications through "*Hikashop-&gt;System-&gt;Configuration-&gt;'**Language**'*".
For example you can change this line : Code:

ADD_TO_CART="Add to cart"

By : Code:

ADD_TO_CART="Get this document"

Or this line : Code:

FREE_PRICE="Free"

By : Code:

FREE_PRICE=" "

Hope this will help you a little.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTk1MS1hdXRvLWNoZWNrb3V0LTEwMC1kaXNjb3VudC1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")**
- [![piggyslasher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/24504-piggyslasher "View piggyslasher's Profile") Topic Author
- [ Offline](/forum/user/24504-piggyslasher)

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 1 month ago [\#123364](#123364) by [piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")  Replied by *[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")* on topic *[Auto-checkout 100% discount product](/forum/27-checkout/861951-auto-checkout-100-discount-product#123364 "HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group...")*

Thank you for trying to help. Much appreciated. But that would mean that the checkout process is still see by the client. Im fairly advanced in Joomla and yes, editing the language files is a must if I want to change that text.

But basically I want the checkout process to not be visible if the document has a 100% discount. I've created a page with some custom code that shows the products already purchased. Basically I want the documents with a 100% discount to be automatically added to this list without the need for an extra checkout screen. I don't think this is possible with the checkout workflow. I was wondering if there is anything else I can do. I've switched on ajax add to cart - so maybe I should detect if a document of zero price is added and perform a checkout behind the scenes? Im selling PDF documents so I dont need any details like shipping or anything.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTk1MS1hdXRvLWNoZWNrb3V0LTEwMC1kaXNjb3VudC1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")**
- [![piggyslasher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/24504-piggyslasher "View piggyslasher's Profile") Topic Author
- [ Offline](/forum/user/24504-piggyslasher)

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 1 month ago [\#123641](#123641) by [piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")  Replied by *[piggyslasher](/forum/user/24504-piggyslasher "View piggyslasher's Profile")* on topic *[Auto-checkout 100% discount product](/forum/27-checkout/861951-auto-checkout-100-discount-product#123641 "HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group...")*

Basically Im looking for a piece of code that allows me to convert items in a cart into a sale, without the user seeing it. Because its a 100% discounted software item. Any help in this area guys?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTk1MS1hdXRvLWNoZWNrb3V0LTEwMC1kaXNjb3VudC1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago [\#123728](#123728) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Auto-checkout 100% discount product](/forum/27-checkout/861951-auto-checkout-100-discount-product#123728 "HI, I am using Ambra Subs to put users into specific user groups as they buy the subscription. I have also set 100% discount on certain items in hikashop for users who are in this user group...")*

Hi,

This will require some development, create a plugin on the function onAfterCartUpdate() to check which product is added, and then depending on the product, create a hidden checkout.

It require a good php level, here is the documentation for developers:
[ www.hikashop.com/support/documentation/6...umentation.html#cart](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#cart)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTk1MS1hdXRvLWNoZWNrb3V0LTEwMC1kaXNjb3VudC1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.088 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
