• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Discount Code for Single Product

New Here ,
Aug 06, 2012 Aug 06, 2012

Copy link to clipboard

Copied

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.

TOPICS
eCommerce

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 06, 2012 Aug 06, 2012

Copy link to clipboard

Copied

Hey there,

Not at the moment no. You would have to have a unique catalog and place that product into it to be able to offer a discount for logged in users on that product or discount code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 07, 2012 Aug 07, 2012

Copy link to clipboard

Copied

OK - so trying to figure out the best way to fix this. The client has to use a discount code on a particular product to be in compliance with the manufacturer's guidelines. So what I've done is add this product to it's own subcatalog (Vitamins - Sale, root catalog is Vitamins). Is there any way to display products from the root catalog (Vitamins) and subcatalog (Vitamins - Sale) together on one page?

Thanks Liam for your help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Aug 08, 2012 Aug 08, 2012

Copy link to clipboard

Copied

There's no way to display products from different catalogues on the same page, at this stage.

-mario

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 08, 2012 Aug 08, 2012

Copy link to clipboard

Copied

Not out of the box in a true sense, but you can.

You kind of do though Mario if you have everything in the parent catalog and then have them also in the subcatalog. All will show under "Shop" if added into it for example.

IT not the mix and match as above but if added to the parent they will show up.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 11, 2012 Aug 11, 2012

Copy link to clipboard

Copied

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_jQuery_-_Load...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

Thanks for your thorough reply. Just to tell you what we did to fix - we added the product to it's own catalog and then did a java redirect to send customers form the non-sale item that lived in the existing catalog to the sale item that lived in it's own new catalog. It worked for our purposes and was fairly straightforward. Hope both of our solutions help someone else out there!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2012 Nov 29, 2012

Copy link to clipboard

Copied

LATEST

I know this thread is several months old, but I need to do the same thing for my client - apply a discount code to just one product.  I think a solution may be to add the product to a second, disabled, catalog as well as the original catalog.  Then apply the discount code to the disabled catalog only. 

I may be misunderstanding something, but when I tried this, it appears to apply the discount (20% in my case) only to that one item in my cart.  Does anyone see a problem with doing it this way?  Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2012 Aug 21, 2012

Copy link to clipboard

Copied

That means it is not managble by clients on love sites though. They are stuck with that and can only request the developer to increas, change or adapt that implementation.

At very least with that concept you would use, say a dynamic menu or catalalog list dump to pick up the URL and form the output. Menu likely hidden a dn only used so the client can control. A nice web app integrated as well can allow more functionality and client managble.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines