VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Custom attribute is selected to product 14 Feb 2016 14:28 #1

Hi.

How I can perform IF some cart attribute (e.g. Installation) is selected to cart.

In my custom plugin
function onVmShippingRulesGetCartValues(&$cartvals, $cart, $products, $method, $cart_prices) {

I make custom variable
$cartvals = false;

How I can loop products in cart and check if attribute is selected?

Please Log in or Create an account to join the conversation.

Custom attribute is selected to product 16 Feb 2016 17:23 #2

SOLVED my problem with taken selected custom attribute handling from VM customfields.php.

pastebin.com/kgNP4SG8

Please Log in or Create an account to join the conversation.

[SOLVED] Custom attribute is selected to product 21 Feb 2016 09:51 #3

Problem solved.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular