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

#   Checkout Read only with Delete function

##

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 3 months ago [\#296193](#296193) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  *[Checkout Read only with Delete function](/forum/27-checkout/895415-checkout-read-only-with-delete-function#296193 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @support,  Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.  Or can I have the + / - work based on the Qty Input &quot;Show select by Price&quot;, I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.  Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.  Thanks in advance,  MSF")* was created by *[markfell](/forum/user/27962-markfell "View markfell's Profile")*

-- HikaShop version -- : 3.4.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : No error message

@support,

Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.

Or can I have the + / - work based on the Qty Input "Show select by Price", I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.

Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.

Thanks in advance,

MSF

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTQxNS1jaGVja291dC1yZWFkLW9ubHktd2l0aC1kZWxldGUtZnVuY3Rpb24/dG1wbD1tYXJrZG93bg==) 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
-
-
-

8 years 3 months ago [\#296204](#296204) 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 *[Checkout Read only with Delete function](/forum/27-checkout/895415-checkout-read-only-with-delete-function#296204 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @support,  Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.  Or can I have the + / - work based on the Qty Input &quot;Show select by Price&quot;, I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.  Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.  Thanks in advance,  MSF")*

Hello,

> Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.

Sure, you'll just have to set the "Read only" option to YES, through options of the "Cart" tab of your checkout workflow via "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout".

However you can't have both, a Cart on "Read only" mode and a Cart with a "Delete" icon.

Note that to have a "Delete" icon, you'll just have to set the "Show delete icons in the cart" to YES, through options of the "Cart" tab of your checkout workflow via "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout".

Best regards,
Mohamed Thelji.

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 3 months ago [\#296240](#296240) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Checkout Read only with Delete function](/forum/27-checkout/895415-checkout-read-only-with-delete-function#296240 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @support,  Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.  Or can I have the + / - work based on the Qty Input &quot;Show select by Price&quot;, I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.  Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.  Thanks in advance,  MSF")*

@support,

Followed the steps, I did have the "delete" button already on in the cart in the checkout, I just wanted to make it Readonly.

So I set readonly, and deleted, see attached and when I go to the checkout, there is no Delete Button.

The images below are
Step 1 set delete hikashop-cart-delete.png (delete set to yes)
Step 2 set readonly hikashop-cart-readonly.png (readonly set to yes, no delete button available)
Step 3 The cart in the checkout as readonly and no delete button showing hikashop-checkout.png

Also, another issue, A guest user returning, cannot user the same email address, the system says "email already used". hikashop-guest.png
Is there a way to get around this issue as well ???

Thanks in advance,
MSF

- [ ![hikashop-checkout.PNG](/forum/attachment/44426) ](/forum/attachment/44426 "...p-checkout.PNG") [ ](/forum/attachment/44426?download=1 "...p-checkout.PNG")
- [ ![hikashop-cart-delete.PNG](/forum/attachment/44427) ](/forum/attachment/44427 "...art-delete.PNG") [ ](/forum/attachment/44427?download=1 "...art-delete.PNG")
- [ ![hikashop-guest.PNG](/forum/attachment/44428) ](/forum/attachment/44428 "...shop-guest.PNG") [ ](/forum/attachment/44428?download=1 "...shop-guest.PNG")
- [ ![hikashop-cart-readonly.PNG](/forum/attachment/44429) ](/forum/attachment/44429 "...t-readonly.PNG") [ ](/forum/attachment/44429?download=1 "...t-readonly.PNG")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 3 months ago [\#296254](#296254) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout Read only with Delete function](/forum/27-checkout/895415-checkout-read-only-with-delete-function#296254 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @support,  Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.  Or can I have the + / - work based on the Qty Input &quot;Show select by Price&quot;, I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.  Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.  Thanks in advance,  MSF")*

Hi,

As Mohamed said, you can't have both.
Either you turn off the "read only" and you have the option to display or not the delete button, or you have the read only turned on and you can't display the delete button.
If you want both, you would have to turn off the read only option and then use either CSS or PHP modification in the show_block_cart view to hide the quantity input field.
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

And regarding you question with the guest checkout, I've replied to you here:
[ www.hikashop.com/forum/checkout/895423-e...checkout.html#296252](https://www.hikashop.com/forum/checkout/895423-email-address-already-used-in-guest-checkout.html#296252)

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

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

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

Less More

- Posts: 285
- Thank you received: 42
-
-

8 years 2 months ago [\#297590](#297590) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Checkout Read only with Delete function](/forum/27-checkout/895415-checkout-read-only-with-delete-function#297590 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @support,  Is it possible to have the Cart in the checkout page as read only ( not able to change quantities) and have the delete button available.  Or can I have the + / - work based on the Qty Input &quot;Show select by Price&quot;, I.E. They can only select 3,6,12,24,50 or 500,1000,2000,5000 in the product / variant, I don't want the customer to be able to increment or subtract by 1 which the cart in the checkout allows.  Meaning, if they selected 1000 in the Qty Input, they could / can enter 1500 in the qty field in the cart checkout, which I don't want to be allowed.  Thanks in advance,  MSF")*

@markfell, as @nicolas said, in Hikashop go to: Display &gt; Views , and search for **show\_block\_cart**, if you have 2 templates installed in your joomla site you file find 2 of this file, if you have 3 templates you will find 3 files, so you need to edit the file from your current template used in your site.
And replace all from line 270 to 275 with this: Code:

&lt;input id="hikashop_checkout_quantity_&lt;?php echo $product-&gt;cart_product_id;?&gt;" type="hidden" name="checkout[cart][item][&lt;?php echo $product-&gt;cart_product_id;?&gt;]" class="hikashop_product_quantity_field" data-hk-qty-old="&lt;?php echo $product-&gt;cart_product_quantity; ?&gt;" value="&lt;?php echo $product-&gt;cart_product_quantity; ?&gt;" onchange="window.hikashop.checkQuantity(this);"/&gt; &lt;?php echo $product-&gt;cart_product_quantity; ?&gt;

In this way you will see the quantity just as a simple text and you will have the delete button working.

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTQxNS1jaGVja291dC1yZWFkLW9ubHktd2l0aC1kZWxldGUtZnVuY3Rpb24/dG1wbD1tYXJrZG93bg==) 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.075 seconds

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