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

TOPIC: Buttons on flypage & Button dropdown for stockable

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6230

Hi,

I have two types of products - regular & stockable.
1. For both all add-to-cart buttons on flypage doesn't show right.
(please note that they look different for each product type).
2. For stockable the button drop-down is not working.

Regular:
www.bestwebsolutions.info:8888/pest/index.php/seeds/vegetables/1-detail
Stockable:
www.bestwebsolutions.info:8888/pest/index.php/seeds/vegetables/aaa-detail

Thanks - Drukman.
The administrator has disabled public write access.

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6246

Hi,

Since your website is Hebrew (R-to-L)
Virtuemart doesn't load this CSS file in your website:
ROOT//components/com_virtuemart/assets/css/vmsite-ltr.css

Which is the source of most of the layout problems. So you should manually includes these CSS rules.

Then open this CSS file:
ROOT//pest/templates/ja_purity_ii/html/com_virtuemart/assets/css/flexibleVM2Global.css

(to the top) include these CSS rules:
span.quantity-controls{width:16px;float:left;padding-top:2px;margin:0 0 0 10px; border:none !important;}
span.quantity-controls input.quantity-controls{height:14px;border:none;width:16px;}
span.quantity-controls input.quantity-plus, span.quantity-controls input.quantity-minus { background-color: #777 !important; height:15px !important;}
.flexibleProductDetailsV2 .FlexibleProductDetailsRight span.quantity-box input.quantity-input { height:28px !important;}


The result will be:

Attachment ScreenShot2013-09-03at12.03.35AM.png not found



Once you include these above CSS lines, the "VM-Stockable Custom Field" product will also look better.


It is normal if the "add to cart" button stylization is different in case of "VM-Stockable Custom Field" is being used.
It is also same in our DEMO:

Product with VM Stockable Custom Field:
flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=46&virtuemart_category_id=6

Simply because we can't use custom HTML lines for generating the add to cart button if the VM Stockable Custom field is used. The core hack is required which is not recommended.

But i would suggest you to use "Generic Child Variant" type custom field, because it is more advanced and give you more options,
for instance it gives you the ability to upload different product picture, different product name, different product information etc..

With our PureMart, generic child variants are changed with AJAX update, so it is no difference than VM Stockable custom field though. Beside, you will always have the same "add to cart" button.

See the live demo of Generic Child Variant sample product: flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=50&virtuemart_category_id=6

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

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6253

Hi & Thanks,

It worked for the Regular products, yet there is a problem with the Stockable products.
Can you please have another look at the next links ?

Stockable:
www.bestwebsolutions.info:8888/pest/index.php/seeds/vegetables/aaa-detail

Regular (currently it's fine & it is added just for making sure that any css stockable change won't affect it)
www.bestwebsolutions.info:8888/pest/index.php/seeds/vegetables/1-detail

Thanks - Drukman.
The administrator has disabled public write access.

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6261

Hi,

Include this CSS rule:
div.flexibleProductDetailsV2 div.FlexibleProductDetailsAddToCartBar { display:inline-block;}

to here:
ROOT//pest/templates/ja_purity_ii/html/com_virtuemart/assets/css/flexibleVM2Global.css

and the problem will also be solved for Stockable products.

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

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6280

Please mark as solved.
Thanks - Drukman.
The administrator has disabled public write access.

Buttons on flypage & Button dropdown for stockable 10 years 7 months ago #6294

I am glad it works as expected.

Case solved, topic is closed.

Regards.
Support & Development
The administrator has disabled public write access.
Time to create page: 0.088 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