News:

Looking for documentation? Take a look on our wiki

Main Menu

error before the bill

Started by jhoo, October 18, 2012, 19:46:54 PM

Previous topic - Next topic

jhoo

hello,
i'm getting an error on the last page before ordering.
also i would like to write a essage on that page.
Please see the attached file

Thank you

[attachment cleanup by admin]

bytelord

Hello,

Please disable debug information from vm backeng, located under Configuration -> Shopfront under Advanced settings turn off debugging messages.
What's your vm version? Did you login with an admin account?

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jhoo

thanks for the quick reply.

how can i put a banner, or a message on the same page of the cart?

Thanks.

bytelord

Hello,

This is debug information generated with vmdebug. If you want to place a message you could easily override the cart template.
More information how to create template overrides and use the template system can be found here:

Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Also you could use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Cart template is located under joomla_folder\site\components\com_virtuemart\views\cart\tmpl\default.php

Override it by copying that file under joomla_folder\site\templates\your_joomla_template\html\com_virtuemart\cart\default.php

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jhoo

I wasn't able to solve it ... i'm too noob :)
I have attached another pictures. i'm not able to locate the position of the file to mdify.


Please help !!

[attachment cleanup by admin]

bytelord

Hello,

1st solution
You could language overrides to accomplish that but i am not sure that you want to change the string "Cart Title" from there, in any case take a look here: http://forum.virtuemart.net/index.php?topic=92944.0 and here http://www.ostraining.com/blog/joomla/languge-manager/

2nd solution
So, what you need is to create a template override for the file your_joomla_folder\components\com_virtuemart\views\cart\tmpl\default.php, i give you before instructions how you can create template overrides (on your case copy that file to your_joomla_folder/template/your_joomla_template/com_virtuemart/cart/default.php is the file is not already there because you are using a custom vm template (?)).
Edit the file, around line 61-63 you have the following lines:

<div class="width50 floatleft">
      <h1><?php echo JText::_ ('COM_VIRTUEMART_CART_TITLE'); ?></h1>
</div>

The Cart title is the string COM_VIRTUEMART_CART_TITLE ... you as i said you could override it or change it with a custom one message.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!