Jump to content

lil_cheeks

Members
  • Content count

    18
  • Joined

  • Last visited

Profile Information

  • Real Name
    Nick Fernandez
  1. lil_cheeks

    Index Ads - Banners in body_text

    I am looking for a way to put my rotating banner between the main text and the new products for... table. Is there a way to do this? I believe this contribution will help but i am not sure if this is what I need. If there is an easier way than the contribution (copy and paste text to index.php) please let me know. Thanks!
  2. Anyone know what the lines in red do below? This coupon contribution only works if i delete these lines. If i don't i get a shipping error every time i try to check out. catalog/checkout_confirmation.php, you are supposed to add //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
  3. Ok, i havn't seen any suggestions yet so i thought i would start trying some things. Here is what i did. In catalog/checkout_confirmation.php, you are supposed to add //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 The lines 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 and 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 Seems to be giving me the problem so i added "/*" to the front and "*/" to the end of both. I believe this cancels the comments. Now it works for me. I really have no idea how to use code for this so i may have gotten rid of something important. Please let me know what I did. All i know is it works now but i want to make sure it is safe to work this way.
  4. One last thing that may help out. I did install a contribution that figures out the shipping rate based on a percentage of the sale. This maybe what is causing the shipping error. Please let me know if any way to use the the percentage based shipping and the coupon contribution. The shipping percentage conrtibution can be found at http://www.oscommerce.com/community/contri...arch,percentage
  5. I also tried to remove it in the control panel. Even with this turned off i still get the shipping charges changed error. Could this be becuase i have only one shipping option? Please let me know if there is anything i can post that may help solve this.
  6. Ok, i restored and just re-installed. Everything is working this time except for the shipping charges. After i go and try to purchase someing, i put in the coupon code and and try to go to the confirmation page and it takes me back to checkout_shipping.php and says "Your calculated shipping charges have changed." This phrase is in a red box that goes accross the screen. Any other idea? I would love for this to work but i am still stuck in this shipping charges loop. If i continue on the checkout_shipping.php page, it takes me to checkout_payment.php. When i hit continue it takes me back to the checkout_shipping.php page and gives the same message. I even tried to continue without a coupon code, left it blank and it still takes me back to the checkout_shipping.php page.
  7. I just installed the newest version. Everything works great except when i when i get to the order confirmation page, it does not show a discount. I went back and made sure i have a valid sort value and i do. So i went back in and placed another order and still no discount comes up on the confirmation. So i did it again but put in a false coupon code, still goes right to the confirmation like nothing happened still not showing any discount. So i rechecked the manual entries i made. I noticed i made a mistake on the catalog/checkout_confirmation.php entry. I didn't delete the "}" symbol from two places. So i fixed it so it was correct. Then i went to try it again and this time i got an error with shipping. It keeps going to the shipping page and telling me the shipping charges have changed. So i try to continue on to the order confirmation screen and once again it goes to the shipping page giving me the same error. Its like i am caught in a "loop". any suggestions would be great.
  8. lil_cheeks

    Calculating shipping help

    I am trying to find a way to use a flat rate shipping plus a percentage for a total shipping cost. Can anyone help? I would like to have $6+5%( of total cost)= shipping cost. An example would be product cost $100. 6+5=11 for shipping. 5 being the 5% of 100. If anyone has any ideas please let me know. I checked the contributions but most of them are either percentage or flat rate, not both. thanks!
  9. lil_cheeks

    Actual Attribute Price V1.0

    I'll try that. I have been doing things in the other one. I'll let you know how this turns out. Thanks!
  10. lil_cheeks

    Actual Attribute Price V1.0

    Ok. i went through 1-9 and still it didn't work. I must be missing somthing. Do you do steps 1 and 2 under catalog or admin or both? catalog->includes->classes->shopping_cart.php or admin->includes->classes->shopping_cart.php And is product_info.php under: catalog->product_info.php I think this is where i am messing up. Please help me just a little bit more. Thanks Nick
  11. lil_cheeks

    Actual Attribute Price V1.0

    Please someone help me!!!! I installed the 1.4 version. From what i understand you only have to steps 1 and 2. I never installed any other versions. After i did steps 1 and 2 nothing changed. I left my prefix box blank and when i went to test it i added an item to my cart and it was subtracting the number instead. Please tel me what i am doing wrong. I really want this to work for me. I enter setps 1 and two in this file....catalog->includes->classes->shopping_cart.php. let me know if i am doing something wrong. thanks! Nick
  12. lil_cheeks

    Actual Attribute Price V1.0

    Please someone help me!!!! I installed the 1.4 version. From what i understand you only have to steps 1 and 2. I never installed any other versions. After i did steps 1 and 2 nothing changed. I left my prefix box blank and when i went to test it i added an item to my cart and it was subtracting the number instead. Please tel me what i am doing wrong. I really want this to work for me. I enter setps 1 and two in this file....catalog->includes->classes->shopping_cart.php. let me know if i am doing something wrong. thanks! Nick
  13. lil_cheeks

    Actual Attribute Price V1.0

    Please someone help me!!!! I installed the 1.4 version. From what i understand you only have to steps 1 and 2. I never installed any other versions. After i did steps 1 and 2 nothing changed. I left my prefix box blank and when i went to test it i added an item to my cart and it was subtracting the number instead. Please tel me what i am doing wrong. I really want this to work for me. I enter setps 1 and two in this file....catalog->includes->classes->shopping_cart.php. let me know if i am doing something wrong. thanks! Nick
×