Forums / Setting Up Categories, Products, Attributes / Setting up attributes for download files

Setting up attributes for download files

Locked

Views: 1,196

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
17 Aug 2010, 4:22 AM
#1
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

Setting up attributes for download files

I am trying to set up some downloadable products, I am using 1.3.9e, I successfully set up a test file and created the option name of 'Downloadable File, option type 'checkbox' and the product was created as a free product. I was able to complete the transaction and download the file.

So I created a file I could purchase, I have my paypal express checkout module installed and all the configuration information entered correctly. When I went to the attributes controller, and selected the new product, then I selected the option name already defined 'downloadable file, I left all the other radio buttons at their default value, and did not enter any price adjustments. When I insert the attribute IT does not apply it to the item. I tried changing some of the radio button options and repeating the steps with no luck, finally I did not select an Option Name and it worked so I had the new product with the attributes set. Only problem is when I purchased it from my store using PayPal Express Check out the transaction was completed and no download button to download the file. This I think is because of no Option Name in the attributes. So I guess my question is do I have to have a different Option name for each downloadable file I want to list, and if not what am I doing wrong so that the attribute will not attach to the file when I use the defined 'downloadable file' option name. I have the Zen-Cart book and it just doesn't explain this very well.

Please help

Thanks
bryan:frusty:

17 Aug 2010, 4:53 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Setting up attributes for download files

Login as the customer and check in my account

Zen-Venom Get Bitten

18 Aug 2010, 2:10 AM
#3
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

Re: Setting up attributes for download files

I did that, when the download button was not there when I returned from PayPal.

Any other ideas?

bryan

19 Aug 2010, 12:52 AM
#4
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

Re: Setting up attributes for download files

I am trying to set up some downloadable products, I am using 1.3.9e, I successfully set up a test file and created the option name of 'Downloadable File, option type 'checkbox' and the product was created as a free product. I was able to complete the transaction and download the file.

So I created a file I could purchase, I have my paypal express checkout module installed and all the configuration information entered correctly. When I went to the attributes controller, and selected the new product, then I selected the option name already defined 'downloadable file, I left all the other radio buttons at their default value, and did not enter any price adjustments. When I insert the attribute IT does not apply it to the item. I tried changing some of the radio button options and repeating the steps with no luck, finally I did not select an Option Name and it worked so I had the new product with the attributes set. Only problem is when I purchased it from my store using PayPal Express Check out the transaction was completed and no download button to download the file. This I think is because of no Option Name in the attributes. So I guess my question is do I have to have a different Option name for each downloadable file I want to list, and if not what am I doing wrong so that the attribute will not attach to the file when I use the defined 'downloadable file' option name. I have the Zen-Cart book and it just doesn't explain this very well.

Please help

Thanks
bryan

I am reposting this hoping that someone might be able to help me with this issue.

Thanks
Bryan

19 Aug 2010, 4:11 AM
#5
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

Re: Setting up attributes for download files

I am attempting to setup virtual products for download. I have read and re-read chapters 13 and 14 of the book, and this is what I am doing...

the product is defined as a virtual product in the store,

I then go to the Option Names and enter the following?
'Pattern File', and choose Checkbox under Option Type and Insert it.

I have tried to add Option Values and always get the error screen telling me to press the back button and make sure I have not left any fields blank. So since this never works, I select Attributes Controller and select the area of the store my product is located in.

the screen loads and I choose the product I want to attach the attribute to. and click Display. So there are no attributes attached to this product yet so I scroll down and select the Option Name I defined 'Pattern File' the box to the right of this is for the Optional Value it collapses. So I have no Optional Values to select.

I then scroll down to the bottom of the page and select the option to Default Attribute to be Marked Selected: 'YES' and I enter the file name that I uploaded to my <zc_home>/download folder, I have done this numerous times and checked my case and exact spelling of the file which in this case is '3spcone.zip' I then click Insert. the attribute does not get attached, I have no idea what is wrong. Now if I skip selecting an Option Name and just select
Default Attribute to be Marked Selected: 'YES' and enter the file name and Insert, it works I get the attribute linked to the file and the file appears in the Download Manager. In the Payment Module under the Zen-Cart Free Charge Card the Order Status is set to 'UPDATE'. Downloads are set to 'TRUE' and since I am on a linux server the Download redirect is set to 'TRUE' I go thru the process of purchasing the product from the store and the transaction completes and I get no download button. Now remember this is all done with out selecting an Option Name in the Attribute Controller (since that is the only way I have been able to link an attribute to the file. I have tried this with Pay files using the same process except the file is not free and am using PayPal Express check out and when I return to the page after the purchase there is no download button available, and I have gone into the My Account on the store and viewed the purchase still no download button in either circumstance. I have tried this with the Order Status set to 2 and 4 in the PayPal Express Checkout Module. Even when I go into the admin module and look at the customer orders I cannot change the order status to make a download button show up in the account that the product was purchased under. I am hitting a brick wall here and am in dire need of help. PLEASE.

Thank you
Bryan

19 Aug 2010, 5:07 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Setting up attributes for download files

bryansummers:

I have tried to add Option Values and always get the error screen telling me to press the back button and make sure I have not left any fields blank. So since this never works, I select Attributes Controller and ...

Um ... what error screen?
It's not normal to be getting an error when adding an Option Value.

You'll need to fix that before anything else is going to work.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Sep 2010, 6:10 PM
#8
bryansummers avatar

bryansummers

New Zenner

Join Date:
Feb 2010
Location:
Palm Springs CA
Posts:
10
Plugin Contributions:
0

Re: Setting up attributes for download files

I opened up MypHpAdmin, and edited the entries for the optional values that had been defined, deleted them actually, and everything works as it should now. Wierd.

thanks for the help