Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Forum

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!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Categories, Vendor ID 17 Oct 2016 22:32 #1

  • Customer
  • Customer's Avatar Topic Author
What is the syntax for:

EVALUATE TO TRUE IF CATEGORY_SLUG_NAME = "JEWELRY"

Thank you.

Categories, Vendor ID 18 Oct 2016 01:46 #2

Dear Customer,
What is your exact shipping cost structure?

In particular, the Shipping by Rules plugin does not in general define shipping costs per product, but it determines the shipping costs for the whole cart. The whole cart does not have one category, but can contain products from various different categories. So a conditions "category is Jewelry" does not make sense at the cart-level.

You can of course add conditions on the categories and/or vendors of the products in the carts, but the particular rules depend very much on the exact shipping cost structure (i.e. do you have fixed shipping costs for the whole cart if at least product from category "Jewelry" is in the cart? or do you have particular shipping costs if ONLY products from the "Jewelry" category is in the cart? or do you have a fixed shipping cost for each product from the "Jewelry"category?).

Best regards,
Reinhold

In general, an order can contain products from multiple different vendors, so there is not a single vendor SLUG in general. However, the plugin provides the "Vendors" variable, which is a list of all vendors SLUGs in the order.

To set a different order number format for vendor JOE, you can use the custom variable definitions (
open-tools.net/documentation/advanced-or...tml#custom_variables):

If "Vendors" contains "JOE" => set variable "ordernumber_format" to "JoesOrders-#"

(The " are there just as a delimiter, enter the values withtout the quotes).

Best regards,
Reinhold
  • Page:
  • 1