Quantcast
Channel: discounts - FoxyCart Forum
Viewing all 31 articles
Browse latest View live

Discounts: Percentage Of Total Sale

$
0
0
I have a client that wants to give her customers a percentage discount based on total dollars spent. As they spend more total dollars, the percentage of discount increases accordingly. Not sure what the brackets and ultimately the percentage cap will be, but is there a simple way to make this happen without the customer having to enter a coupon code when they place an order?

Thanks,
BZP

Buy 3 Get 3 Free

$
0
0
Even though this exact scenario is in the Wiki, I can't get it to function and hoping for some help. I'm using FoxyCart 0.7.2 and FoxyShop 4.0.

I'm trying to set up a Buy 3, Get 3 free promotion. Ideally, the person orders three or more (up to however many) and three more are automatically added to the cart at zero cost.

The Wiki states for Buy 3, Get 3 free to use discount quantity percentage and repeat. To use code like this: discount_quantity_percentage=My Discount{repeat|2-100}

So I did this via FoxyShop with this code:

discount_quantity_percentage=My Discount{repeat|4-100.00|7+0.00}

But the outcome was this:

Adding 6, it gave a 16.67% discount on all the products in the cart.

For 5 it gave 20% on all products.

For 4 it gave 25%

For 7 it billed them all regular price.

I contacted FoxyShop and he suggested checking with the forum.

I found a thread for a buy one, get one free and it said to put the product in it's own category and set up a discount that way, but use incremental. Tried that and nothing happened.

Help!

Greater highlight for a discount?

$
0
0
Hi folks --

some background: we're a design firm, doing a site layout, for a developer who's going to be using FoxyCart. Our client likes to run "buy 2, get 2 free" and "buy 3, ship free" promotions. On the examples page (http://www.foxycart.com/features/examples), at the bottom, there are two discount examples, both of which show the discount as a rather small second line below the item name.

I realize that we can customize the look & feel of the cart, but this seems like something that may not be customizable in the way we'd like to -- for example, including text such as "Buy 2, get 2 free offer!", possibly in an additional field somewhere.

Would that be possible? I realize this should be a question for the developer, but first I'd like to get an idea of how easy or difficult the FC community thinks it would be.

Thanks in advance!

Store Credit via Membership Referral

$
0
0
Hey guys and gals,

A client is running an exclusive, membership-only store via WordPress (using foxy-shop!). Members must request an invite (be manually accepted as a member). Once authorized, a member can invite others to the site via twitter/facebook/email. Invited users get instant access.

When an invited member makes their first purchase, the inviter gets a $25 credit.

Initially, I was going to have the store owner manually create a coupon code for each inviter who earns a credit. She really wants this automated in some fashion.

Knowing that we can't yet create coupons via the API, is there any other solution you could imagine?
Is there a parameter I could pass to the cart (besides a coupon code) that would apply a store credit?
Maybe an add-on product that costs $-25?

Thanks for helping me think through this one.

-J

Uh…How do I add a category discount?

$
0
0
I feel like I shouldn't have to ask this, but how do I apply a category discount? I think I've read through all of the relevant documentation, but I don't see any explicit instruction about how to apply the discount to the cart.
Quantity discounts can be applied in two ways: specific to a product, or specific to a category (or categories). If a discount is added to the cart with a product, then the quantity discount will apply to that product and that product only. This is often desired for items that may be ordered in bulk, like screws or other hardware. If a discount is set at the category level, the discount will apply across all the products in the category equally, so category-based discounts work best when the category contains similarly priced items.

It seems pretty clear that I can add a product discount as a parameter in the add-to-cart form on my site, but it's totally unclear how I add a category discount. Can someone give me a nudge in the right direction?

Discount information in JSONP cart

$
0
0
I'm using JSONP to build my own cart interface, which is working well so far. However, I need to display information about the discounts being applied to the items in the cart.

The cart includes a total_discount field, but this is always 0, even when discounts are applied to items in the cart. The cart's total price reflects the discounts, as do the prices of the line items themselves, but it is as if those were the original prices of the products. The only indication of a discount is that the discount's name and amount appear as a key-value pair in each of the products' options. However, this doesn't give me access to the original prices.

Am I missing something here? Or do I have to hack together a way to recover the original prices of the products in my cart?

HMAC when using discount codes

$
0
0
We have just been trying to integrate discounts into products pages. We have enabled HMAC and until now everything has worked as expected.

However trying to add a discount hidden field is yielding no results. If we don't encrypt this field then we get an error on add to cart, but if we do then nothing happens - no discount is added.

Here is the code we are using:
<input type="hidden" name="discount_quantity_percentage[[!FoxyCartEncrypt? &name=`discount_quantity_percentage` &value=`Discount{allunits|0|10}` &code=`ouruniquesku`]]" value="Discount{allunits|0|10}" />

*We have built a MODX wrapper called FoxyCartEncrypt that it basically doing the HMAC encryption and this works on all other fields.

Any clues?

Discount for purchasing 2 specific items, get a reduced bundled price

$
0
0
How can I setup a coupon so that if you purchase Report A and Report B, you get $100 off?
I want to tie it to these 2 specific reports, not 2 reports in quantity (ie any 2 you pick, but rather the 2 that we have chosen to bundle).
Can we do that? HOw?

MODx Integration Question

$
0
0
Hi There,

I'm using MODx and Foxycart together and I have a couple of things that I need to do. I'm not sure if Foxycart will allow me to do it, so any help would be appreciated!

1) First of all, we are a subscription website. When you click a 'join now' link at the moment, then click off and click 'join now' again, it adds two items to the basket (one for the first time you clicked and one for the second). Ideally, we want it to technically clear the basket when they click off? Or just miss the cart out all together. People will only add one product to the basket on our site. Is this possible?

2) Second of all, we are going to be running a large promotion soon where people will receive a £xxx discount off their first quarter subscription via a hidden page. After 3 months, it will go back up to the standard price. So my question is, can you set a different price for the first payment than the others? And if not, is there a way to get a coupon automatically added to the sub that will discount the first month by say, £100 or so?

If it helps, our website is http://www.secretserviceinfo.co.uk

Any help would be great!

Kind Regards
Lewis

Subscription "reward" months

$
0
0
We are considering to offer recurring payment with 6 and 12 month incentives (first five months are billed, 6th month free, next four months billed, last two months free). Apologies if this has been addressed elsewhere but I've not been able to locate.

We do not have a large budget and do not initially anticipate having a large amount of subscribers in the first year or two and as such would prefer a manual method to expensive custom code in the near term.

Thank you!

Calculating Discounts based on Options in the Cart

$
0
0
Hi,

I've got a Product with fairly complex options and discounts which must be applied to conform to reselling T&Cs.
A question in two parts. Theoretical and the Practical.

Theory

I've a very complex table but which distills down to an Option which changes the price significantly and a Discount for > 1 item.
The equation to calculate the price is fairly simple but I think is impossible with Options + Discounts and importantly the order in which these are applied.

I fell into a trap which wasn't immediately obvious in that Discounts apply to Prices. Not to Price+Options Price Modifiers. Is that correct?
E.g. T-Shirt Price = 10.00 XL Option + 2.50 then a Discount Quantity Percent= incremental(2-10)
would result in two XL T-Shirts being reduced as follows - (10+2.50) * 2 = 25.00 THEN apply Discount but this uses Price (10.00). So 10% of 10.00 = 1.00. Total Price = 25.00 - 1.

Point being that Discounts don't operate on 12.50 (Option Modified Price) they operate on 10.00 (Price).
So, Total Price = ((Price + Option Modifier) * Quantity) - Discount based on Price.
I think that is how it works. Which I'm sure is fine for most situations.

Upshot is I think there is no combination of Options and Discounts settings which can accurately get my prices.
But I reckon this will be easy in javascript in the Cart.

Practical

Equation is
if Option 1 is selected
Total = P + (n * 0.202P )
if Option 2 is selected
Total = ( P + (n * 0.202P ) ) * 1.84
if Option 3 is selected
Total = ( P + (n * 0.202P ) ) * 2.78

Where n is quantity of items. P is Price.
In other words, the first item is full price. Subsequent items (quantity) are priced at 20.2% of P. THEN if Option 2 or 3 are selected that subtotal is increased by a Factor.
Easy enough in javascript but I think all but impossible with Options and Discounts.

Summary
Is it appropriate to calculate the price in the Cart using Option simply to pass in 1,2 or 3. And a pointer as to how to get started would be helpful (had a look but all the snippets are for Tax and Shipping etc).

Cheers

Trouble with Quantity Discounts

Custom Shipping Rates & Discount Codes

$
0
0
Hi,

I've two problems I need to solve and the tweet account of Foxycart thought Adam may help.

1. I need to set up custom shipping rates so that shipping is charged at £3.50 for orders totaling less than £50, and free for orders above that.

I've had a look at http://wiki.foxycart.com/snippets/shipping/tiered_flat_rate_shipping but I really need talked through it step by step.

2. Discount codes - e.g. 10% of with this code at checkout. Again, i'd really need talking through this.

I hope someone can help.

Thanks

P.S. This is on a Wordpress Foxyshop install, with a custom, remote template set for checkout, if that helps at all. Hope someone can spare the time to help me out. :)

Buy one get one free

$
0
0
Hello

Simple request. How do I get a discount set up where if you buy any product you get a free specific product. I will be sending a promo via mailchimp newsletter and if it is easier may direct clients to a landing page for that particular offer. I mention this as would it be possible to embd the offer in the landing page or do i still have to set up the coupons in foxycart. Many txs.

Ismail

Foxyshop Payment Plan

$
0
0
Hi guys,

I am using Foxycart and I have some questions. The website is created with Wordpress and I used the Foxyshop plugin. I would like the user to be able to choose from when they make a payment:
Option 1 : Pay in full (15% discount) $297.50
Option 2 : Payment plan (5% discount) $111 deposit / $119.50 on X date / $119.50 on X date
Option 3 : 20% deposit of $70 (0% discount) - balance due when item is ready to ship

Can they have three payment plans to choose from ? For each product or per order ? I read about Subscription Product Options and Product Discounting Options in the Foxycart wiki, but still cannot combine them as the options above. I know that @sparkweb built the Foxyshop plugin and maybe he can guide me or tell me how much of this is possible and how limited I am on doing this.

Discount Code for 1st item for free, 2nd item is at normal price

$
0
0
I'm trying to set a Discount Code so that 1st item is free, while the subsequent products are at normal price.

If I do this 1-100|2-1 (Discount percentage based on quantity), it only discounts it a few pennies. If I do 1-100, all subsequent products are free also.

Discount Syntax Correct?

$
0
0
We are trying to put in a discount for purchasing 2 or more of a product. I've reviewed the language on the FoxyCart wiki, and I want to verify this is the right way to reflect this.

If the user buys 2 or more of this product, each product will $2 off. What was originally $20, will be $18 for every unit in their cart, as long as they have 2 or more:

discount_quantity_amount=2 or More Discount{allunits|2-2}

How are valid dates determined for coupons?

$
0
0
I imagine the web user's time zone is used.

But just wanted to make sure it's not the host website's server time, or the foxycart server's time.

In other words, if it is noon for a customer in California, and the coupon expires at midnight, then it already expired an hour ago for customers in Taiwan, right?

Thanks!

Custom Discounts For User Types?

$
0
0
We have a network of dealers that will be using the website to buy items just like regular customers. Is there a known way to create "dealer discounts" that would apply to certain users but not to everyone? This is a Wordpress based foxycart/shop experience.

You can see it here: (still finalizing)

http://nem-ind.modwest.com

For example:

Dealer A creates an account, or we create it for him. He is eligible for a 15% dealer discount. Without having to manually enter the discount...could we set things up so that Dealer A would always get the 15% discount when logged in? Like a user group. User group Dealer 15 would always get 15% off...User group Dealer 20 would always get 20% off....

Thanks in advance!!!!

XML datafeed and discount total

$
0
0
I'm looking at a sample datafeed and I see a discounts/discount fields - is there a situation when I would have multiple discounts? And also is there a discount_total field of some kind? I am not seeing that on the sample feeds. I need to show the discount total on my custom receipts and trying to figure out if I need to make logic for multi discounts. On that note I don't support there is an easy way to view my own xml feeds besides saving them server side huh?
Viewing all 31 articles
Browse latest View live