Discount Code for Single Product

Is it possible to create a discount code for just a single product? I know I can do it for a single catalog - but hoping I can do it on single products, too.

I've had to display two BC catalogs on one page whenever clients request this, which seems to be a common request. Often clients want one page displaying two different catalogs side by side.
You can accomplish this with jQuery.
Set up an empty div on the page that will hold the catalogs...
<div id="the-catalog-1"></div>
<div id="the-catalog-2"></div>
Then include a script so jQuery will use Ajax to load in the normal BC catalog page from the BC server and insert it into the div on your page...
<script type="text/javascript">
$('#the-catalog-1').load('/promotional-items div.shop-main').slideDown();
$('#the-catalog-2').load('/promotional-items/t-shirts div.shop-main').slideDown();
</script>
In this example I'm pulling a parent catalog named /promotional-items and reading only the content from that BC page that is within its div having class="shop-main"
jQuery will let you load only part of the content from the BC catalog page, in this case, I only wish to load the catalogs and/or products displayed within the div class="shop-main" in order to avoid loading the entire catalog page which of course would include the page template which I don't want.  I only want the part of the page in which BC is using the BC catalog layout or small product layout to list catalogs/products, eliminating the normal page template it displays within. For docs see "Loading Page Fragments" on the jQuery documentation page for the load command here: http://api.jquery.com/load/
In #the-catalog-2 in the example I am loading the products displayed within the t-shirts subcatalog off the promotional-items catalog.
You would likely need to set some CSS to set the width and perhaps height of #the-catalog-1 etc. although in my example I have no height so nothing is displayed until the catalog page loads and then I'm using a jQuery slideDown() to slide the div open and down with the content in it.
Of course in order to run jQuery code you site needs to load jQuery in your page template etc. If you don't know how to do that there are instructions on my site:
http://www.atlantawebdesignga.com/_blog/Adobe_Business_Catalyst_Developer/post/Loading_jQu ery_-_Loading_Latest_jQuery_-_Test_If_jQuery_Loaded/

Similar Messages

  • Determine of Tax Code for Country/Product Category - Table handling

    Dear Experts,
    in SRM 7.0, CS, i am facing the following requirement regarding tax codes:
    We have users from different countries using SRM. These different countries have different tax codes that are to be used for legal reasons.
    My question is, how i can achieve a system behaviour, by which in the shopping cart, the correct tax codes gets selected automatically, based on the country of the user, who is creating the shopping cart.
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Thank you very much for your help in understanding the topic.

    Hi
    Here are my responses to your questions:
    Question 1:
    Is it correct to assume, that this requirement can be achieved by maintaining the "Determine of Tax Code for Country/Product Category" - Table?
    Answer -  If you have a requirement where different countries have different tax codes, then you do need this confiugration. Otherwise Configuraiton in Enter Tax Code  are sufficient.
    Q2:
    What is the purpose of the 1st column of the above mentioned table, "Domestic/International Indicator"? Can it be left blank?
    Answer - Sometimes you have different codes for International and Domestic purchases for a product Category. IN those situations you can select Domestic/International field to differentiate btw tax codes. Otherwise this field can be left blank
    Q3:
    Is it possible to fill in the values for the field "Country" BUT to leave the field "Category ID" empty???The reason for asking it, that otherwise several hundreds entries would have to be maintaind manaully...
    Answer - No, if you enter country, then Category Id field is mandatory. You may enter * in case you dont have multiple backend systems. otherwise you will ve to ve individual entries for each category and backend system.
    Q4:
    From where in the shopping cart or ppoma settings is the system fetching the Country code, in order to be able to use it in the table? Is there any specific attribute maintenance that has to be taken care of, so the above mentioned table can be used (e.g. delivery address, including the country information)?
    Answer - It is picked up from the address of the user where is will receive goods. and Domestic/International will be decided based on Vendor address with reference to thta address.
    I hope my responses clarify your doubts.
    Regards
    Virender Singh

  • Process Code for Outbound Production Order??

    Does anybody know the Process Code for Outbound Production Order??
    BASIC Type : LOIPRO01
    Message Type : LOIPRO
    Regards,
    Ravi

    Hi Everybody.
    There's no standard process code for LOIPRO Outbound Idocs.
    This Idocs are threated as master data info, and could only be automatically generated by Data Distribution Model.
    BD64.
    Anyway, you can define your own Outbound Process Code in WE41 using CLOI_MASTERIDOC_CREATE_LOIPRO FM.
    You can choose.
    Regards.
    Albert.

  • Discount codes for web forms

    Question:
    I have been using two web forms to allow access to a secure zone. Of them, one is for the trial user access and another is for the paid user access.
    The problem is: Can I use discount codes for the secure zone access? I can't see the way of integrating eCommerce discount codes with web forms.
    Answer:
    Discount codes don't actually work with secure zone access since you have to accept payment through web forms. However, I hired an outside developer to write some code for me, which I don't mind sharing:
    Put this in the Head of your document:
    <script type="text/javascript">
    function refreshAmountToCharge() {
    var frm = document.forms[0];
    var defaultAmountToCharge = 100;
    var couponCode = "ABC123"; // A tribute to Michael Jackson...
    var percentOff = 50;
    var couponCode2 = "DISCOUNT2";
    var percentOff2 = 67;
    var couponCode3 = "DISCOUNT3";
    var percentOff3 = 99;
    var couponCode4 = "DISCOUNT4";
    var percentOff4 = 75;
    /* Fixed amount coupon c*/
    var fixedCouponCode1 = "FIXED1";
    var fixedAmount1 = 20.00;
    var fixedCouponCode2 = "FIXED2";
    var fixedAmount2 = 6.00;
    var fixedCouponCode3 = "FIXED3";
    var fixedAmount3 = 7.00;
    var amountToCharge = defaultAmountToCharge.toFixed(2);
    if (frm.couponCode.value.toUpperCase() == couponCode)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode2)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff2 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode3)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff3 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode4)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff4 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode1)
      amountToCharge = (defaultAmountToCharge - fixedAmount1).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode2)
      amountToCharge = (defaultAmountToCharge - fixedAmount2).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode3)
      amountToCharge = (defaultAmountToCharge - fixedAmount3).toFixed(2);
    frm.Amount.value = amountToCharge;
    // ----------- End Coupon Code Javascript ---------------------
    </script>
    Then, you'll need a Coupon Code field in your form:
    <div class="item">
        <label for="couponCode">Coupon Code</label><br />
        <input type="text" name="couponCode" id="couponCode" class="cat_textbox" />
        <a href="javascript:refreshAmountToCharge()">Update</a>
    </div>
    That's it. Let me know if you have any questions. You can set multiple codes, either percentage based or fixed amount. Experiment with it to make sure it works as expected.

    This is great Mario! Thanks so much for sharing. It works very well.
    One thing I want to add is a validation for the coupon update action. If the coupon is no longer valid or entered incorrectly, a message would be great, because the person might no even notice the fact that the amount did not change even though they think they entered a valid discount code.
    Sean

  • HT201209 I am ebook retailer. How do I set up a redemption/discount code for my ebook?

    I am ebook retailer. How do I set up a redemption/discount code for my ebook?
    I would like offer limited discounts on limited quantities.

    Unless it's a textbook or other book eligible for Apple's Volume Purchase Program for educational institutions, I don't believe you can, but you can contact Apple and ask.
    [email protected]
    Regards.

  • T code for material production and production

    Hi,
    Could any one please tell me the *t-code* to find out monthly/ daily material wise production and consumption report in value and qty as well
    Regards / Ashok verma

    Dear Ashok Kumar,
    Check the reports,
    MCP3,MCPM - for the actual production happened for a period,you can get it daywise for any product.
    MCRP,MCP6,MCRE - Actual consumption of materials during a period for production.
    MB51 - you can get the list of 201 movement(In case if any material is issued against cost center).
    Check and revert back.
    Regards
    Mangalraj.S

  • OK CODE FOR SINGLE CLICK IN DYNPRO

    HEY GUYS,
    CAN YOU PLEASE TELL ME WHATS THE OKCODE FOR SINGLE CLICK.
    IF I MAKE SINGLE CLICK IN TABLE CONTROL COLUMN HEADER ITS NOT GOING TO PAI FLOW LOGIC.
    PLEASE SUGGEST ME ..HOW TO GO WITH PAI USING SINGLE CLICK ACTION WITH TABLE CONTROL COLUMN HEADER.
    IS THERE ANY FUNCTION CODE I HAVE MAKE TO ON READY TO STATUS AT TABLE CONTROL COLUMNS.
    THANKS IN ADVANCE.
    AMBICHAN

    Hi Chan,
    Instead of Single click better u can handle trying Double click...  Then PAI will definitely be triggered..
    Regards,
    Sridhar

  • Posting multiple tax codes for single line order in MIRO

    Hi all ,
    I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
    This apparently can be a possibility for such things as training.
    I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance  / etc..

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • Determine tax code for country/product category

    Hi all!
    We try to define a specific tax-code for a specific product group. However, this does not work for any product group we are testing - we need to have the product group field blank (no entry). If the field is blank the tax determination is correct.
    I know that product group must be assigned with a country key - but we have tried this and all other combinations, without success.
    Any suggestions?
    brgs ziggy

    Found the reason. Link to source system was missing, as product group was entered manually. Search and select product group using F4 !

  • How to configure Two Tax Codes for single line item in work order

    Hi All,
    Please do Review the below scenario and tell me how to solve it.
    A) Certified Work Done Gross Bill Amt      100,000      
    Total Work Done Value      100,000      
    Less : Labour & Like Charges @ 30 % on Rs 100,000 =  30,000      
    Vat applicable Amount =      70,000      
    Add VAT @12.5%  Chargeable on Taxable Turnover of Rs. 70,000.00     = 8750
    Total Bill Value = 108750
    Service Tax @ 12.36% on 33% Value of Rs. 100000     = 4079
    G.Bill Amt = 112829
    Total Amt Due for Payment = 112829

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • Code for  single button which acts for add,find,update

    I have created one btns- (acting for add,find, update etc having same unique id )using VB.NET code.I want to write code according to the captions of the button...I mean for diff caption of the btn , diff action should perform?
    So , plz anyone tell me how to code for it using VB.NET(for Business One)
    Thnxs in advance..
    Chetan

    Chetan,
    You have posted your question in the SAP Business One integration for SAP NetWeaver forum.  Your question relates to the SAP Business One SDK and you need to post your question in the SAP Business One forum.  You should get a response by posting it in that forum.
    Eddy

  • UIX Sample code for Single Selection Radio Button PPR??

    Does any one have a sample UIX code/page that does PPR for a single selection in a table?
    e.g On the top of teh page there is a table with a radio button single selection. Depending upon the selection in the main table the bottom page will render another table.
    Please email the sample code at [email protected]
    Thanks,
    Akshay

    Does any one have a sample UIX code/page that does PPR for a single selection in a table?
    e.g On the top of teh page there is a table with a radio button single selection. Depending upon the selection in the main table the bottom page will render another table.
    Please email the sample code at [email protected]
    Thanks,
    Akshay

  • I purchased a lightroom 4 on disc several years ago. In 2013 I again purchased the upgrade to Lightroom 5. Later I was sent a free upgrade of lightroom 5. I have all the activation codes for those products. Unfortunately the original disc has been misplac

    I purchased a lightroom 4 on disc several years ago. In 2013 I purchased an upgrade to lightroom 5 via a download. I have all the activation codes. I uninstalled lightroom from my old laptop and now want to download it to my new laptop using windows 8.1.
    Where do I go to download already purchased and paid for copies of lightroom 5. I can put the verification codes when payment is requewsted. HELP!!!

    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Adobe Muse CC trial has expired and now I cannot enter a activation code for the product

    I installed Muse and the original instructions I obtained from my corporate office stated to use the enterprise key for our Adobe package and then accept the trial for Muse. The trial version of Muse has expired and I have a serial number but I can not input it. my options are listed as "buy" or "sign in" if you select "buy" then your are taken to the Adobe website. If you sign in you are prompted to "buy or continue the trial, and if you select continue it states that the trial has expired and sends you back to the screen that tells you to buy the software again. How can I get to input the serial number?

    Hello Aiva,
    If you have a creative cloud enterprise serial key, you can serialize Adobe Muse using that serial key and suppress sign in too (Muse CC 2014 64 bit). Please follow the steps mentioned in link below to serialize Muse CC 2014.
    Serialize Adobe Muse : http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html
    Suppress registration : http://helpx.adobe.com/creative-cloud/packager/installing-products-exception-folder.html
    Hope this helps.
    Thanks,
    Ashish

  • I can't get my serial code for cs6 production premium student edition because site is temporarily unavailable

    i just bought the student version of cs6 for mac and i can't install it because the site where i put my activation code and student identification in (customer support portal) is unavailable from october 9th to the 14th... but it is august. i need this for school so i would really appreciate it if some one could help me out.
    here is the site
    Adobe - Site Area Temporarily Unavailable

    I have the same issue in germany ....
    Any Ideas?

Maybe you are looking for

  • How to use TIMS type KF

    Dear all     Check in RSD1 the TIMS type KF is stored as char 6,     but in library , it is said stored as char 8.     Now i can see the value in the kf in cube: 04:00:00     but display at query as: 64200.00     Any guidance is greatly appreciated!

  • User exits in transaction ML84

    Hi everybody, we would like to add additional fields to transaction ML84, both for selection of data (additional parameters, eg. order number) and in the list. I did not find any suitable enhancements in SMOD. Is this possible without modification of

  • Nokia 6233 - Restarts automatically

    I need help with my fone: I recently bought this phone during christmass 2006, i noticed that everytime I play music the fone suddenly restarts without any warning. I'm not sure if it's only the music which causes this but thats when i only seen it h

  • Spurious VIs linked to button ?

    Working with LabVIEW7.1 I encountered the most puzzling fault, which I would very much like to understand the source of it, as well as find a suitable bypass. The basic problem I was dealing with is identifying the type of some refnum. This was done

  • Does Time Machine make back-ups when nobody is logged on?

    Hello, Does Time Machine make back-ups when nobody is logged on and does it continue to back-up when I log off? I'm using an directly connected external hard drive to back-up my data with Time Machine, the back-ups are encrypted. Thanks in advance.