Forums / Built-in Shipping and Payment Modules / Not shipping to a region? - Problem for a downloadable product

Not shipping to a region? - Problem for a downloadable product

Views: 2,027

Results 21 to 25 of 25
10 Aug 2012, 3:36 AM
#21
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Not shipping to a region? - Problem for a downloadable product

Do all of your Attributes for Downloads use the same options_id and options_values_id in the products_attributes table?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2012, 4:08 AM
#22
drbyte avatar

drbyte

Sensei

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

Re: Not shipping to a region? - Problem for a downloadable product

This query might help: ```
select products_id, products_name from products_description where products_id in (
select products_id from products_attributes pa, products_attributes_download pd
where pa.products_attributes_id = pd.products_attributes_id
and products_attributes_filename = '');

In phpMyAdmin, select your database from the pulldown on the left. Then click the "Query" (or maybe "SQL") tab on the right, and paste the above query code in the box and click Go.
Hopefully you get a message that says "0 results found" or something like that.
If you get any other results back, they should be the product number and name, which you'll want to look at to see whether any of its download attributes is missing a filename.


Hopefully you don't get a message saying Table products_description doesn't exist.  If you do, then click the "Browse" button in the right-side of phpMyAdmin and see what common prefix all your tablenames are starting with, and insert that prefix before each of the tablenames highlighted in blue above, and try again.

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

10 Aug 2012, 4:28 AM
#23
meljen avatar

meljen

Zen Follower

Join Date:
Apr 2012
Posts:
127
Plugin Contributions:
0

Re: Not shipping to a region? - Problem for a downloadable product

Thank you both so much.

I think the problem was discovered... she sent an email back with a copy-and-paste of the text from her cart. Thankfully, that actually showed the issue right there for me. One of my downloads did not have attribute settings attached to it. It had a file, but no actual attributes. I updated it and hopefully that will be the fix that was needed!

I'll let you both know if it worked. :-)

edit Dr. Byte, I will try that as soon as I can to make sure this issue won't pop up with other products. Thankfully this was the first time it happened. I'm usually very careful when adding products.

10 Aug 2012, 5:28 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: Not shipping to a region? - Problem for a downloadable product

Upon further study, the database query I posted above isn't a complete diagnostic. It might give partial info, but isn't a thorough inspection for the symptoms being discussed here.
Ajeh is smarter on that stuff than I am :blush:

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

10 Aug 2012, 5:45 AM
#25
meljen avatar

meljen

Zen Follower

Join Date:
Apr 2012
Posts:
127
Plugin Contributions:
0

Re: Not shipping to a region? - Problem for a downloadable product

You did awesome Dr. Byte. :-) Thanks for trying!

Ajeh, to answer your question, yes all of my downloads have the same attribute settings... minus the attached file associated with the attribute. If that makes sense. Hope I didn't misunderstand you.