I need to have a customer group on the pricing module and some of the modules.
Is there customer group in virtocommerce 2? If there is, where is the admin panel?
You can specify customer group using tags, tags need to be added to customer object on storefront, also custom expressions can be easily created - https://virtocommerce.com/docs/vc2devguide/working-with-platform-manager/extending-functionality/composing-dynamic-conditions:
Related
In xero, if we create a contact. Using that contact we perform couple of sales invoice and purchase bills and few of them get paid. Now I want to obtain the list of the invoices groupedBy ContactID in php
Xero have recently released functionality that allows this in an easy way.
You can use the ContactIDs query parameter on the invoices endpoint like the following:
GET ../Invoices?ContactIDs=623e392d-7402-40e4-a54c-fdf29783e9a4
You can also do this for more than one ContactID by supplying a comma separated list of ContactIDs.
You can find more information about this in this handy blog post
How to set customer specific pricelists which is common in B2B.
Pricelists per customer or organisation.
If this not exist out of the box, should i tag pricelists witch dynamic properties or add a custom condition, what is tag (TagsContainsCondition).
It dosnt seems to be possible to add own conditions for pricelist assignments!?
I guess this is the best method to override if you dont want to send to many pricelists to the client:
PricingServiceImpl.EvaluatePriceLists
This is already possible out of the box. Simply go to price list assignments and then add a new condition: "Tags contains". In the frontend, you'll need to populate the tags passed to the pricing engine with whatever values you'd like, for instance it can be customerid, or organization name.
You can also extend and add your own conditions as described here: http://docs.virtocommerce.com/display/vc2devguide/Composing+dynamic+conditions.
What is the name of global variable in bigcommerce which is used to store customer group name? And how can I get the current customer's group name?
It's %%GLOBAL_CustomerGroupName%%
Note that there is also %%GLOBAL_CustomerGroupId%%, if you need.
In Drupal Commerce, how do I apply a percentage coupon to specific type of product instead of complete order amount?
Can this be done using rules or do I have to create some custom module?
If you are using Commerce Coupon 7.x-2.0 and Commerce Discount, you can set your discounts to be applied to the entire order or certain products.
We need to invoice donations that are linked to an analytics account.
We have about 400 projects for which a user can make a donation.
A project is linked to a analytic account and only 1 donation per invoice.
As I understand it correctly, OpenERP/Odoo uses an invoice based on the analytic account to which it is associated at item level.
This would mean that we need to add for every new project/analytic account a new product item to invoice that is linked to the analytic account.
I find this not a good maintainable approach.
So what would be a other approach to invoice projects and make sure that the invoice item is linked to the analytic account?
you are right in odoo you need to select analytic account manually for each associated item.
what you need to do is if you want to set auto analytic account when product will be selected on invoice line.
Create custom module add m2o field inside product and override the on change method of invoice line which will automatically set the analytic account.