Results 1 to 2 of 2

Thread: Setting up products in relation to opportunities (newbie)

  1. #1
    helentr is offline Junior Member
    Join Date
    Sep 2008
    Posts
    1

    Default Setting up products in relation to opportunities (newbie)

    Hi I'n new to Sugar and I need help!

    I want to set up 4 simple products (consultancy, software setup, software subscription and community management).
    Some are services which are priced by a daily rate x number days. Some are monthly fees.

    When we open an opportunity and move it through the various sales stages to closure, I want the sales team to be able to pick from the product list to make up the total opportunity.

    I seemed to be able to do this in Salesforce - I'm finding Sugar rather complex and not sure where to start.

    Any help gratefully received.

    Thanks

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Setting up products in relation to opportunities (newbie)

    Hi helentr

    It is possible to do with some bit customization.
    You need to:

    1. Copy the field include/SugarFields/Fields/Relate and paste to another one (include/SugarFields/Fields/NewRelate);
    2. Rename the php script inside this folder to gets the name accordingly to the folder's name;
    3. Replace the "Relate" strings to "NewRelate" inside the php script;
    4. Add a new line in the php script bellow

    PHP Code:
            $field_to_name['name'] = $vardef['name']; 
    Where first value refers to the field in the product module and the second one refers to the field in the opportunity
    5. Modify the editviewdefs.php from Opportunities and set the 'type' => 'NewRelate' for the total opportunity.

    This implementation will works for products selected from the popup in a relate field, if you want to select products from a dropdown then you need to configure an ajax call and custom controller for Opportunities.

    Let me know if it is what you need.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding Products to Opportunities v4.5
    By ewroten in forum Help
    Replies: 0
    Last Post: 2006-12-04, 06:43 PM
  2. Newbie Problem Setting Up Custom Fields
    By jhalsey205 in forum Help
    Replies: 0
    Last Post: 2006-08-27, 10:15 AM
  3. Replies: 25
    Last Post: 2006-03-08, 12:21 AM
  4. Products associted with Quotes and Accounts
    By rbemrose in forum General Discussion
    Replies: 0
    Last Post: 2005-06-14, 08:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •