Recent Posts

Pages: [1] 2 3 ... 10
1
I have the same problem, if I enable SEF the registration is not working, if i disable it everything is ok but the urls are crap.

Is there any ETA on when this will be fixed in the router.php file since it has been a problem since VM2.?

I am running Joomla 3.4.1 and VM 3.0.7.4 on a fully updated server with cpanel.

And yes, aio-plugins are also fully updated.

The fix posted here does not work on my installation.
2
General Questions / Hide modules on checkout page
« Last post by Swaiidan on Today at 02:46:18 »
hello,

I have Joomla 3.4 and virtuemart 3.0.2.

does anyone know, where i can switch of the modules in the checkout page.
when i go to the modules i cannot unclick the checkout page in menu list as such pages are not listed there.

if anyone knows the trick i would be happy.

thanks for your reply.
4
Hi Guys, Cart fixed but now Error: 1146 when try to confirm order???
5
Templating & Layouts / Hide parts on product page
« Last post by HenrikS on Today at 01:16:17 »
Hi

Can anyone help here, i am trying to get the shopper group id like 1 and 2 so i can hide some of the content from guests and from det default shopper groups, but it does as it pleases. it works in some part the guests cant see it but the default can.

This is the code in the top:
Code: [Select]
$user =& JFactory::getUser();
$userId = $user->get('id');
$db = JFactory::getDbo();
$query = 'SELECT `virtuemart_shoppergroup_id` ' . ' FROM `#__virtuemart_vmuser_shoppergroups` ' . ' WHERE `virtuemart_user_id` =' . $userId;
$db->setQuery($query);
$shoppergroup = $db->loadResult();

And this down in the page:
Code: [Select]
<?php
if (!$shoppergroup == ) {
 echo '<div class="width50 floatright"><div><div> </div><div><div></div><div></div><div></div></div>';
} else {  ?>
       
    <div class="width50 floatright">
          <div class="spacer-buy-area">

            <?php // free shipping
              
include JPATH_THEMES.'/'.$template->template.'/html/com_virtuemart/vt_freeshipping.php';
              
// Rating
              
echo '<div class="vt-rating-wrap clearfix text-left">';
              echo 
shopFunctionsF::renderVmSubLayout('rating',array('showRating'=>$this->showRating,'product'=>$this->product));
              echo 
'</div>';
            
?>


            <div class="vt-other-details small clearfix">
            <?php
    
// Manufacturer of the Product
    
if (VmConfig::get('show_manufacturers'1) && !empty($this->product->virtuemart_manufacturer_id)) {
    
    echo $this->loadTemplate('manufacturer');
    
?>


            <?php if ($sku) {
              echo 
'<div>'.JText::_("COM_VIRTUEMART_PRODUCT_SKU").': &nbsp;'.$this->product->product_sku.'</div>';
            } 
?>

            <?php  if ( VmConfig::get ('display_stock'1)) {
              
$stocklevel = ($this->product->product_in_stock $this->product->product_ordered);
              if (
$instock) {
                if (
$stocklevel 0) {
                
$stockcount ' <span class="label label-default">'$stocklevel .'</span>';
                  echo 
'<div>'.JText::_("COM_VIRTUEMART_PRODUCT_AVAILABILITY").': &nbsp;'.$stockcount.'</div>';
                } else {
                  
$stock '<i class="fa fa-exclamation-triangle"></i> '.JText::_('TPL_VM_OUTOFSTOCK');
                  
$class'nostock';
                  echo 
'<div class="'.$class.'">'.JText::_("COM_VIRTUEMART_PRODUCT_AVAILABILITY").': &nbsp;'.$stock.'</div>';
                }

              } else {

                if (
$stocklevel 0) {
                  
$stock '<i class="fa fa-check-circle"></i> '.JText::_('TPL_VM_INSTOCK');
                  
$class'instock';
                } else {
                  
$stock '<i class="fa fa-exclamation-triangle"></i> '.JText::_('TPL_VM_OUTOFSTOCK');
                  
$class'nostock';
                }
                echo 
'<div class="'.$class.'">'.JText::_("COM_VIRTUEMART_PRODUCT_AVAILABILITY").': &nbsp;'.$stock.'</div>';
              }
            }
?>

            </div>
<?php ?>

Working now!!
6
Thank you !
Your link linked to a link to another where I could find the link to download the update. That fixed my issue.
7
VirtueMart 3.0.6.2
Joomla! 3.4.1
csvi pro 5.20
PHP version 5.4.32


Hello

Right now am having a problem,

Some of the products are givin me 1064 syntax error on the details at the front end.

I have uploaded again, and everithing is "Success"

but in the front end when i click on the product detail i get this mesage:

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'www.cablesnavcar.com/ecat2/images/tipos%20bujes/TIPO15.jpg"><br><b>MEDIDA' at line 1 SQL=SELECT p.`virtuemart_product_id`, `l`.`product_name` FROM `nbuzy_virtuemart_products` as p INNER JOIN `nbuzy_virtuemart_products_es_es` as l using (`virtuemart_product_id`) LEFT JOIN `nbuzy_virtuemart_product_shoppergroups` as ps ON p.`virtuemart_product_id` = `ps`.`virtuemart_product_id` LEFT JOIN `nbuzy_virtuemart_product_categories` as pc ON p.`virtuemart_product_id` = `pc`.`virtuemart_product_id` WHERE ( `pc`.`virtuemart_category_id` = 1201 AND ( `ps`.`virtuemart_shoppergroup_id`= "1" OR `ps`.`virtuemart_shoppergroup_id` IS NULL ) AND p.`published`="1" ) AND p.`virtuemart_product_id`!="5683" AND `l`.product_desc <= "<b>REF. NAVCAR: </b>BJ-9675<br><b>APLICACION: </b>BUJE BALANCIN<br><b>MARCA VEHICULO: </b>AMPRO<br><b>MODELO: </b>TRAILER<br><b>MOTOR/TRANS: </b>NO INFO<br><b>DESCRIPCION: </b>TRAILER AMPRO<br><b>OEM: </b><br><b>TIPO: </b><br> <img src="www.cablesnavcar.com/ecat2/images/tipos%20bujes/TIPO15.jpg"><br><b>MEDIDAS: (mm)</b><br><b>A: </b>30<b> B: </b>54.9<b> C: </b>62.5<b> D: </b>46<b> E: </b>N/A<br><b>U x VEHICULO: </b>16 /2 ejes 24 /3 ejes<b> U DE EMPAQUE: </b>12<br><b>DUREZA: </b>80 SHORE A" ORDER BY `l`.product_desc DESC LIMIT 1

any idea of whats going on? this products were working a few days ago!

Thanks for your help
8
Templating & Layouts / Re: How to hide quantity in stock
« Last post by YZF on Yesterday at 21:19:16 »
I tried something new (experimenting... )

Original code:

            if ($this->product->product_in_stock >=1) {
            echo '<div class="stock"><span class="bold">'.JText::_('DR_AVAILABILITY_NEW').':</span><i class="green">'.JText::_('DR_IN_STOCK_NEW').'</i>&nbsp;<b>'.$this->product->product_in_stock.'&nbsp;'.JText::_('DR_ITEMS_NEW').'</b></div>';
            }else {
            echo '<div class="stock"><span class="bold">'.JText::_('DR_AVAILABILITY_NEW').':</span><i class="red">'.JText::_('DR_OUT_STOCK_NEW').'</i>&nbsp;<b>'.$this->product->product_in_stock.'&nbsp;'.JText::_('DR_ITEMS_NEW').'</b></div>';
            }

-------------------

Modified Code:

            if ($this->product->product_in_stock >=1) {
            echo '<div class="stock"><span class="bold">'.JText::_('DR_AVAILABILITY_NEW').':</span><i class="green">'.JText::_('DR_IN_STOCK_NEW').'</i>&nbsp;</div>';
            }else {
            echo '<div class="stock"><span class="bold">'.JText::_('DR_AVAILABILITY_NEW').':</span><i class="red">'.JText::_('DR_OUT_STOCK_NEW').'</i>&nbsp;</div>';
            }

-----------------

I basically removed this part from both sections:
<b>'.$this->product->product_in_stock.'&nbsp;'.JText::_('DR_ITEMS_NEW').'</b>

Result .... nothing changed.

I'm not sure of my next move.
9
Plugins: Payment, Shipment and others / Re: New orders recieved
« Last post by david871 on Yesterday at 20:33:26 »
Thank you for fast answer ,

I can find where is the part of vendor ? can you please help me to navigate to this option?
10
Hello!

I would like to ask how can i remove save buttons from one page chekout cart?

To clearify my idea i have add an image, those buttons are good, but may mislead customer for extra click.

I try to modify this file but probably doing something wrong components/com_virtuemart/views/cart/tmpl/default.php

Code: [Select]
    $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
        
if(VmConfig::get('multixcart')=='byselection'){
            if (!
class_exists('ShopFunctions')) require(VMPATH_ADMIN DS 'helpers' DS 'shopfunctions.php');
            echo 
shopFunctions::renderVendorFullVendorList($this->cart->vendorId);
            
?>
<input type="submit" name="updatecart" title="<?php echo vmText::_('COM_VIRTUEMART_SAVE'); ?>" value="<?php echo vmText::_('COM_VIRTUEMART_SAVE'); ?>" class="button"  style="margin-left: 10px;"/><?php

Maybe great community can help me...?

Joomla 3.3.6
VirtueMart 3.0.2
Artisteer template
Site is multilangiage
Pages: [1] 2 3 ... 10