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

#   add to cart disappear in product page

##

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

Less More

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

12 years 3 months ago -  12 years 3 months ago [\#164449](#164449) by [vincentchutw](/forum/user/31305-vincentchutw "View vincentchutw's Profile")  *[add to cart disappear in product page](/forum/26-product-category-display/869770-add-to-cart-disappear-in-product-page#164449 "-- url of the page with the problem -- -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.22 -- PHP version -- : 5.3 -- Browser(s) name and version -- : safari chrome -- Error-message(debug-mod must be tuned on) -- : 500 - JDatabaseMySQLi::query: 1054 - Unknown column 'a.ordering' in 'order clause' SQL=SELECT DISTINCT b.&#42; FROM hfzkc&#95;hikashop&#95;product AS b LEFT JOIN hfzkc&#95;hikamarket&#95;vendor AS hikam&#95;vendor ON b.product&#95;vendor&#95;id = hikam&#95;vendor.vendor&#95;id WHERE b.product&#95;published=1 AND b.product&#95;parent&#95;id=245 AND b.product&#95;type = 'variant' AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%') AND (hikam&#95;vendor.vendor&#95;published IS NULL OR hikam&#95;vendor.vendor&#95;published = 1) ORDER BY a.ordering ASC LIMIT 0, 20  my question is : add to cart button disappear but when ㄛ turn on the debug system, it show error message as above and add to cart button show up again, could you explain it?")* was created by *[vincentchutw](/forum/user/31305-vincentchutw "View vincentchutw's Profile")*

-- url of the page with the problem --
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.22
-- PHP version -- : 5.3
-- Browser(s) name and version -- : safari chrome
-- Error-message(debug-mod must be tuned on) -- :
500 - JDatabaseMySQLi::query: 1054 - Unknown column 'a.ordering' in 'order clause' SQL=SELECT DISTINCT b.* FROM hfzkc_hikashop_product AS b LEFT JOIN hfzkc_hikamarket_vendor AS hikam_vendor ON b.product_vendor_id = hikam_vendor.vendor_id WHERE b.product_published=1 AND b.product_parent_id=245 AND b.product_type = 'variant' AND (b.product_access = 'all' OR b.product_access LIKE '%,1,%') AND (hikam_vendor.vendor_published IS NULL OR hikam_vendor.vendor_published = 1) ORDER BY a.ordering ASC LIMIT 0, 20

my question is : add to cart button disappear but when ㄛ turn on the debug system, it show error message as above and add to cart button show up again, could you explain it?

Last edit: 12 years 3 months ago by [vincentchutw](/forum/user/31305-vincentchutw "View vincentchutw's Profile"). Reason: hide the url

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

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

Less More

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

12 years 3 months ago [\#164498](#164498) by [vincentchutw](/forum/user/31305-vincentchutw "View vincentchutw's Profile")  Replied by *[vincentchutw](/forum/user/31305-vincentchutw "View vincentchutw's Profile")* on topic *[add to cart disappear in product page](/forum/26-product-category-display/869770-add-to-cart-disappear-in-product-page#164498 "-- url of the page with the problem -- -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.22 -- PHP version -- : 5.3 -- Browser(s) name and version -- : safari chrome -- Error-message(debug-mod must be tuned on) -- : 500 - JDatabaseMySQLi::query: 1054 - Unknown column 'a.ordering' in 'order clause' SQL=SELECT DISTINCT b.&#42; FROM hfzkc&#95;hikashop&#95;product AS b LEFT JOIN hfzkc&#95;hikamarket&#95;vendor AS hikam&#95;vendor ON b.product&#95;vendor&#95;id = hikam&#95;vendor.vendor&#95;id WHERE b.product&#95;published=1 AND b.product&#95;parent&#95;id=245 AND b.product&#95;type = 'variant' AND (b.product&#95;access = 'all' OR b.product&#95;access LIKE '%,1,%') AND (hikam&#95;vendor.vendor&#95;published IS NULL OR hikam&#95;vendor.vendor&#95;published = 1) ORDER BY a.ordering ASC LIMIT 0, 20  my question is : add to cart button disappear but when ㄛ turn on the debug system, it show error message as above and add to cart button show up again, could you explain it?")*

ok, the problem has been solved!

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

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

[](#top)
