After updating (vm 2.0.2 - 2.0.4) the productprice is the same size font in the productdetail page as it is in the cart .
I 'd like to have prices in the card to be normal size.
Also is the title of my customfield displayed in the minicart, I just want the customers input there.
I 've updated only my local site so I can't give the URL ... I add screen shots.
[attachment cleanup by admin]
Hello,
bette update to Virtuemart 2.0.6, maybe your issue is fixed.
If it is still wrong after the update every one who want help you need a link, so I recommend to set up a live-test-site.
Thanks for your reply, I updated to vm 2.06 but I'm still having the same problems.
As I told before, it´s hard to help without a url to the problem. Sry.
I've updated the live site: www.mnzus.com
Hey, I checked your site and it looks different to the screenshots. Is the issue already fixed? Or do you try anything other as I excepted?
Sorry, I don't know what happend.. I guess some files are overwritten..
Think I have to take a look at it again because it's looks all different again :-[.
Thank you for your time.
I still have the same problem after fixing the overwritten files.
The size of the product price is the same on product detail page and in the cart,
also still the title of the customer input appears in the mini cart.
Hey, so the problems only appear, if you use the override, right? If yes, you just have to compare the CSS ids and classes.
Both prices use the same css: .PricesalesPrice
I want them both to have a diffrent font size.
price in cart: 13px , detailpage 30px .
How to do that?
And how to get rid of the titles : 'Vul hier de naam in die op de achterkant van het t-shirt moet komen maat selecteer a.u.b'
in the minicart I only wat to have the customers input (name and size)
if you order a t-shirt.
Hello,
please post the code of your cart-override here. I will check what I can do...
Thanks! I'm not sure which code you mean, the cart code in the vm views folder?
Yes - if you not use a override, what you told some posts above.
The code is this: (default.php)
<?php
/**
*
* Layout for the shopping cart
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: cart.php 2551 2010-09-30 18:52:40Z milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
JHTML::script('facebox.js', 'components/com_virtuemart/assets/js/', false);
JHTML::stylesheet('facebox.css', 'components/com_virtuemart/assets/css/', false);
JHtml::_('behavior.formvalidation');
$document = JFactory::getDocument();
$document->addScriptDeclaration("
jQuery(document).ready(function($) {
$('div#full-tos').hide();
$('span.terms-of-service').click( function(){
//$.facebox({ span: '#full-tos' });
$.facebox( { div: '#full-tos' }, 'my-groovy-style');
});
});
");
$document->addStyleDeclaration('#facebox .content {display: block !important; height: 480px !important; overflow: auto; width: 560px !important; }');
// vmdebug('car7t pricesUnformatted',$this->cart->pricesUnformatted);
// vmdebug('cart pricesUnformatted',$this->cart->cartData );
?>
<div class="cart-view">
<div>
<div class="width50 floatleft">
<h1><?php echo JText::_('COM_VIRTUEMART_CART_TITLE'); ?></h1>
</div>
<?php if (VmConfig::get('oncheckout_show_steps', 1) && $this->checkout_task==='confirm'){
vmdebug('checkout_task',$this->checkout_task);
echo '<div class="checkoutStep" id="checkoutStep4">'.JText::_('COM_VIRTUEMART_USER_FORM_CART_STEP4').'</div>';
} ?>
<div class="width50 floatleft right">
<?php // Continue Shopping Button
if ($this->continue_link_html != '') {
echo $this->continue_link_html;
} ?>
</div>
<div class="clear"></div>
</div>
<?php echo shopFunctionsF::getLoginForm($this->cart,false);
//echo $this->loadTemplate('login');
//
//
//// Continue and Checkout Button
/* The problem here is that we use a form for the quantity boxes and so we cant let the form start here,
* because we would have then a form in a form.
*
* But we cant make an extra form here, because then pressing the above checkout button would not send the
* user notices for exampel. The solution is to write a javascript which checks and unchecks both tos checkboxes simultan
* The upper checkout button should than just fire the form below.
*
<div class="checkout-button-top">
<?php // Terms Of Service Checkbox
if(!class_exists('VmHtml'))require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'html.php');
echo VmHtml::checkbox('tosAccepted',$this->cart->tosAccepted,1,0,'class="terms-of-service"');
$checked = '';
//echo '<input class="terms-of-service" type="checkbox" name="tosAccepted" value="1" ' . $this->cart->tosAccepted . '/>
echo '<span class="tos">'. JText::_('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED').'</span>';
?>
<?php // Checkout Button
echo $this->checkout_link_html;
$text = JText::_('COM_VIRTUEMART_ORDER_CONFIRM_MNU');
?>
</div>
<form method="post" id="checkoutForm" name="checkoutForm" action="<?php echo JRoute::_( 'index.php?option=com_virtuemart' ); ?>">
<input type='hidden' name='task' value='<?php echo $this->checkout_task; ?>'/>
<input type='hidden' name='option' value='com_virtuemart'/>
<input type='hidden' name='view' value='cart'/>
*/
// This displays the pricelist MUST be done with tables, because it is also used for the emails
echo $this->loadTemplate('pricelist');
if ($this->checkout_task) $taskRoute = '&task='.$this->checkout_task;
else $taskRoute ='';
?>
<form method="post" id="checkoutForm" name="checkoutForm" action="<?php echo JRoute::_( 'index.php?option=com_virtuemart&view=cart'.$taskRoute,$this->useXHTML,$this->useSSL ); ?>">
<?php // Leave A Comment Field ?>
<div class="customer-comment marginbottom15">
<span class="comment"><?php echo JText::_('COM_VIRTUEMART_COMMENT'); ?></span><br />
<textarea class="customer-comment" name="customer_comment" cols="50" rows="4"><?php echo $this->cart->customer_comment; ?></textarea>
</div>
<?php // Leave A Comment Field END ?>
<?php // Continue and Checkout Button ?>
<div class="checkout-button-top">
<?php // Terms Of Service Checkbox
if (!class_exists('VirtueMartModelUserfields')){
require(JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'userfields.php');
}
$userFieldsModel = VmModel::getModel('userfields');
if($userFieldsModel->getIfRequired('agreed')){
?>
<label for ="tosAccepted">
<?php
if(!class_exists('VmHtml'))require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'html.php');
echo VmHtml::checkbox('tosAccepted',$this->cart->tosAccepted,1,0,'class="terms-of-service"');
if(VmConfig::get('oncheckout_show_legal_info',1)){
?>
<div class="terms-of-service">
<span class="terms-of-service" rel="facebox"><span class="vmicon vm2-termsofservice-icon"></span><?php echo JText::_('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED'); ?><span class="vm2-modallink"></span></span>
<div id="full-tos">
<h2><?php echo JText::_('COM_VIRTUEMART_CART_TOS'); ?></h2>
<?php echo $this->cart->vendor->vendor_terms_of_service;?>
</div>
</div>
<?php
} // VmConfig::get('oncheckout_show_legal_info',1)
//echo '<span class="tos">'. JText::_('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED').'</span>';
?>
</label>
<?php
}
echo $this->checkout_link_html;
$text = JText::_('COM_VIRTUEMART_ORDER_CONFIRM_MNU');
?>
</div>
<?php //vmdebug('my cart',$this->cart);// Continue and Checkout Button END ?>
<input type='hidden' name='task' value='<?php echo $this->checkout_task; ?>'/>
<input type='hidden' name='option' value='com_virtuemart'/>
<input type='hidden' name='view' value='cart'/>
</form>
</div>