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

#   Making print cart a quote!

##

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

Less More

- Posts: 32
- Thank you received: 1
-
-

11 years 11 months ago [\#180978](#180978) by [loginsecure](/forum/user/20349-loginsecure "View loginsecure's Profile")  *[Making print cart a quote!](/forum/27-checkout/873224-making-print-cart-a-quote#180978 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All major browsers -- Error-message(debug-mod must be tuned on) -- : None  Dear Developers, Users and Contributors,  We had the crazy idea to make a quote when a user clicks on the print cart button. So we written the text that needs to come before the cart details and we made a text for after the cart button.  We created 6 modules (before text + after text = 2 x 3 different languages = 6). 3 modules have the position hikaquote&#95;before and 3 have hivequote&#95;after.  We installed Modules Anywhere so we could use the 'modulepos' tag instead of 'loadingpositions' because the latter is not working in the Hikashop Views.  Now we need to find the right view to edit only the template that is used for printing the cart.  We have seen that it could work when we edited the wrong file :P The file in question is Display Views &gt; Checkout &gt; Cart.  But all changes that we made in there where also visible on the checkout page. Duh the view is checkout... So we used a couple of display nones to hide it here. But that is a rather ugly solution.  So finally the question is there another view that we can edit to make our wish come true.  Thanks to everyone in advance for helping.")* was created by *[loginsecure](/forum/user/20349-loginsecure "View loginsecure's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.28
-- Browser(s) name and version -- : All major browsers
-- Error-message(debug-mod must be tuned on) -- : None

Dear Developers, Users and Contributors,

We had the crazy idea to make a quote when a user clicks on the print cart button. So we written the text that needs to come before the cart details and we made a text for after the cart button.

We created 6 modules (before text + after text = 2 x 3 different languages = 6). 3 modules have the position hikaquote_before and 3 have hivequote_after.

We installed Modules Anywhere so we could use the 'modulepos' tag instead of 'loadingpositions' because the latter is not working in the Hikashop Views. Code:

Easy insertable code. &lt;div&gt;{modulepos hikaquote_before}&lt;/div&gt; &lt;div&gt;{modulepos hikaquote_after}&lt;/div&gt;

Now we need to find the right view to edit only the template that is used for printing the cart.

We have seen that it could work when we edited the wrong file ![:P](/media/kunena/emoticons/14.png ":P")
The file in question is Display Views &gt; Checkout &gt; Cart.

But all changes that we made in there where also visible on the checkout page. Duh the view is checkout...
So we used a couple of display nones to hide it here. But that is a rather ugly solution.

**So finally the question is there another view that we can edit to make our wish come true.**

Thanks to everyone in advance for helping.

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

11 years 11 months ago [\#181056](#181056) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Making print cart a quote!](/forum/27-checkout/873224-making-print-cart-a-quote#181056 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All major browsers -- Error-message(debug-mod must be tuned on) -- : None  Dear Developers, Users and Contributors,  We had the crazy idea to make a quote when a user clicks on the print cart button. So we written the text that needs to come before the cart details and we made a text for after the cart button.  We created 6 modules (before text + after text = 2 x 3 different languages = 6). 3 modules have the position hikaquote&#95;before and 3 have hivequote&#95;after.  We installed Modules Anywhere so we could use the 'modulepos' tag instead of 'loadingpositions' because the latter is not working in the Hikashop Views.  Now we need to find the right view to edit only the template that is used for printing the cart.  We have seen that it could work when we edited the wrong file :P The file in question is Display Views &gt; Checkout &gt; Cart.  But all changes that we made in there where also visible on the checkout page. Duh the view is checkout... So we used a couple of display nones to hide it here. But that is a rather ugly solution.  So finally the question is there another view that we can edit to make our wish come true.  Thanks to everyone in advance for helping.")*

Hi,

The view to edit is indeed "checkout / cart" and you have to add a little PHP condition to display the desired content only if we are in popup: Code:

if(JRequest::getVar('tmpl','')=='component'){ // your content }

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

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

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

Less More

- Posts: 32
- Thank you received: 1
-
-

11 years 11 months ago [\#181345](#181345) by [loginsecure](/forum/user/20349-loginsecure "View loginsecure's Profile")  Replied by *[loginsecure](/forum/user/20349-loginsecure "View loginsecure's Profile")* on topic *[Making print cart a quote!](/forum/27-checkout/873224-making-print-cart-a-quote#181345 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All major browsers -- Error-message(debug-mod must be tuned on) -- : None  Dear Developers, Users and Contributors,  We had the crazy idea to make a quote when a user clicks on the print cart button. So we written the text that needs to come before the cart details and we made a text for after the cart button.  We created 6 modules (before text + after text = 2 x 3 different languages = 6). 3 modules have the position hikaquote&#95;before and 3 have hivequote&#95;after.  We installed Modules Anywhere so we could use the 'modulepos' tag instead of 'loadingpositions' because the latter is not working in the Hikashop Views.  Now we need to find the right view to edit only the template that is used for printing the cart.  We have seen that it could work when we edited the wrong file :P The file in question is Display Views &gt; Checkout &gt; Cart.  But all changes that we made in there where also visible on the checkout page. Duh the view is checkout... So we used a couple of display nones to hide it here. But that is a rather ugly solution.  So finally the question is there another view that we can edit to make our wish come true.  Thanks to everyone in advance for helping.")*

Dear Xavier,

Thank you once again for the right answer.

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

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