Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

kotaro

Pioneers
  • Posts

    72
  • Joined

  • Last visited

Posts posted by kotaro

  1. You have to setup the options in the googlefeeder file.

    Jack, thank you for fast response.

     

    I checked options again and again, and still get the same result.

    Here are my options from googlfeeder.php, if it's not too much trouble, can you please take a look and let me know if i'm missing something?

    Because i still can't get availability to show and i still can't seem to control what columns i can display.

     

     

    /*************** BEGIN MASTER SETTINGS ******************/

     

    define('SEO_ENABLED','true');

    define('FEEDNAME', 'data_feed.txt');

    define('DOMAIN_NAME', 'www.mysitedomain.com');

    define('FTP_USERNAME', '');

    define('FTP_PASSWORD', '');

    define('FTP_ENABLED', 0);

    define('CONVERT_CURRENCY', 0); /

    define('CURRENCY_TYPE', 'USD');

    define('DEFAULT_LANGUAGE_ID', 1);

    define('QUOTES_CATEGORY_NAME','');

     

    /*************** OPTIONS - IF ENABLED, ALSO SET THE SIMILAR OPTION FARTHER DOWN ******************/

    define('OPTIONS_ENABLED', 1);

    define('OPTIONS_ENABLED_AGE_RANGE', 0);

    define('OPTIONS_ENABLED_ATTRIBUTES', 0);

    define('OPTIONS_ENABLED_BRAND', 1);

    define('OPTIONS_ENABLED_CONDITION', 1);

    define('OPTIONS_ENABLED_CURRENCY', 1);

    define('OPTIONS_ENABLED_EXPIRATION', 0);

    define('OPTIONS_ENABLED_FEED_LANGUAGE', 1);

    define('OPTIONS_ENABLED_GTIN', 0);

    define('OPTIONS_ENABLED_GOOGLE_PRODUCT_CATEGORY', 0);

    define('OPTIONS_ENABLED_GOOGLE_UTM', 0);

    define('OPTIONS_ENABLED_ISBN', 0);

    define('OPTIONS_ENABLED_MADE_IN', 0);

    define('OPTIONS_ENABLED_MPN', 0);

    define('OPTIONS_ENABLED_PRODUCT_MODEL', 0);

    define('OPTIONS_ENABLED_PRODUCT_TYPE', 1);

    define('OPTIONS_ENABLED_SHIPPING', 0);

    define('OPTIONS_ENABLED_INCLUDE_TAX', 0);

    define('OPTIONS_ENABLED_UPC', 0);

    define('OPTIONS_ENABLED_WEIGHT', 0);

     

    define('OPTIONS_AGE_RANGE', '15-90 years');

     

    define('OPTIONS_AVAILABILITY', 'status');

     

    define('OPTIONS_BRAND', 'manu');

    define('OPTIONS_CONDITION', 'new');

    define('OPTIONS_CURRENCY', 'USD');

    define('OPTIONS_CURRENCY_THOUSANDS_POINT', ',');

    define('OPTIONS_DATE_FORMAT', 'Y-m-d');

    define('OPTIONS_FEED_LANGUAGE', 'en');

    define('OPTIONS_GOOGLE_UTM', '?utm_source=GoogleBase1&utm_medium=BaseFeed1&utm_campaign=products');

    define('OPTIONS_GOOGLE_PRODUCT_CATEGORY', '');

    define('OPTIONS_GTIN', '');

    define('OPTIONS_ISBN', '');

    define('OPTIONS_MADE_IN', '');

    define('OPTIONS_MPN', 'model');

    define('OPTIONS_PRODUCT_TYPE', 'full');

    define('OPTIONS_SHIPPING_STRING', 'US:FL:Ground:7.00');

    define('OPTIONS_TAX_RATE' , '20.0');

    define('OPTIONS_TAX_CALC', (OPTIONS_ENABLED_INCLUDE_TAX == 2 ? (OPTIONS_TAX_RATE/100) + 1 : '1'));

    define('OPTIONS_TAX_STRING', 'US:FL:5.00:n');

    define('OPTIONS_UPC', '');

    define('OPTIONS_WEIGHT_ACCEPTED_METHODS', 'lb');

    define('OPTIONS_IGNORE_PRODUCT_PRICE', 0);

    define('OPTIONS_IGNORE_PRODUCT_ZERO', 1);

     

    THANK YOU!

  2. Just installed this feed and it works well except for one thing. Availability is not displaying in the output. I checked and it is in output string itself but when it write the output string to the file it disappears. Anyone has any ideas why?

     

    Thank you!

     

    Hello again.

     

    After running the script from admin tools i keep getting these headings and i do not see AVAILABILITY in them:

    link title description expiration_date price image_link genre id weight manufacturer mpn payment_accepted product_type currency location tax quantity brand condition age_range made_in

     

    I dumped the whole $output string to the screen before writing it to the file to see what it is and availability is there, but what gets written into the txt file is different then what $output has. These are the headings i see in the output string: link title description price image_link id availability condition product_type

     

     

    Any ideas, why? and how to fix it?

    Thank you.

  3. yes thanks i got the link , but please one question is can i do manual upload because i can not find the gamaitFeed.txt file in my root directory - where can i find the gamaitFeed.txt file?

     

    also in this addon it seem that no mention of the FTP login details for google marchent center ftp upload for the data feed

     

    I do not think you will find that file in your root directory because it is built when you go to that page by your googlebase.php file.

    If you want to upload the file manually, go to that URL in Firefox, copy the whole text, paste it into TextPad or notepad or whatever, and save it. Then go to your Google Merchant Center, click Data Feeds on the left and click manual upload and find that file you just saved.

     

    Good luck

  4. i am also having problem like bowen who posted his question yesterday - my haccess file is in the root directory and i have the following:

    RewriteBase /

    #############################

    # Begin Google Base File Rewrite Code

    RewriteRule gamaitFeed.txt googlebase.php

    # End Google Base File Rewrite Code

    #############################

     

    so as you see i addedd the line RewriteBase / because it wasnt there initially.

    when i go to www.gamait.co.uk/gamaitFeed i get that the page can not be found

    how can i access the text file so if i want to do manual uplaod i can do it?

    please tell me what could go worong?

     

    Instead of going to http://www.gamait.co.uk/gamaitFeed

    go to http://www.gamait.co.uk/gamaitFeed.txt

  5. Hello,

    Nice contribution! Thank you

    I do want to ask if anyone was able to figure this out:

    I would like to add a validation check for the telephone number field. Right now it is possible to enter any character in that field like ABC12345678. Same goes for the Zip Code field.

    Is it possible to constrain the user to enter only numeric characters and possibly ()- characters into the telephone field?

    How?

     

    Thank you!

  6. Couldn't roll the changes back so i decided to go ahead with the contribution again. It did work the first time for only 2 orders but now it doesn't send any email at all. No process order email, no update order email, even Send Email under Tools doesn't work.

     

    I installed version: U HTML Emails 2.1

     

    Please please please help me figure this out, very very very urgent!!!!!

     

    Thank you!!!!

  7. what I figured out is that if you get a quote from the FedEx site without logging in it doesn't apply any account discounts or whatever so the quote on the fedex site if not logged in is higher. If I log in to my account on the fedex website and then get the quote, it is exactly the same as the OSC quote. So problem solved for me and the customer.

    What do you mean if you log into your fedex account? In OSC code? where in the code do you log in so that rates are discounted?

     

    thank you

  8. Yeah tried that, still doesn't work. My osCommerce version 2.2 just in case.

     

    Any other ideas?

     

    Thank you!

     

    I found out what the problem is, no i need to find the solution for it.

     

    I have discount and free shipping contributions. Under Order Total->Shipping when i set Allow Free Shipping to true, it all works fine and takes the person back if after discount the price is below minimum, BUT

    The first time a person gets to the checkout_shipping.php page they do not see other shipping options.

    and when i have Allow Free Shipping set to false, then it does show all the shipping options and the free option but it doesn't take a person back to the shipping page.

     

    I need to have other shipping options show along with free shipping option when available and still be able to check to the minimum amount.

     

    I hope it wasn't too confusing.

     

    Any ideas?

    Thank you

  9. Have you tried to comment out the line:

      //kgt - discount coupons
    
     if( tep_not_null( $coupon ) && is_object( $order->coupon ) ) { //if they have entered something in the coupon field
    
       $order->coupon->verify_code();
    
       if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG != 'true' ) {
    
    	  if( !$order->coupon->is_errors() ) { //if we have passed all tests (no error message), make sure we still meet free shipping requirements, if any
    
    	  //if( $order->coupon->is_recalc_shipping() ) tep_redirect( tep_href_link( FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode( ENTRY_DISCOUNT_COUPON_SHIPPING_CALC_ERROR ), 'SSL' ) ); //redirect to the shipping page to reselect the shipping method
    
    		} else {
    
    		  if( tep_session_is_registered('coupon') ) tep_session_unregister('coupon'); //remove the coupon from the session
    
    		  tep_redirect( tep_href_link( FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode( implode( ' ', $order->coupon->get_messages() ) ), 'SSL' ) ); //redirect to the payment page
    
    	  }
    
       }
    
    } else { //if the coupon field is empty, unregister the coupon from the session
    
    	if( tep_session_is_registered('coupon') ) { //we had a coupon entered before, so we need to unregister it
    
         tep_session_unregister('coupon');
    
         //now check to see if we need to recalculate shipping:
    
         require_once( DIR_WS_CLASSES.'discount_coupon.php' );
    
         if( discount_coupon::is_recalc_shipping() ) tep_redirect( tep_href_link( FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode( ENTRY_DISCOUNT_COUPON_SHIPPING_CALC_ERROR ), 'SSL' ) ); //redirect to the shipping page to reselect the shipping method
    
       }
    
    }
    
    //end kgt - discount coupons

     

    ?

     

    Stanislav

     

    Yeah tried that, still doesn't work. My osCommerce version 2.2 just in case.

     

    Any other ideas?

     

    Thank you!

  10. Great contribution but i keep having problem with free shipping on minimum order. When someone enters a code and if the total is below the minimum it does not redirect back to choose shipping method.

     

    Here is part of code from checkout_confirmation.php

     

    //kgt - discount coupons

    if( tep_not_null( $coupon ) && is_object( $order->coupon ) ) { //if they have entered something in the coupon field

    $order->coupon->verify_code();

    if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG != 'true' ) {

    if( !$order->coupon->is_errors() ) { //if we have passed all tests (no error message), make sure we still meet free shipping requirements, if any

     

    if( $order->coupon->is_recalc_shipping() ) tep_redirect( tep_href_link( FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode( ENTRY_DISCOUNT_COUPON_SHIPPING_CALC_ERROR ), 'SSL' ) ); //redirect to the shipping page to reselect the shipping method

     

     

    } else {

    if( tep_session_is_registered('coupon') ) tep_session_unregister('coupon'); //remove the coupon from the session

    tep_redirect( tep_href_link( FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode( implode( ' ', $order->coupon->get_messages() ) ), 'SSL' ) ); //redirect to the payment page

    }

    }

    } else { //if the coupon field is empty, unregister the coupon from the session

    if( tep_session_is_registered('coupon') ) { //we had a coupon entered before, so we need to unregister it

    tep_session_unregister('coupon');

    //now check to see if we need to recalculate shipping:

    require_once( DIR_WS_CLASSES.'discount_coupon.php' );

    if( discount_coupon::is_recalc_shipping() ) tep_redirect( tep_href_link( FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode( ENTRY_DISCOUNT_COUPON_SHIPPING_CALC_ERROR ), 'SSL' ) ); //redirect to the shipping page to reselect the shipping method

    }

    }

    //end kgt - discount coupons

     

    Any help is appreciated!

  11. Hello I installed

    Freeamount3.5e

    And set free shipping it to true with minimum 100 amount but it's not showing up on the page as one of the options when 100 amount is reached.

     

    Is there something else i need to do?

  12. How can I change where the options are displayed on the product information page?

     

    Thanks

     

    You just have to play around with html and css to position it the way you want it, thats what i did.

    Trial and error.

     

    But i also have a question.

    For some reason when i use sequenced dropdowns, i do not get the "First select xxx" "Next select xxx" in the drop downs.

    Also it shows the selection that are not in stock, but when i add them to cart it says they are out of stock. I don't want people to add things to cart just to find out they are not available.

     

    Any ideas?

  13. A direct replacement for:

     

    <td class="main"><?php echo tep_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content); ?></td>

     

     

    would be:

     

    <td class="main"><?php echo tep_draw_fckeditor('content','800','500',(isset($nInfo->content) ? stripslashes($nInfo->content) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>

     

    So do you have multi languages or not?

     

    Are they allowed for at the dbase write?

     

    Thank you, it works good.

    The only problem i have now after i create html page in fckeditor and click preview in the admin to view the email, it shows the email with lots of blank spaces in between.

     

    No i don't have multilanguage support, and they can't be written to DB, so i guess i don't even need it.

     

    Thank you!

×
×
  • Create New...