News:

Looking for documentation? Take a look on our wiki

Main Menu

problem with vm shopping cart

Started by divertor, February 27, 2013, 09:46:20 AM

Previous topic - Next topic

divertor

hello there.
i have a problem with the virtue mart 2.0.18a version at joomla 2.5.9 (both final versions i think). The eshop works fine but when someone finishes shopping and goes to the cart prices are not displayed. (i have some screenshots) I think its a bad configuration problem because im not used in this verion of virtuemart, i think the old version was better and simpler ;)







Some other think i have, if its possble, how can someone add a product to the cart without entering the product details. Now if someone wants to add a product to the cart he must be in the product deatails so he can add it to the cart.

thanks in advance.


jenkinhill

1. Looks like a problem with template overrides - thay maybe were built for an older VM version (eg 2.0.6) and need updating to work with current versions.

2. See http://forum.virtuemart.net/index.php?topic=90961.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

divertor

Quote from: jenkinhill on February 27, 2013, 10:52:43 AM


2. See http://forum.virtuemart.net/index.php?topic=90961.0


my prooblem is not any error when i add something to the cart... as the thread you sent me says.
my problem is that when somebody is at the page before checkout, images and names are shown but prices, vat and overl price are not shown, they are empty... check the 3rd screenshot. moreover the thread you sent me its from 2011... the scripts in my vm are not the same even the thread is about solving another problem i dont have.

the second thing i want to do to my site, but its not so necessary its about Add To Cart In Category View, the thread you sent me it says about that but its old and its about an error... i dont have any error. i just want to add another button above the "more details" which will add the product to the cart without someone entering the "more details" from the products..

thats all.

divertor

this is my vm css code which overides the vm css from my current template.


.continue_link { text-transform: uppercase; font-size: 12px; line-height: 3.2; padding-right:20px; background:url(../images/vm_arrow_left.png) no-repeat right center; }
.vmstyle h1.title {font-size:2.5em;}

.login-form {background: #fff; background: rgba(255, 255, 255, 0.8); padding: 15px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;  border: 1px solid #bbb; border: 1px solid rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8); -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.8); box-shadow: 0 1px 0 rgba(255,255,255,0.8); }

.login-form .inputbox {margin:0;}
.login-form input[type=submit] {margin:-1px 30px 0 0; }
.remember-login input, .remember-login label {line-height: 1; vertical-align: top; margin-top: 8px !important;}
.remember-login input {margin-right:4px;}
#com-form-login-username, #com-form-login-password, #com-form-login-remember {margin-bottom:5px;}

.vmstyle .simple-style hr {margin:0 5px;}
.vmstyle .simple-style td, .vmstyle .simple-style th {width: auto; padding: 5px;}
.vmstyle tr.sectiontableentry0 td, .vmstyle td.sectiontableentry0, .vmstyle tr.sectiontableentry1 td, .vmstyle td.sectiontableentry1, .vmstyle tr.sectiontableentry2 td, .vmstyle td.sectiontableentry2 {height:auto;  text-align:inherit; padding:2px 5px; }

.vmstyle .vm2-remove_from_cart {background: url(../images/vm2-sprite.png) no-repeat 0 -212px;}
.vmstyle .vm2-add_quantity_cart,
.vmstyle .vm2-add_quantity_cart:hover {background: url(../images/vm2-sprite.png) no-repeat 0 0; line-height:1; margin:0; padding:0; border:0; display: inline;}
.vmstyle .quantity_field {width:80px; line-height:1; margin:0; display: inline;}

.vmstyle .customer-comment {text-align:left; border-top:solid #fff 1px;  border-top:solid rgba(255,255,255,0.5) 1px; }
.vmstyle textarea.customer-comment {width: 500px; height: 110px;}
.vmstyle .billto-shipto { border-top:solid #fff 1px;  border-top:solid rgba(255,255,255,0.5) 1px;  border-bottom:solid #fff 1px;  border-bottom:solid rgba(255,255,255,0.5) 1px; margin: 25px 0; padding: 20px 0 0;}
.vmstyle .checkout-button-top {border-top:solid #fff 1px;  border-top:solid rgba(255,255,255,0.5) 1px; padding: 20px 0 10px; }
.vmstyle .checkout-button-top a {margin-right:0; margin-left:20px;}
.vmstyle .billto-shipto span, .vmstyle span.terms-of-service {margin-bottom:5px;}
.vmstyle .terms-of-service h5 {background: rgba(0, 0, 0, 0.3); font-size:12px; line-height:1.5; text-align:left; font-weight:normal; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; }
.vmstyle .small-button {line-height: 1.2; }

.vmstyle.category-view .row .category .spacer,
.vmstyle.featured-view .spacer,
.vmstyle.latest-view .spacer,
.vmstyle.topten-view .spacer,
.vmstyle.related-products-view .spacer,
.vmstyle.browse-view .row .product .spacer {margin:10px; }

.vmstyle ul.row {margin:0; padding:0; list-style:none;}
.vmstyle ul.row li .main-inner {min-height:140px; line-height:140px; background:#fff; -webkit-box-shadow:0 0 20px rgba(0,0,0,0.2) inset; -moz-box-shadow:0 0 20px rgba(0,0,0,0.2) inset; box-shadow:0 0 20px rgba(0,0,0,0.2) inset; border:1px solid #bbb; -webkit-border-radius:3px; -moz-border-radius:3px;border-radius:3px; position:relative; margin:0 !important;}
.vmstyle ul.row li .main-inner:hover {border:1px solid #999; }
.vmstyle ul.row li .main-inner .thumb {text-align: center; display: block;}
.vmstyle ul.row li .main-inner .thumb img {vertical-align:middle;}

.vmstyle.category-view ul.row li .main-inner h2 a {font-size: 12px !important; background-color:#bbb; color: #000; font-weight: normal; padding: 4px 8px; -webkit-border-radius: 2px; -moz-border-radius: 2px;border-radius: 2px; text-shadow: none; display: inline-block; position:absolute; right:15px; bottom:15px;}
.vmstyle.category-view ul.row li .main-inner:hover h2 a {background-color:#999; }

.vmstyle .orderby-displaynumber {border-top:0; border-bottom:solid #fff 1px;  border-bottom:solid rgba(255,255,255,0.5) 1px;}
.vmstyle .orderlistcontainer .Order {font-weight:bold;}
.vmstyle .display-number select {width:80px; display:inline-block;}
.vmstyle .orderlistcontainer div.orderlist {z-index:2;}
.vmstyle ul.row li.product .main-inner {min-height:180px; line-height:1.4; padding:20px 10px 10px 20px; }
.vmstyle ul.row li.product .main-inner h2 {font-size:20px !important;}
.vmstyle .vm2-normalstock { margin:10px auto 0; }
.vmstyle .stock-level {display:inline-block; padding-top:5px;}
.vmstyle.browse-view ul.row li .main-inner .thumb { line-height: 140px;}

.vmstyle ul.row li {margin-left: 2.2%;}
.vmstyle ul.row li:first-child {margin-left: 0;}
.vmstyle ul.row li.width50 {width: 48.9%; }
.vmstyle ul.row li.width33 {width: 31.8%; }
.vmstyle ul.row li.width25 {width: 23.3%; }
.vmstyle ul.row li.width20 {width: 18.2%; }

.vmstyle.productdetails-view .product-gallery { border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.2); min-height: 300px; padding: 15px; background:#fff; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; text-align: center;}
.vmstyle.productdetails-view .additional-images {margin-bottom:0; display:inline-block; margin-top:20px}
.vmstyle.productdetails-view .additional-images a {display:inline-block; border:1px solid #eee; margin-left:5px; width:50px; max-height:35px; min-height:35px; overflow:hidden; opacity:0.7; filter:alpha(opacity=70);}
.vmstyle.productdetails-view .additional-images a:hover {opacity:1; filter:alpha(opacity=100);}
.vmstyle.productdetails-view .additional-images a:first-child { margin-left:0;}
.vmstyle.productdetails-view .additional-images img {margin:0;}
.vmstyle.productdetails-view .icons {margin-top:10px;}
.vmstyle.productdetails-view .PricesalesPrice {font-size: 36px; font-weight: bold; line-height: 1;}
.vmstyle.productdetails-view .PricediscountAmount {display:inline;}
.vmstyle.productdetails-view .PricediscountAmount span {font-weight:bold;}
.vmstyle.productdetails-view .cutout {text-decoration: line-through;}
.vmstyle.productdetails-view .quick_details {font-size:11px;}
.vmstyle.productdetails-view .product-short-description {font-size:11px; line-height:1.6;}
.vmstyle.productdetails-view .addtocart-area .product-field {margin-bottom:10px;}
.vmstyle.productdetails-view .addtocart-area .product-field > * {float:left; margin-right:20px;}
.vmstyle.productdetails-view .addtocart-area .product-field .product-field-display select{margin:0; width:auto;}
.vmstyle.productdetails-view .addtocart-area .product-field .product-fields-title {line-height:35px; min-width: 100px;}
.vmstyle.productdetails-view .addtocart-area .product-field-type-B, .vmstyle .addtocart-area .product-field-type-S, .vmstyle .addtocart-area .product-field-type-I {padding-left:0; padding-right:3%; width:100%;}
.vmstyle.productdetails-view .addtocart-area .product-field-type-B .product-fields-title, .vmstyle .addtocart-area .product-field-type-S .product-fields-title, .vmstyle .addtocart-area .product-field-type-I .vmstyle.productdetails-view .product-fields-title {line-height:20px;}
.vmstyle.productdetails-view .addtocart-bar {margin:15px 0 0; padding:0;}
.vmstyle.productdetails-view span.quantity-box {width:40px; margin-right:10px; padding:0;}
.vmstyle.productdetails-view span.quantity-box input {width:30px; margin:0;}
.vmstyle.productdetails-view span.quantity-controls { padding-top:0; margin-right:10px; margin-left:0; line-height: 1; }
.vmstyle.productdetails-view span.quantity-controls input { padding:0; margin:0; }
.vmstyle.productdetails-view span.quantity-controls .quantity-plus {margin-bottom:4px !important;}
.vmstyle .availability {text-align:left;}
.vmstyle .availability img {padding:10px; border:1px solid #ccc; background:#fff; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; text-align:left;}

.vmstyle.productdetails-view span.addtocart-button input.addtocart-button,
.vmstyle span.addtocart-button input.notify-button,
.vmstyle .greenBtn { cursor: pointer; margin: 0 0 0 50px; padding: 8px 18px 10px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; font-size: 14px; font-weight: 500; text-shadow:none; border:1px solid #555;
letter-spacing:normal; height:auto; line-height:1; font-weight:bold;
-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .5);
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .5);
-box-shadow: 0 2px 2px rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .5);
color:#fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
border: 1px solid #699631;
border-top-color: #6d9e34;
border-bottom-color: #457119;
background: #67a215;
background: -moz-linear-gradient(top, #9dbf46, #67a215);
background: -webkit-linear-gradient(top, #9dbf46, #67a215);
background: -o-linear-gradient(top, #9dbf46, #67a215);
background: linear-gradient(top, #9dbf46, #67a215);}
.vmstyle span.addtocart-button input.addtocart-button:hover, .vmstyle span.addtocart-button input.notify-button:hover,
.vmstyle .greenBtn:hover {border:1px solid #444; border:1px solid rgba(0,0,0,0.5); text-decoration: none;}
.vmstyle span.addtocart-button input.addtocart-button:active, .vmstyle span.addtocart-button input.notify-button:active,
.vmstyle .greenBtn:active  {padding: 7px 18px 9px; line-height:1; margin-top:1px;}
.vmstyle .greenBtn {margin:5px;}

#facebox .content {padding:0;}
#facebox .content > div {padding:20px;}
#facebox .content.my-groovy-style h4 {border-top: 10px solid #EEE; padding-top: 10px;}
#facebox .content.my-groovy-style > div {font-size:10px;}
#facebox .content.my-groovy-style div > a { font-size:10px; padding:3px 8px; background-color:#eee; line-height:1; text-transform:uppercase; color:#000; display:inline-block; border-radius:2px; margin-right:10pxheight:auto; line-height:1;}

.vmstyle.ask-a-question-view .form-field div {margin-bottom:20px;}
.vmstyle.ask-a-question-view .form-field div label {display:inline-block; margin-right:20px; width:90px;}
.vmstyle.ask-a-question-view .form-field div.comments label {width:400px;}
.vmstyle.ask-a-question-view .form-field div input[type=text],
.vmstyle.ask-a-question-view .form-field div input[type=password] {display:inline; margin:0; }
.vmstyle.ask-a-question-view input.counter, .vmstyle.ask-a-question-view input#email {background:#fff; margin:0; border: 1px solid #CCC; padding: 6px 4px; -moz-border-radius: 2px; -webkit-border-radius: 2px;border-radius: 2px; font-size: 13px; color: #777;}
.vmstyle.ask-a-question-view input.counter {width:30px;}

.vmstyle.manufacturer-view-default {margin-bottom:35px;}
.vmstyle.manufacturer-view-default ul.row li .main-inner h2 {margin:0;}
.vmstyle.manufacturer-view-default ul.row li .main-inner h2 a {font-size: 12px !important; background-color:#bbb; color: #000; font-weight: normal; padding: 4px 8px; -webkit-border-radius: 2px; -moz-border-radius: 2px;border-radius: 2px; text-shadow: none; display: inline-block; position:absolute; right:15px; bottom:15px;}
.vmstyle.manufacturer-view-default ul.row li .main-inner:hover h2 a {background-color:#999; }
.vmstyle.manufacturer-view-default ul.row li .main-inner .thumb {margin:10px 0;}
.vmstyle.manufacturer-details-view .spacer {padding:0 0 30px 0;}
.vmstyle.manufacturer-details-view img {padding:10px; border:1px solid #ccc; background:#fff; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px;}

.vmstyle .virtuemart_search .fieldline {float:left; margin-right:20px;}
.vmstyle .virtuemart_search .fieldline label{font-weight:normal;}
.vmstyle .virtuemart_search .fieldline select, .vmstyle .virtuemart_search .fieldline input {margin-bottom:0;}
.vmstyle .virtuemart_search .fieldline input.inputbox,
.vmstyle .virtuemart_search .fieldline input[type=submit] {margin-top:20px;}

.vmstyle.order-view fieldset.input { margin:0; padding:0;}
.vmstyle.order-view fieldset.input legend {font-size:130%; padding:0; line-height:3;}
.vmstyle.order-view fieldset.input .button {margin-top:20px;}

.vmstyle .subtitle {font-size:18px; margin-bottom:20px;}

.vmstyle #ui-tabs #tabs {padding:0;}
.vmstyle #ui-tabs .dyn-tabs {padding-left:0; padding-right:0;}
.vmstyle #ui-tabs .dyn-tabs legend {font-size:130%; padding:0; line-height:3;}

.vmstyle .select_method {background: white; padding: 15px; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; border: 1px solid #ccc;border: 1px solid rgba(0, 0, 0, 0.2);}
.vmstyle .select_method hr { margin:10px 0; border:0; border-top: 1px solid #ccc;border-top: 1px solid rgba(0, 0, 0, 0.2); }

.vmstyle.order_done table td {padding:10px;}

.browserIe.ie8 .vmstyle #ui-tabs input[type=text] {width:auto;}