Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Option on products ? and Price changing with ..

Option on products ? and Price changing with .. 10 years 7 months ago #6350

Hi,

I have followed your tutorial for Stockable products .. but i doesn't arrive to have a Select list with the child products ..

I have made a test for this product :
www.kubevent.fr/location/video/systemes-panoramiques/encore-3me-detail

This is what i could see under Virtumart Admin ..

Attachment Capture21.PNG not found



Attachment Capture23_2013-09-08.PNG not found



Why did i havent these options displayed ?
Because i am under the "Catalog mode only ??"
if yes is it possible to have only this active to show the price if you select on or more options ? without make the cart active ?

Because my customers show the site to have the price but not for buy on it ..

Thanks for the advise ...
The administrator has disabled public write access.

Option on products ? and Price changing with .. 10 years 7 months ago #6358

Looks like you are new to Virtuemart.

Okay, i am seeing you have created child products. But how about the "custom field" itself.
Did you create the "Custom Field - Stockable Variant" and added it to the parent product?

Make sure to follow this tutorial step-by step:
flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/152-tutorial-custom-field-with-stockable-variants

The custom field will appear in the website in catalog mode too. This has nothing to do with that.

I am sorry but, why are you using "Custom Field - Stockable Variant" if you are planing to keep your website in the catalog mode? If you don't care about the "stocking" then you don't need that "VM - Custom, stockable variants". It is little complex and takes time to build.

You should use the "Cart Variant" type custom field. It is extremely easy to create product attributes.
Watch this video to create "Cart Variant" custom field:

Regards.
Support & Development
The administrator has disabled public write access.

Option on products ? and Price changing with .. 10 years 7 months ago #6410

Hi and thanks for the answer BUT ..

I have made all what you said

But it doesn't appear on the catalog ...

Why ???
The administrator has disabled public write access.

Option on products ? and Price changing with .. 10 years 7 months ago #6439

Hi,

Disregard the previous post. The custom field appears only if you are NOT in the catalog mode. Because the custom fields you have created are "Cart Variant" which means, those are effective in the checkout. If you are in the catalog mode, then it is normal if the add to cart button and the custom fields get hidden.

To force to show custom field in the "Catalog" mode too, please do these code changes:

Open this PHP file:
ROOt//templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php
(default.php or flexv2.php which ever layout you are using for product details page)

1- look for this line:
if (!VmConfig::get('use_as_catalog', 0) and (!empty($this->product->prices['salesPrice']))) {
		   ?>
           <div class="addtocart-area">

and replace it with this:
if ((!empty($this->product->prices['salesPrice']))) {
		   ?>
           <div class="addtocart-area">


2- look for this line:
<div class="addtocart-bar FlexibleProductDetailsAddToCartBar">

replace it with this:
<?php if (!VmConfig::get('use_as_catalog', 0)) { ?> 
<div class="addtocart-bar FlexibleProductDetailsAddToCartBar">

3- Look for this line:
	<?php // Display the add to cart button END  ?>
	<input type="hidden" class="pname" value="<?php echo $this->product->product_name ?>" />

replace it with this:
<?php } ?>
	<?php // Display the add to cart button END  ?>
	<input type="hidden" class="pname" value="<?php echo $this->product->product_name ?>" />


If you do the coding changes exactly as i provided above, then the custom fields will be visible in the "catalog mode" too. (while "add to cart" button is still invisible)

Regards.
Last Edit: 10 years 7 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.271 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo