Restrict the items while adding to cart based on zipcode.

Hi All,
I have a requirement of restricting the items while adding to cart based on the zipcode .
For ex . If I enter zipcode of 10014 ,then I shld able to only add 2 items .If i enter some other zipcode like 55344 then I shld able to only add 5 items .
Please help me to implement this scenerio.
Advance thanks

You can add a property in catalog for "Product" item-descriptor to refer to "ZipCodeQuantity" item-descriptor to define the restriction. This way even if the quantity for a particular product( for a particular zip) changes, it becomes easy.
zipcodeQuantity will have productid, zipcode, quantity allowed.
Use a droplet to show only the allowed quantity for a particular product for a particular zip code in product detail page. This way you can restrict them from adding in ProductDetail page itself.
Just an another way.
-karthik

Similar Messages

  • How do I restrict the items shown in Action pull-down list in Quote Overiew

    I would like to restrict the items shown in the pull-down list of Actions in Quote Overview Screen in Oracle Quoting (HTML)
    The list is defined as part of Quick Codes (Lookup_type = ASO_QUOTE_ACTION). Per my understanding, it should show up all the lookup values enabled in ASO_QUOTE_ACTION. But I see only a few of those enabled in the action drop-down list in Overview Screen.
    I appreciate if any one can provide any clue where they are restricted.
    To access ASO_QUOTE_ACTION Loookup code, here is the navigation path.
    ® Quoting Sales Manager → (N) Setup → Quick Codes and query for ASO_QUOTE_ACTION.
    Thanks
    Rao

    Wrong Forum....

  • Restrict the item

    Hi,
    i want to restrict the item input. i.e i want to insert only 3 digit number,more than that i want display error.
    Is there any regular expression?
    skud

    Hi Skud,
    Use validation:
    Level: Item Level Validation
    Item: <item-name>
    Validation Method: Regular Expression
    Regular Expression:
    ^[0-9]{3}$OR
    ^[[:digit:]]{3}$See if it works!
    Regards,
    Kiran

  • Describe Requirement item not adding to cart

    After clicking the "Add to shopping cart" icon when creating a free text item for a cart, the screen refreshes and displays the screen again but the item's not added to the cart.
    All the information is still held in the fields as though i'm creating a new free text item.
    We are using SRM 4.00, SRM_SERVER 500, SAPKIBKS11.
    Any ideas on this one ?
    Keith

    Hi,
    We had a similar problem on SRM 4.0.
    Pls refer the foll thread:
    ERROR IN  SHOPPING CART CREATION
    BR,
    Disha.
    Do reward points for useful answers.

  • Restricting the item data for two pages if data is more then cutoff

    Hi Expers,
    I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra  data in the next pages ).Could you please explain  how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
    Thanks and Regards,
    Venkat

    Dear experts,
    For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
    Many thanks for your help,
    venkat

  • Bom explosion how to restrict the item level posnr

    Hi friends
    TABLES : MAST.
    DATA: BEGIN OF ISTPO OCCURS 1000.
            INCLUDE STRUCTURE STPOX.
          DATA: END OF ISTPO.
    DATA: W_TOPMAT LIKE CSTMAT.
    SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
    PARAMETERS     : P_WERKS TYPE MAST-WERKS.
    DATA : BEGIN OF ITAB OCCURS 0,
               MATNR LIKE MAST-MATNR,
               WERKS LIKE MAST-WERKS,
               END OF ITAB.
    DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
    *DATA : ITAB_STB LIKE ISTPO1 OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    CLEAR ISTPO. REFRESH ISTPO.
    SELECT MATNR WERKS FROM MAST INTO CORRESPONDING FIELDS OF TABLE ITAB
    WHERE MATNR  IN
    P_MATNR AND WERKS = P_WERKS.
    LOOP AT ITAB.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          MEHRS                 = 'X'
          MMAPS                 = 'X'
         BREMS                  = 'X'
          DATUV                 = SY-DATUM
          MTNRV                 = ITAB-MATNR
          WERKS                 = P_WERKS
          EMENG                 = '1'
          FBSTP                 = ' '
          FTREL                 = ' '
        IMPORTING
          TOPMAT                = W_TOPMAT
        TABLES
          STB                   = ISTPO
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          OTHERS                = 8.
      IF SY-SUBRC = 0.
    WRITE:/ 'MaterialNumber' ,21 'Description'.
    SKIP 1.
    WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
             W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
    LOOP AT ISTPO .
      WRITE :/ ISTPO-POSNR,
               ISTPO-IDNRK,
               ISTPO-OJTXP,
               ISTPO-MENGE,
               ISTPO-MEINS.
    ENDLOOP.
    ENDIF.
    *ENDLOOP.
    SKIP 5.
    ENDLOOP.
       here i gave the material no , it gave the bom of that materials.
      i restricted posnr itemnumber.
    postnr   component number complonentdesct u
    010        sfg
       010
       020
    020       sfg
    030       sfg
       010
       020
        i want  to get only sfg component how to use this logic in above coding.
    very urgent. give me a solutions
    Regards
    ds

    HI,
               my requirement is to explode the summaried bom ,using tcode cs13,
    we ll get multilevel  cs12 , in my report i got cs1 explosion,
    but i need to get like cs13 ouput using select-option,
    but i got the output i would like to restrict levels
      ABC IS MATERIAL
       D
         E
         F - E and f required to make a d,
      G
        H
           I  H  and i requried to make a g,
    i want to get only H , I, E,F =====> A
    D,G IS SFG.
    Regards
    ds

  • Error in the result while adding

    Hi
    This is a simple program which repeatedly adds a number once you define the step size of the number. Shift register is also being used. suppose if the no. is 9 and the step size is 1 then the result should be 10, but it is not so. what is wrong with the program?
    Attachments:
    Number addition.vi ‏6 KB

    smercurio_fc wrote:
    It really depends on what you're doing. For a loop that is intended to run for a long time you do not want to have the loop steal all of the CPU processing time. Otherwise the user interface and the OS will become unresponsive. There are times, however, when you would not need to put in a delay, such as using a while loop to create a Functional Global Variable, a.k.a. Action Engine. Or, if the loop is intended to only run for a few iterations (and there's a guarantee that it will break out and not become an infinite loop).
    These use cases have now better workarounds in newer LabVIEW versions.
    Use an event structure for the UI loop. Only spin the loop if things change. Never do the same operations on the same inputs more than once unless you expect a different result every time.
    FGVs no longer need loops at all, we can use globally initialized feedback nodes.
    To guarantee that we don't create an infinite while loop, we use a FOR loop with the conditional terminal and wire a reasonable upper iteration limit to N.
    LabVIEW Champion . Do more with less code and in less time .

  • How to restrict the filename while mail attachment

    While sending mail attachment i used mail.java class is working fine.But while uploading the file name(For example d:users/entry.pdf) is in the above path.At the same time while downloading the same path will be downloaded.Now i want to show the file name (entry.pdf) not a full path...

    String path="d:\\somepath\\somefilename.txt";
    System.out.println(path.substring(path.lastIndexOf("\\")+1,path.length()));This will print somefilename.txt
    Is that what you mean?

  • How to restrict the entries of a database table based on the user name

    Hi All,
    I have created a Database Table. Table maintenance generator is generated for the table.
    UNAME(user name) is one of the fields in the table. whenever the user creates a new entry, the field UNAME will be populated automatically with SY-UNAME value. I have used Table event '05' to do this.
    My requirement is...
    When a user tries to maintain the entries of the table using SM30, when 'DISPLAY' is chosen, all the records of the table should be displayed.
    When 'MAINTAIN' is chosen, only those records which have UNAME = SY-UNAME(User Logged in) should be in EDIT mode. and rest all the records should be in DISPLAY mode(greyed out). It should allow to edit only those records which are created by the user logged in.
    Could you please tell me how to do this..? Thanks in advance.
    Thanks & Regards,
    Paddu.

    HI,
    In table main. gen there are number of events , try to select one event like 05 for the Sy-uname.
    For the  requirement:
    In that event write the code like
    this is basic idea not the code:
    Case ' Sy-ucomm'.
    when 'display'.  " button
       Nomally for the display button it will show all the records, but we need to write a code like this.
    select all records frm the table.
    ( Need to write the code in case if the user first maintained the data then again press the display , list has to be refreshed.)
    when ' Maintain'. " button.
    Fetch the records that are with SY-UNAME and find out the edit function and implement it on each and every record.
    endcase.
    Thanks and Regards,
    Bharani.

  • This may sound goofy but how can i delete ALL the items in my shopping cart

    i would really like to know how to do this so i can start from scratch i printed off all that was in it so i can refer back to it but i want it all gone at once just all of it clicking the x is just too much for me to sit for minutes on end / hours to do just too much in there.
    VV ginaanig

    Try this instead:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. Select the backup volume from the left side list. Click on the Erase tab in the DU main window.
    3. Set the format type to Mac OS Extended (Journaled.)
    4. Click on the Erase button.
    You will need to reconfigure Time Machine preferences for the backup.
    FYI: Never remove Time Machine backup data except through the Time Machine application. If you aren't sure about using Time Machine then visit Pondini's Time Machine FAQ for help with all things related to Time Machine.

  • Restricting the Material while purchasing

    Hi All,
    I have classified all my Raw Materials into 1 Material Type -ROH.
    I have classified Purchasing group as P01 as Raw materials which will be exclusively taking care of Purchasing Raw Materials.
    We have classified Purchasing organizations as 1 Central Purchase Org & 2 Plant Specific Purchase Organizations.
    Now, I want to restrict one Raw material from Procurement for say Plant specific purchasing organization.
    How to address this ?
    Reg
    Sunil

    HI
    I don't think this can be achieved with your suggestion of activating  Plant-Specific Material Status.
    Anyways, Thank You.
    Reg
    Sunil

  • HT1473 i am not able to add mp4 file to itune.What may be the issue.While adding mp4 file i am not getting any error message from itune.Please help.

    I am not able to add mp4 or mov files to my itune.itune is also not throwing any error message,I am bit confused.Which formats of video file can be added to itunes??I have itunes of 11.0.2.26 version and iphone 4s-6.1.3 version.

    I am not able to add mp4 or mov files to my itune.itune is also not throwing any error message,I am bit confused.Which formats of video file can be added to itunes??I have itunes of 11.0.2.26 version and iphone 4s-6.1.3 version.

  • Reflecting the items of second list box based on the chosen item of first list box

    Report Builder Version 6
    i would like to have let's say 2 list boxes in parameter form...say P_EMP AND P_DEPT as the sources...the P_DEPT is on top of P_EMP...SO when i choose a DEPT NO FROM P_DEPT ..THEN respective P_EMP will be displayed...how can i do ?
    i was told that so far in Report Builder is not able to achieve that..
    so i think of designing the parameter form by myself using PL/SQL. But now the problem is how to call the report builder procedure and vice versa ? how to pass parameter to and from report builder to my own-built parameter form using PL/SQL ?
    null

    Design a form wich must replace the parameter form of the report.
    The form can contain different fields for filtering data,fields for type of the report,orientation,destination,etc..
    After the user select the desired fields and press the execute report button you can call a report stored procedure and build a parameter list for calling RUN_PRODUCT.
    Hope this helps.
    null

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Problem to repatraite the items for shopping cart status Held

    Hello all experts,
    In a scenario standalone I have a problem to repatriate the items for my shopping cart that have a status held.
    I verify the data of item and catalog we don't have a difference for pricing product etc ......
    If I repatriate item I see never data for my new shopping cart.
    For other informations status for item is To be Processed.¨
    Please help for this problem for all experts.

    Hello Steve,
    To remove action from specific workitems, you can do this in the UWL  configuration file.
    1) Download the configuration file (in ZIP format). Go to:
    System Administration &gt; System Configuration &gt; Universal Worklist &#38; Workflow &gt; Universal Worklist Administration
    Click to "Administrate Item Types and View definition".
    Then download file 'com.sap.pct.srm.core'.
    2) Navigate to each WI you would like to change:
    - &lt;ItemType name="uwl.task.webflow.srm.TS40007952"... (SC Completion)
    - &lt;ItemType name="uwl.task.webflow.srm.TS40007953"... (SC Approval)
    - &lt;ItemType name="uwl.task.webflow.srm.TS40007954"... (SC Approval)
    3) Within those item types, put a new property to action reference "reject" for 'Actions' definition like below:
    <Properties>
       <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail" />
    </Properties>
    4) Save and upload file again.
    Regards.
    Laurent.

Maybe you are looking for

  • Replacing a battery out side of the US or Europe

    Hi everyone, Hi I am just wondering, what do I do if I need to replace my iPhones battery but I dont live in a country that iPhone is available YET? Could I just simply send it over to the US? Thanks Message was edited by: iPhone

  • LABVIEW VIs STRUCK RANDOMLY

    Hi, I would like to receive few inputs about the issue that I am facing in My Project. Station Details:                       Intel[R]Xeon[R] CPU                       W3530 @2.80GHz                       2.80 GHz, 3.00 GB of RAM LabVIEW Version: LV8

  • Datalist questions(s)

    Hi there, I have a few questions regarding the Datalist function in FC 5.5. Is there a way to change the order of the items, rows in the Datalist? I would like to use a datalist to show viewers newsitems, so it would be nice if the newest post ("row"

  • Idvd burning problems during rendering/encoding

    I have made several attempts to burn a dvd and when it gets to "step2: Menu and slideshow redering and encoding..." it never goes anywhere. If I cancel the process I get and error "error during rendering/encoding. there was an error during rendering/

  • HELP!!! iPhotos automatically delete in FB when i delete from my iPhoto library

    I am currently trying to delete some albums from my iPhoto library and didn't even think that if I deleted them from here they would disaapear from my facebook albums. My album is now still named in FB but does not contain any photos. So here is my q