20 replies [Last post]
jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21

HI. I have been reading tons of posts in this forum and at drupal, and I can't tell if any of the patches/solutions found would help me with this.

Basically, I have products that can be both downloaded(pdf) or shipped(printed material). I set up the product to have attributes so the user can select download(pdf) or ship (printed material). The problem is, that when two different items are added to the cart, one downloadable and one shipped, the user get a file download email with both links to the downloadable files when they should just have one.

Cart:
Product A - Download
Product B - Ship

Download File Access Email:
Link to Product A
Link to Product B

Download File Access Email Should be:
Link to Product A

Is there any way with conditional actions to have the email / file access for just products with a certain attribute using you own php code? The problem is, with the predicates options that are there, it just checks to see if an order as a whole has that attribute option in it "Order has a product with a particular attribute option". Can it check if a product of an order has a certain attribute option, then only email the file associated with that product/attribute/option only? Is there another work around with out making separate product listing, one for download, one for shipping?

Thanks for the much needed help.
Jesse

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Conditional Actions with File Downloads and attribute option

It sounds like you are using the same SKU (model number) for both attributes. If you click on the Adjustments tab for your product, one should have a different SKU from the other, so that the system knows which one is shippable and which one isn't. Then you'll need to go back and make sure your file download is only associated with the download and not the shippable product.

--
Help directly fund development: Donate via PayPal!

jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21
Thanks

Great. Thanks so much for getting back to me so quickly. I will try that out.

Thanks again,
Jesse

jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21
how?
torgosPizza wrote:

Then you'll need to go back and make sure your file download is only associated with the download and not the shippable product.

How do I do this part? If I set the sku for the attribute different, then use that sku for the downloadable file in the features area, it should only send that file correct?

Thanks so much.
Jesse

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Exactly! 1. Add your

Exactly!

1. Add your attributes and options.
2. Edit your Adjustment SKUs. You'll want one to be shippable, and the other to be non-shippable.
3. Associate your File Downloads (adding a new one, or Editing existing ones) to only associate with the non-shippable product. You can also uncheck the box that says "shippable product" to override any shipping details for that product - that way your customers aren't charged for shipping if they buy a digital download!

--
Help directly fund development: Donate via PayPal!

qrandle's picture
Offline
Joined: 02/16/2009
Juice: 132
Download AND shippable

Okay, so I'm doing the above. Now I have a downloadable product that also has a shippable option. Then can order the download and a CD if they want to. The CD is a second option. But I check on the "shippable product" when I set up the features of the downloadable product associating the SKU with a file download, but not matter what I do, it still won't ask for shipping info

Shippable product
Check if this product model/SKU file download is also associated with a shippable product.

Am I making sense? In other words, the product is downloadable in general. That's all working great. But there is an option where they can choose to also receive a CD. Under that option I have added a weight of 5 ounces. I've also clicked on the box mention above under features. But still I can't get shipping to trigger.

What am I missing?

Quint

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Download AND shippable

If you create a test product that is only a shippable product, and not associated with a download, what happens at checkout? What shipping methods--usps/ups/fedex/etc are you using?

bigheadis's picture
Offline
Joined: 12/17/2009
Juice: 14
Shipping costs being applied to downloadable products.

We're using the "flat-rate" method to apply shipping costs on a value-based schedule (e.g., $10 shipping for orders less than $50; $15 for orders $50.01-$75; $20 for orders greater than $75). We have a combination of shippable and downloadable products, but the shipping charges are being applied to the order total and not just the total of shippable products.

How can we overcome this?

Thanks - Teddy

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Shipping costs being applied to downloadable products.

What happens if you put only downloads in the cart, is shipping applied to that order?

Also, I don't really understand your shipping set up here, it seems like you're assuming at $50, it costs you $15 to ship goods, but I don't understand how you can assume $ in products = $ in shipping, as shipping charges vary based on weight, shipping address. Furthermore, most stores offer discounts on shipping for purchasing more, not raising the prices for purchasing more, which I guess is why you're looking to limit the shipping charges to just the shippable goods, so as to encourage users to buy more downloads.

But, if you want to base shipping cost on price of shipped goods, seems like you should be able to create a conditional action that would meet your needs, what part of that process in particular are you having trouble with.

bigheadis's picture
Offline
Joined: 12/17/2009
Juice: 14
Re: Re: Shipping costs being applied to downloadable products.

Thanks for taking the time to respond.

Of course, what you say about the shipping rates makes sense, but I didn't set them, client did Smiling.

Let me re-explain the issue, because it's a little more complicated than how I first explained it. We have products that are available as both hard and soft copies (think cd and digital download). We added these as 'attributes' to a product, so the client can choose whether they would like the hard copy delivered or the immediate download.

If the customer chooses download, we haven't been able to figure out how to eliminate the shipping charges for that (since the shipping is value-based and not product-based or other I'm assuming).

Does that help clarify?

Uberchic's picture
Offline
Administrator
Joined: 08/29/2008
Juice: 754
Re: Re: Re: Shipping costs being applied to downloadable product

I think I'm more clear, but I am still curious as to what happens when each of the three types of carts checkout:
type 1: cart with only cd's in it.
type 2: cart with only downloads in it.
type 3: cart with both types of product in it.

Do any of these cart types check out like they should? If we can identify what's working, it will be easier to figure out what to fix.

One last question, are you using a different sku from the cd for the download, as mentioned above?

bigheadis's picture
Offline
Joined: 12/17/2009
Juice: 14
Re: Re: Re: Re: Shipping costs being applied to downloadable pro

Cart with only CDs charges appropriate Shipping. Everything else charges incorrectly. I'll have to check on the SKU's. I forwarded this thread to my developer hoping he would help chime in, but he must not be awake yet Smiling. Let me check the other settings.

jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21
Re: Re: Re: Re: Shipping costs being applied to downloadable pro

I am doing the same thing except with sheet music. Sheet music that is printed gets charged shipping and sheet music as pdf's that are download do not, even in a mixed cart.

On the product tab, "Product and its derivatives are shippable." should be checked.
On the adjustments tab, make sure the sku that has the download is different.
On the features tab, make sure you select the sku for the download only, and "shippable product" is unchecked.

Hope this helps some.

bigheadis's picture
Offline
Joined: 12/17/2009
Juice: 14
Re: Re: Re: Re: Re: Shipping costs being applied to downloadable

Thanks! Will check that. Are you using the same type of shipping?

jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21
Re: Re: Re: Re: Re: Re: Shipping costs being applied to download

yup flat rate

bigheadis's picture
Offline
Joined: 12/17/2009
Juice: 14
Re: Re: Re: Re: Re: Re: Re: Shipping costs being applied to down

Thanks to both of you. I'm going to pass this info on to our programmer and/or get him involved in this thread once he gets online.

I really appreciate it!

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Hi Jessemd, That helps a lot;

Hi Jessemd,

That helps a lot; the 'shippable product' wasn't set.

I've updated it, but now when the customer purchases the file by credit card he doesn't recieve the download until the order status is set to 'Complete' (paying by credit card sets the order status to 'Payment Received').

Any ideas how to fix that one?

Regards,

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

jessemd's picture
Offline
Joined: 05/31/2009
Juice: 21
Re: Hi Jessemd, That helps a lot;

Yes, just use ubercart actions to set the Payment Received to complete. Then it will send the file. You can set an action that best fits your situation.

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Re: Re: Hi Jessemd, That helps a lot;

Looks like that's done it - running a full suite of tests now.

Thanks!

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Problem with getting notification

I've been testing this, and the problem I have is as follows;

We have a product A, which can be downloaded or shipped.

The product A is set up as 'Product and its derivatives are Shippable', and then I have two SKUs - SKUa and SKUaD, where SKUaD is the downloadable version.

The definition for the file download sets the filename, and unchecks the option 'shippable product'.

When I order this product with a credit card, the item is set to 'Payment received', and so the files notification email is not sent out. When I check the invoice, it says that the file is delivery: Download, but also says 'Standard Delivery'.

How do I use conditional actions to send out this file? I can use CA to set the status to Complete, but that would then mean that shippable items are set to complete as well - which will make daily order maintenance horrible..

I'm willing to take this offline and pay for a solution if that's what I need to do... we need to have this sorted.

Regards,

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
All sorted now. I binned

All sorted now.

I binned Ubercart, reloaded a fresh copy, re-integrated my changes, and everything is good.

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com