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

#   hikashopproductinsert\_view.php coding question

##

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

Less More

- Posts: 62
- Thank you received: 3
-
-

7 years 10 months ago -  7 years 10 months ago [\#301898](#301898) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  *[hikashopproductinsert\_view.php coding question](/forum/26-product-category-display/896520-hikashopproductinsert-view-php-coding-question#301898 "-- url of the page with the problem -- :   www.1stopmotoronderdelen.nl/15-bikes/19-...v-transalp-rd10-rd11  -- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.13 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : No Error. coding question  LS, ( I know I should update, but that's not yet planned due to issues with my test environment)  currently I'm looking into creating articles to display products and found the TAG usage. However the view I would like to have in the joomla articles is basically plain text. Now in the manual it is stated to change the hikashopproductinsert&#95;view.php (placed in my template directory to avoid update issues).  I'm definately not a php/css/html coding guy, so forgive me for that, and hence my help question here.  There is a few things I want to achieve:  1) I want the TAG to display the product in a single line, with the # selection included, but in a real simple box (or no box at all) and on the same line as the rest of the information (name/description). 2) I want to be able to change the number of products for an article to a different value. So my article will show a line with the, for that article, required number of a that specific product. 3)add brand (and possibly other product as well) to the TAGs so product brand is included as well 4) add some text to the same line  If you check the url, you will see (if not changed already :D ) the difference between the table, which is about what I want to achieve, and what the TAGs display makes of the different lines. The links to the products in the table are created with another plugin that uses the MODAL tags.  The final solution can go two ways: 1) with the hikashop TAGS 2) if I can't achieve what I want trhrough the Hikashop TAGs,&#91;strike&#93; solve it witht the Modal TAGS if it is possible to have the number of required products included in the link&#91;/strike&#93; (See update below)  NOTE: I will probably be fidling with the hikashopproductinsert&#95;view.php file myself, so the display might change every now and than, but I will try to keep the idea in place (if not yet figured out the solution myself, which I will update here of course) NOTE2: further styling might be necessary, but that is something I figure out after knowing what route to take.")* was created by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")*

-- url of the page with the problem -- : [ www.1stopmotoronderdelen.nl/15-bikes/19-...v-transalp-rd10-rd11](https://www.1stopmotoronderdelen.nl/15-bikes/19-honda-650-2003-xl-650-v-transalp-rd10-rd11)
-- HikaShop version -- : 3.4.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.2.13
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : No Error. coding question

LS,
( I know I should update, but that's not yet planned due to issues with my test environment)

currently I'm looking into creating articles to display products and found the TAG usage. However the view I would like to have in the joomla articles is basically plain text.
Now in the manual it is stated to change the hikashopproductinsert_view.php (placed in my template directory to avoid update issues).

I'm definately not a php/css/html coding guy, so forgive me for that, and hence my help question here.

There is a few things I want to achieve:

1) I want the TAG to display the product in a single line, with the # selection included, but in a real simple box (or no box at all) and on the same line as the rest of the information (name/description).
2) I want to be able to change the number of products for an article to a different value. So my article will show a line with the, for that article, required number of a that specific product.
3)add brand (and possibly other product as well) to the TAGs so product brand is included as well
4) add some text to the same line

If you check the url, you will see (if not changed already ![:D](/media/kunena/emoticons/1.png ":D") ) the difference between the table, which is about what I want to achieve, and what the TAGs display makes of the different lines.
The links to the products in the table are created with another plugin that uses the MODAL tags.

The final solution can go two ways:
1) with the hikashop TAGS
2) if I can't achieve what I want trhrough the Hikashop TAGs,[strike] solve it witht the Modal TAGS if it is possible to have the number of required products included in the link[/strike] (See update below)

NOTE: I will probably be fidling with the hikashopproductinsert_view.php file myself, so the display might change every now and than, but I will try to keep the idea in place (if not yet figured out the solution myself, which I will update here of course)
NOTE2: further styling might be necessary, but that is something I figure out after knowing what route to take.

Last edit: 7 years 10 months ago by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile").

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

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

Less More

- Posts: 62
- Thank you received: 3
-
-

7 years 10 months ago [\#301903](#301903) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  Replied by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")* on topic *[hikashopproductinsert\_view.php coding question](/forum/26-product-category-display/896520-hikashopproductinsert-view-php-coding-question#301903 "-- url of the page with the problem -- :   www.1stopmotoronderdelen.nl/15-bikes/19-...v-transalp-rd10-rd11  -- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.13 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : No Error. coding question  LS, ( I know I should update, but that's not yet planned due to issues with my test environment)  currently I'm looking into creating articles to display products and found the TAG usage. However the view I would like to have in the joomla articles is basically plain text. Now in the manual it is stated to change the hikashopproductinsert&#95;view.php (placed in my template directory to avoid update issues).  I'm definately not a php/css/html coding guy, so forgive me for that, and hence my help question here.  There is a few things I want to achieve:  1) I want the TAG to display the product in a single line, with the # selection included, but in a real simple box (or no box at all) and on the same line as the rest of the information (name/description). 2) I want to be able to change the number of products for an article to a different value. So my article will show a line with the, for that article, required number of a that specific product. 3)add brand (and possibly other product as well) to the TAGs so product brand is included as well 4) add some text to the same line  If you check the url, you will see (if not changed already :D ) the difference between the table, which is about what I want to achieve, and what the TAGs display makes of the different lines. The links to the products in the table are created with another plugin that uses the MODAL tags.  The final solution can go two ways: 1) with the hikashop TAGS 2) if I can't achieve what I want trhrough the Hikashop TAGs,&#91;strike&#93; solve it witht the Modal TAGS if it is possible to have the number of required products included in the link&#91;/strike&#93; (See update below)  NOTE: I will probably be fidling with the hikashopproductinsert&#95;view.php file myself, so the display might change every now and than, but I will try to keep the idea in place (if not yet figured out the solution myself, which I will update here of course) NOTE2: further styling might be necessary, but that is something I figure out after knowing what route to take.")*

I just found out the ´add to cart html link´.... and updated my table with that.
The only issue there is that it is changing the amount rather then adding it to the cart !!!
Might be opening another issue ticket for that.
Mean time it looks as if that will be the way to go, rather then using the Hikashop TAGS, but just curious if it would also be possible using those TAGS

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTY1MjAtaGlrYXNob3Bwcm9kdWN0aW5zZXJ0LXZpZXctcGhwLWNvZGluZy1xdWVzdGlvbj90bXBsPW1hcmtkb3du) 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: 86564
- Thank you received: 14311
-
-

7 years 10 months ago [\#301921](#301921) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[hikashopproductinsert\_view.php coding question](/forum/26-product-category-display/896520-hikashopproductinsert-view-php-coding-question#301921 "-- url of the page with the problem -- :   www.1stopmotoronderdelen.nl/15-bikes/19-...v-transalp-rd10-rd11  -- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.13 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : No Error. coding question  LS, ( I know I should update, but that's not yet planned due to issues with my test environment)  currently I'm looking into creating articles to display products and found the TAG usage. However the view I would like to have in the joomla articles is basically plain text. Now in the manual it is stated to change the hikashopproductinsert&#95;view.php (placed in my template directory to avoid update issues).  I'm definately not a php/css/html coding guy, so forgive me for that, and hence my help question here.  There is a few things I want to achieve:  1) I want the TAG to display the product in a single line, with the # selection included, but in a real simple box (or no box at all) and on the same line as the rest of the information (name/description). 2) I want to be able to change the number of products for an article to a different value. So my article will show a line with the, for that article, required number of a that specific product. 3)add brand (and possibly other product as well) to the TAGs so product brand is included as well 4) add some text to the same line  If you check the url, you will see (if not changed already :D ) the difference between the table, which is about what I want to achieve, and what the TAGs display makes of the different lines. The links to the products in the table are created with another plugin that uses the MODAL tags.  The final solution can go two ways: 1) with the hikashop TAGS 2) if I can't achieve what I want trhrough the Hikashop TAGs,&#91;strike&#93; solve it witht the Modal TAGS if it is possible to have the number of required products included in the link&#91;/strike&#93; (See update below)  NOTE: I will probably be fidling with the hikashopproductinsert&#95;view.php file myself, so the display might change every now and than, but I will try to keep the idea in place (if not yet figured out the solution myself, which I will update here of course) NOTE2: further styling might be necessary, but that is something I figure out after knowing what route to take.")*

Hi,

Yes, you could also modify hikashopproductinsert_view.php to do what you want. Or you could use your product tags to have only the quantity input and the add to cart button and handle the rest in the article, like you do with the HTML add to cart buttons.
Regarding the adding to the cart updating the cart instead of adding to it, you can control that with a &amp;add=1 or &amp;add=0 parameter to the add to cart URL.

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

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