Results 1 to 10 of 671

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Froogle Merchant Center merged into GoogleBase

    Quote Originally Posted by Pixxi View Post
    I just meant: 'take the switch to set it true/false out of the config in admin'
    If try to look update_1_2_9.sql you may see more interesting for you.

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

    Default Re: Froogle Merchant Center merged into GoogleBase

    Hi Andrew,

    Thanks - even better still :-)

    A (little) bug though ...

    This version is giving an extra tab ( \t ) at the end of the feed - whether options are selected or not - because the tabs are at the end of the data values.

    Maybe move the "\t" to before the data values on lines 109 - 115, instead of after (as now), and remove the tab at the end of line 108?

    Eg.

    PHP Code:
    zen_froogle_sanita($products->fields['products_name'], true) . "\t" .
                                    
    zen_froogle_sanita($products->fields['products_description']) . "\t" .
                                    
    str_replace('&''&'zen_href_link(zen_get_info_page($products->fields['products_id']), 'products_id=' $products->fields['products_id'] . $product_url_add'NONSSL'false)) . "\t" .
                                    
    number_format($currencies->value(zen_add_tax($pricezen_get_tax_rate($products->fields['products_tax_class_id'])), trueGOOGLE_FROOGLE_CURRENCY), 2'.''') . "\t" .
                                    
    zen_froogle_image_url($products->fields['products_image']) . "\t" .
                                    
    zen_froogle_expiration_date($products->fields['products_date_added'], $products->fields['products_last_modified'], $products->fields['products_date_available']) . "\t" .
                                    
    zen_froogle_get_category($products->fields['products_id']) .
                                    (
    GOOGLE_FROOGLE_OFFER_ID == 'model' "\t" $products->fields['products_model'] : (GOOGLE_FROOGLE_OFFER_ID == 'id' "\t" $products->fields['products_id'] : '')) . 
                                    (
    GOOGLE_FROOGLE_IN_STOCK == 'true' ?  "\t" .  $products->fields['products_quantity'] : '') . 
                                    (
    GOOGLE_FROOGLE_SHIPPING != '' ?  "\t" GOOGLE_FROOGLE_SHIPPING  '') . 
                                    (
    GOOGLE_FROOGLE_MANUFACTURER == 'true' ?"\t" zen_froogle_sanita($products->fields['manufacturers_name']) : '') . 
                                    (
    GOOGLE_FROOGLE_PRODUCT_TYPE_SHOW == 'true' "\t" .  GOOGLE_FROOGLE_PRODUCT_TYPE '') .
                                    (
    GOOGLE_FROOGLE_LANGUAGE_DISPLAY == 'true' "\t" .  $languages->fields['code'] : '') .
                                    (
    GOOGLE_FROOGLE_CURRENCY_DISPLAY == 'true' "\t" .  GOOGLE_FROOGLE_CURRENCY '') .
                                    
    "\n"
    Last edited by Pixxi; 17 Oct 2006 at 06:27 PM.

 

 

Similar Threads

  1. Google Merchant Center
    By ccn1 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Oct 2011, 12:07 PM
  2. Froogle / GoogleBase Feeds (PC Based )
    By Scrat in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Feb 2007, 11:25 PM
  3. GoogleBase/Froogle
    By sschueller in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Dec 2006, 11:54 PM
  4. Which Googlebase Froogle Feed Works With 1.35??????
    By mfreund in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 28 Oct 2006, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg