Page 1 of 1

Format Issues with SKU and pbv_multi template

PostPosted: Sun Jan 26, 2014 8:50 pm
by christopherjmonk@.....com
If the product SKU is long, it will overlap the product price in the cart. Is there a way to either wrap it or not display the SKU at all in the cart? If the 'quantity/update' and 'price' columns were moved to the right it would help, too.

Re: Format Issues with SKU and pbv_multi template

PostPosted: Mon Jan 27, 2014 3:20 pm
by christopherjmonk@.....com
I also noticed that although the version of OPC component installed on my system is 2.0.225.220114, the plugin version is 1.7.0 from December 2011. Is this what it is supposed to be?

Re: Format Issues with SKU and pbv_multi template

PostPosted: Thu Jan 30, 2014 6:13 pm
by admin
Hello, the OPC plugin version is not updated by the installer, only the component's version is.

To fix the SKU, you may want to check this file as far as this is the classic pbv:

To hide it at all:
- search for:
Code: Select all
<div class="op_col4"><?php echo $product['product_sku']; ?></div>

and update to:
Code: Select all
<div style="display: none;" class="op_col4"><?php echo $product['product_sku']; ?></div>


and
Code: Select all
<div class="op_col4"><?php echo OPCLang::_('COM_VIRTUEMART_CART_SKU');?></div>

Code: Select all
<div style="display: none;" class="op_col4"><?php echo OPCLang::_('COM_VIRTUEMART_CART_SKU');?></div>




\components\com_onepage\themes\pbv_multi\onepage.css
and add the original 10 percent to something else, for example price:

Code: Select all
#vmMainPageOPC div#basket_container .op_col5 {
width: 25%;
}

OR
to make the quantity/update smaller and the SKU larger:
Code: Select all
#vmMainPageOPC div#basket_container .op_col6 {
width: 10%;
}

and
Code: Select all
#vmMainPageOPC div#basket_container .op_col4 {
width: 20%;
}

Re: Format Issues with SKU and pbv_multi template

PostPosted: Fri Nov 07, 2014 2:46 pm
by gislon
Hi. I'm also trying to hide SKU on the check out page. I'm using icetheme_store template. I've commented out the col4 section in the template css, but it's still showing. Sorry can't work out which other file needs altering.

Great component, Thank you.

Re: Format Issues with SKU and pbv_multi template

PostPosted: Wed Nov 12, 2014 4:30 pm
by admin
hello, the simplest way to get rid of the column on most of the themes, is to modify the css for the column to "display: none;" and make sure that other columns have proper width.

you can try to add this to onepage.css:

div.op_col4 {
display: none;
}

div.op_col2_2 {
width: 50%;
}

to get rid of the SKU label, you'd need to modify the basket.html.php file. Just make sure it contains only &nbsp; so it renders in full width.

best regards, stan