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

#   Hikashop without JavaScript?

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

15 years 2 months ago [\#23748](#23748) by [fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")  *[Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23748 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")* was created by *[fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")*

Hi2All!

Is it possible to run Hikashop with JavaScript disabled?

Sorry if I missed something, but I didn't find anything about that topic.

Thanx in Advance,

fuzzr

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 2 months ago [\#23755](#23755) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23755 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")*

Hi,

Most of the front end of HikaShop can be used without javascript. People should be able to place orders. However, some functionalities might not be working properly, like the edition of addresses.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 3
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#23763](#23763) by [fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")  Replied by *[fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")* on topic *[Re: Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23763 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")*

Hi Nicolas!

Thank you for your quick response!

In www.website.com\components\com_hikashop\views\product\tmpl\show.php around line 133 there is this:
Code:

&lt;span id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt; ? p h p $this-&gt;row =&amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\''.$this-&gt;row-&gt;product_id.'\',field,1'.$form.'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ? &gt; &lt;/span&gt;

And the function hikashopModifyQuantity is rendered into the page.

So I have no clue how to replace the JavaScript with an php-statement to add something to the cart, is there a switch to disable or change this? (sorry I'm quite new to hikashop).

Thanx you &amp; best regards,

fuzzr

Last edit: 15 years 2 months ago by [fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile"). Reason: php code not displayed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 2 months ago [\#23764](#23764) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23764 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")*

Hi,

The add to cart already works without javascript. You can try yourself on our demo website with the javascript turned off. There is no code to change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 3
- Thank you received: 0
-
-

15 years 2 months ago [\#23770](#23770) by [fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")  Replied by *[fuzzr](/forum/user/3709-fuzzr "View fuzzr's Profile")* on topic *[Re: Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23770 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")*

Hi Nicolas!

Haha, that was the right hint, thank you!

In my shop-&gt;configuration-&gt; view I had chosen as button-style: 'css' and that generates a JavaScript only button (it seems to be - www.website.com\administrator\components\com_hikashop\helpers\cart.php - line 38...)

Now I switched button-style to normal and it works without JavaScript.

Thanx you for your quick help &amp; best regards,

fuzzr

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 2 months ago [\#23772](#23772) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hikashop without JavaScript?](/forum/2-general-talk-about-hikashop/23748-hikashop-without-javascript#23772 "Hi2All!  Is it possible to run Hikashop with JavaScript disabled?  Sorry if I missed something, but I didn't find anything about that topic.  Thanx in Advance,  fuzzr")*

Hi,

Indeed. The CSS styled buttons need javascript to be turned on so you need to use normal buttons if you want them to be working while javascript is disabled.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzIzNzQ4LWhpa2FzaG9wLXdpdGhvdXQtamF2YXNjcmlwdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.121 seconds

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