Zen Cart Logo

Product types, feeds

Locked

Views: 1,684

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Jan 2007, 3:41 AM
#1
v0903856 avatar

v0903856

New Zenner

Join Date:
Sep 2005
Posts:
41
Plugin Contributions:
0

Product types, feeds

Hello all,
I have been busting my tail getting large product feeds up and running. I am using easy populate to accept incoming and create out going feeds. While on site everything works perfectly, however customers entering the site from shopping sites and google base are not ending up in the right place. They are being sent to

/zencart/index.php?main_page=products_general_info&products=xxxxxxx

but all of my products are at

/zencart/index.php?main_page=products_free_shipping_info&products=xxxxxxx

and the address created by the easy populate froogle file reads

/zencart/index.php?main_page=product_info&products_id=xxxxxx

I need to find a way to have everything pointing to the same place. I dont realy know how each product gets "typed", can I change the products type? Do I need to reload all of the products with the categories product type restricted? When customers are sent to the general product type, they dont get sent to the product they are rerouted to the main page. When going to the address without general or free shipping this error is returned:

Warning: main(includes/templates/template_default/templates/tpl_product_info_display.php): failed to open stream: No such file or directory in /home/users/v0903856/public_html/zencart/includes/modules/pages/product_info/main_template_vars.php on line 261

Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_product_info_display.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/users/v0903856/public_html/zencart/includes/modules/pages/product_info/main_template_vars.php on line 261

If anyone know about this subject please help me out, I am losing lots of potential buyers.
Thank you,
Sean

1 Feb 2007, 4:23 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Product types, feeds

Sounds like whatever you're using to generate the product feed isn't allowing for the product type.

The sql query that is extracting the list of products should include the products_type field from the products table, and the corresponding type_handler field from the product_types table. The value of the type_handler
field gets prepended to _info to create the correct value for main_page= in the product url.

Example 1
for a normal Product-General type product
products_type = 1
type_handler = product
so url will be main_page=product_info

Example 2
for a Product - Free Shipping type product,
products_type = 5
type_handler = product_free_shipping
so url will be main_page=product_free_shipping_info