SugarCRM - How to bind (relate) two seperate modules automatically? - module

On example I have one Account.
In its subpanel I create Quote for that Account.
In subpanel of that Quote I create two Products for that Quote.
How to automatically relate that two Products for that Account? I want Products to show automatically in subpanel of Account module.
Please if someone can tell me how to bind them and in what custom folder I should put that custom logic. Thank you

Related

Shopify Create Custom field for Showing more information

I need to show users more information about the products, so I need more fields to save the products.
There are lots of apps that do it, But is there any dev's way of doing it?
P.S. I have found lots of posts about the users adding additional info while add to cart and checkout. But it's admin adding additional info for the users that i want.
admin/metafields/product
Here we can create Metafeilds.

Disable or Remove Customer Account

I am working on the Customer Templates Logic in Shopify.
I cannot find a way in Liquid for a Customer to remove his/ her account.
I have been going through the Template Forms but cannot find the code.
Can anyone point me in the right direction?
Thanks..
Basically in Shopify customers can't delete their own accounts like close accounts or something similar.
But at the same time you can delete the customer from backend sections, so you if need this feature then you need to create a private APP that interacts with API and allow the customer to delete their own account.
Here is the useful Shopify forum thread link
discussing the same feature or issue.
I hope it will provide you a clear view regarding it.

How User can add Order Line Note or at less Order Note or Metadata?

Does Saleor have some minimum implementation of interaction for receiving data from client
I need to receive some data from client for special product that will be created and send to him.
As for me the best way will be order Line Note editable by user
I've tried to add new fields to CartLine after to CheckoutLine, but it's not good way because i need to modify #saleor/sdk in frontend and modify backend API.
I've tried to esaminate different custom fields like:
customerNote (OrderAddNote)
OrderLine
OrderLineInput
OrderLineCreateInput
CheckoutLine
CheckoutLineInput
CheckoutCreateInput
MetaStore
MetaItem
MetaClientStore
Metadata
and found that in all of them some notes can create only stuff users.
My question is:
What is the best way to have interaction with customer? If there is noting: Is it reasonable to change permission for Add Metadata o Add Note.
PS. How can I see metadata in dashboard orders
Metadata can be created / updated for a checkout without any special permissions and can be seen and edited from the Dashboard. Customer notes can be used as well, but have less features.

API for auto discount based on customer group Shoopify Plus

Hi we have a shopify plus store and we have to provide a auto discount based on the customer groipus.
Suppose a customr is in vip group he should get automatically 50 % discount.
I can see shopify don't provide this.
Can you please provide an API reference with which i can detect the customer group and apply discount on his cart.
Check out the Shopify Script Generator here https://jgodson.github.io/shopify-script-creator/
I use this for creating all our scripts and it makes it so much easier.
I currently have a script which automatically applies free delivery to all customers with a "VIP Platinum" tag from our loyalty program, you can do the same thing for discounts.
tip, don't forget to export and save the file somewhere, this way if you need to edit or add another rule to it you don't need to start from scratch again.
edit: forgot to mention, as per your requirement this doesn't apply a discount code either. you can use the generator to create another script to block discounts from being used with this if you need/want

How to show all mails with no restriction of user?

I am in need of showing "All Mails" that have been transacted in OpenERP 7 with no restrictions.
There seems to be some restrictions done when records are fetched from Database(postgresql).
Is there a way to show all the records available in postgresql directly?
Their are several ways, you can use any of below:
You can create Separate menu without any domain on mail.message object which will show you all the messages.
Also you can create the postgres view report for more statistical information on mail.message object this will be tricky and long but informative in future.
Or Even you can remove the Domain from the existing Email menu action to show all the record without any restriction.
Thank You