kirilisa Posted March 7, 2007 Posted March 7, 2007 Hello, I've just made a new shop. The purpose of this shop is entirely for digital downloads of music etc. Given the rather awkward way that putting in downloadable stuff is (via creating download - yes' in product attributes), I am very surprised to notice something: when I add a song to my cart and checkout, it skips the 'delivery information' step and goes straight to payment information'. This is a *good* thing for me, given that my stuff is always purely digital. But my question is, why does this happen? What did I inadvertantly set that makes it know that this is only downloadable? How would I set this on purpose for all the digital items but make sure that in the future if I do have tangible items that need to be posted, it isn't going to skip the delivery info? Is it the fact that I have, in Products Attributes, linked the item to a filename? [it can't be the Product Options/Values because that wouldn't be consistant from user to user since we get to choose what it is called.] Anyway, what if you had an item that could either be downloaded or not (i.e. you had Option Download and Values Yes or No). Is it because I gave the item 0 weight? (Doubtful). Anyway, I'd really like to understand how/why this works so that I can use it to my benefit in the future. I did a few quick tests but came up with nothing conclusive so I was hoping someone knew the quick answer. Thanks!
kirilisa Posted March 7, 2007 Author Posted March 7, 2007 I did more tests. It definitely seems linked to whether or not you have attached the item to a Product Attribute that is linked to a file. I made a Download Option with values Yes and No and to my great amusement when I picked Download - Yes and checked out it skipped over the Delivery Info page, but when I picked DOwnload - No and checked out it did include the Delivery Info page. This is of course all well and good, and it wouldn't surprise me except for the fact that *I* am the one who made an Option called Download with Values Yes or No. Given that these words should be meaningless to OSCommerce since I am the person that invented them in my Product Attributes settings (i.e. I could have instead had Option DoYouWannaDownload with Values DownloadME and DoNotDownloadME instead of Download -> Yes and No, which would be truly meaningless to OSCommerce) Or is this just such an obvious Otpion/Value set that it is automatically coded in there somewhere? Sorry for harping on this but I'd like to understand why it works. I ain't complaining!
Guest Posted March 7, 2007 Posted March 7, 2007 It happens because you don't have a shipping module activated. If you turn on a shipping module under admin / modules /shipping then it will bring up that page. Hello, I've just made a new shop. The purpose of this shop is entirely for digital downloads of music etc. Given the rather awkward way that putting in downloadable stuff is (via creating download - yes' in product attributes), I am very surprised to notice something: when I add a song to my cart and checkout, it skips the 'delivery information' step and goes straight to payment information'. This is a *good* thing for me, given that my stuff is always purely digital. But my question is, why does this happen? What did I inadvertantly set that makes it know that this is only downloadable? How would I set this on purpose for all the digital items but make sure that in the future if I do have tangible items that need to be posted, it isn't going to skip the delivery info? Is it the fact that I have, in Products Attributes, linked the item to a filename? [it can't be the Product Options/Values because that wouldn't be consistant from user to user since we get to choose what it is called.] Anyway, what if you had an item that could either be downloaded or not (i.e. you had Option Download and Values Yes or No). Is it because I gave the item 0 weight? (Doubtful). Anyway, I'd really like to understand how/why this works so that I can use it to my benefit in the future. I did a few quick tests but came up with nothing conclusive so I was hoping someone knew the quick answer. Thanks!
kirilisa Posted March 7, 2007 Author Posted March 7, 2007 It happens because you don't have a shipping module activated. If you turn on a shipping module under admin / modules /shipping then it will bring up that page. But I do have a shipping module activated, that is, I have the Flat Rate module activated. And as I noticed earlier, when I had an item that wasn't linked to a file in the Product Attributes, it did go to the Delivery Information page and showed the flat rate option.
Guest Posted March 7, 2007 Posted March 7, 2007 Digital goods are sent without the request for shipping information. I don't understand the concern here because when they create an accout they give you their information anyway so its not like you are not getting it, it is just not making them reconfirm it. Please explain the problem short and sweet I don't need a book. But I do have a shipping module activated, that is, I have the Flat Rate module activated. And as I noticed earlier, when I had an item that wasn't linked to a file in the Product Attributes, it did go to the Delivery Information page and showed the flat rate option.
kirilisa Posted March 7, 2007 Author Posted March 7, 2007 Digital goods are sent without the request for shipping information. I don't understand the concern here because when they create an accout they give you their information anyway so its not like you are not getting it, it is just not making them reconfirm it. Please explain the problem short and sweet I don't need a book. Never mind. I wasn't having a problem per se (as I indicated in my 'book'), I was just trying to understand why something worked the way it does. I did a couple tests and figured it out. There isn't any need to be sarcastic. If you think my question is a waste of time, just don't answer it.
Guest Posted March 7, 2007 Posted March 7, 2007 Not being rude and I am sorry if you think I was. In definition it is an if/else statement in php that looks at cart content. If product is digital then skip shipping, if product is not digital show shipping. Now of course the php code isn't if lalala it is EX ONLY: <?php if cart == digital; echo'skip shipping'; else echo'shipping'; ?> That is an example for the sake of explaination. Never mind. I wasn't having a problem per se (as I indicated in my 'book'), I was just trying to understand why something worked the way it does. I did a couple tests and figured it out. There isn't any need to be sarcastic. If you think my question is a waste of time, just don't answer it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.