Hello,
I need to modify the shopping cart page.
The configuration I use is this:
Joomla! 2.5.14
Virtuemart 2.0.22b
The site (currently off-line):
www.sonicdevice.it
user: assistenza
pw: assistenza
From the configuration menu I can choose whether to display or not display the images of the products in the basket. So everything is right.
For the method of shipment and the payment I put icons (Paypal, etc..). They will appear properly at the time of selection, during the chekout (and that's okay), but I would not appeared on the page of the cart, nor even in the notices that are sent to the customer (including invoice).
Even in the official manual Virtuemart I have not found anything about it.
The documents with these images become a bit too picturesque.
Thank you.
Diego
Give url to a test product pls.
Try with this:
http://diegosartori.altervista.org/index.php/i-miei-ordini/number/46a405.html
Thank you.
Could you post here direct url to the paypal icon?
Could you test your issue on standard Joomla template?
With a standard Joomla template, like Atomic, the issue is exactly the same.
I'm sorry, but I don't now the way to give you a direct URL to Paypal icon.
Ok.
Quote from: diegosartori on September 12, 2013, 23:27:49 PM
Try with this:
http://diegosartori.altervista.org/index.php/i-miei-ordini/number/46a405.html
I need a new working URL.
I have made an update ... :-[
This is a new URL:
http://diegosartori.altervista.org/index.php/i-miei-ordini/number/c05c05.html
Thanks.
Diego
I need a screen shot with your issue.
Three screenshot in attachments.
[attachment cleanup by admin]
Quote from: diegosartori on September 10, 2013, 22:42:33 PM
They will appear properly at the time of selection, during the chekout (and that's okay), but I would not appeared on the page of the cart, nor even in the notices that are sent to the customer (including invoice).
I need a little more instructions. What from above and where is not perfect on your screenshots #1, #2 or #3?
If it is possible I want delete the payment and shipping logo in all screen-shot.
Thanks.
Sure it's possible in your template overrides. Report here if you would have some troubles with this.
Ok, the best solution is an override, but I don't now what I have to modify.
Do you have an idea?
Sorry, I gave you a wrong tip. Displaying of logos is hard coded here
administrator\components\com_virtuemart\plugins\vmpsplugin.php
foreach ($logo_list as $logo) {
$alt_text = substr ($logo, 0, strpos ($logo, '.'));
$img .= '<span class="vmCartPaymentLogo" ><img align="middle" src="' . $url . $logo . '" alt="' . $alt_text . '" /></span> ';
So in your case you need to hide logos with the help of css.
Ok, I try to delete logo in this file. Thank you.
I have made an update.
This is a new URL:
http://www.diegosartori.altervista.org/index.php/i-miei-ordini/number/853506.html
If I delete the code:
foreach ($logo_list as $logo) {
$alt_text = substr ($logo, 0, strpos ($logo, '.'));
$img .= '<span class="vmCartPaymentLogo" ><img align="middle" src="' . $url . $logo . '" alt="' . $alt_text . '" /></span> ';
I see a withe page when I try to go on the home page of the shop.
If I delete the code:
protected function displayLogos ($logo_list) {
$img = "";
if (!(empty($logo_list))) {
$url = JURI::root () . 'images/stories/virtuemart/' . $this->_psType . '/';
if (!is_array ($logo_list)) {
$logo_list = (array)$logo_list;
}
foreach ($logo_list as $logo) {
$alt_text = substr ($logo, 0, strpos ($logo, '.'));
$img .= '<span class="vmCartPaymentLogo" ><img align="middle" src="' . $url . $logo . '" alt="' . $alt_text . '" /></span> ';
}
}
return $img;
}
I see a withe page when I try to select the payment.
I'm sorry, but i dont now what is the correct way.
If you will use this
$img .= '<span class="vmCartPaymentLogo" ></span> ';
it will be enough.
Can you try to delete logos with the help of CSS? Cos by deleting in php file you will deleted logos in another VM views.
I don't think. I don't now how modify the CSS code. I hope you can teach me the right way.
Thanks.
Quote from: diegosartori on September 21, 2013, 14:30:56 PM
I don't now how modify the CSS code. I hope you can teach me the right way.
Thanks.
Google "css display none". You could test your css changes with the help of Firebug (FAQs in this forum section).