Jump to content

gotcha5832

Members
  • Content count

    16
  • Joined

  • Last visited

Posts posted by gotcha5832


  1. I have a question.

    I'm using discount coupon for 2 year now, but I still have a problem.

    I guess normally SELECT FROM discount_coupons ORDER BY discount_coupons.coupons_number_available coupons_number_available must decrease each time we use a coupon?

    No

     

    Because if no way to clear my coupon list, an delete the one use?

     

    Does normally coupons_number_available decrease, where this is done?


  2. Dear I have some question about currency.

     

    On my shop i got Ultimate Seo Urls v2.5 (18 Aug 2008)

    Which I'm afraid to upgrade as i made many many changes, and my shop are quit well rank on google so I don't want to crash everything, but I got a question.

     

     

    About currency:

    I got on all my page a link to the other currency, so $ from € et € from $

    as : http://www.my-shop.com/fr/product-example.html?currency=USD'>http://www.my-shop.com/fr/product-example.html?currency=USD

    and I make a 301 from http://www.my-shop.com/fr/product-example.html?currency=USD'>http://www.my-shop.com/fr/product-example.html?currency=USD to http://www.my-shop.com/fr/product-example.html

    as I don't want to this url on google.

    http://www.my-shop.com/fr/product-example.html?currency=USD'>http://www.my-shop.com/fr/product-example.html?currency=USD

    http://www.my-shop.com/fr/product-example.html?currency=EUR

    http://www.my-shop.com/fr/product-example.html

     

    But the problem are i have to many 301 on my website?

    So how do you managed it? or how the last very of Ultimate SEO deal with the différent currency?

     

    Regards.


  3. about my different problem.

     

    Finally I redesign the boxe and remove <span id=boxcart-total>'

     

    But i still have problem with jquery>1.5

    If i load jquery_1.5, i have a problem on product with attribute, which are added no stop until i'm stay on product_info.

    I mean, i'm on product page, i click on "add", the picture go to shopping_cart boxe, but the product aren't add to the boxe. I wait, go to shopping_cart.php, and i see the this product have been added 20-50times?

     

    Does anyone deal with jquery_1.5?


  4. Hi eveyone,

     

    I tried to install it and I've different problem

    1- already report, but i didn find the solution, is th problem of the total price being updated in the shopping-cart-box, a whole new oscommerce window opens INSIDE the shopping cart box. Does anyone have a solution? exept remove ('<span id=boxcart-total>' . $currencies->format($cart->show_total()) . '</span>' );)

     

    2- If 1 have a product A with attribute in my basket, and i add a another, the boxe doesnt display 2xA but 1xa, i should change of page to see the good quantity

     

    3-On my website I'm already working with Jquery_1.5, but this contribution doesnt work with jquery>=1.5, If i load jquery_1.5, i have a problem on product with attribute, which are added no stop until i'm stay on product_info.

    I mean, i'm on product page, i click on "add", the picture go to shopping_cart boxe, but the product aren't add to the boxe. I wait, go to shopping_cart.php, and i see the this product have been added 20-50times?

    Does anyone deal with jquery_1.5?


  5. Dear all,

     

    I install this contrib couple of month ago, and everything is going fine expet if I'm trying to use the shipping discount, it not applied.

     

    exemple:

    Products (Edit)

    1 x Mosquito OilSpray --------------------- 9 €

    Discount Coupon test applied: ------------- -7 €

    Sub-Total: ------------------------------------ 9 €

    Regular deliver :-------------------------------7 €

    Total: -----------------------------------------16 €

    <!-- Discount Coupons DEBUG
    order Object
    (
    [info] => Array
    	(
    		[order_status] => 1
    		[currency] => EUR
    		[currency_value] => 1.00000000
    		[payment_method] => Klik & Pay - Credit card payment module
    		[cc_type] => 
    		[cc_owner] => 
    		[cc_number] => 
    		[cc_expires] => 
    		[shipping_method] => Regular deliver
    		[shipping_cost] => 6.5
    		[giftwrap_method] => 
    		[giftwrap_cost] => 
    		[subtotal] => 9
    		[tax] => 0
    		[tax_groups] => Array
    			(
    				[Unknown tax rate] => 0
    			)
    
    		[comments] => 
    		[total] => 15.5
    	)
    
    [totals] => Array
    	(
    	)
    
    [products] => Array
    	(
    		[0] => Array
    			(
    				[qty] => 1
    				[name] => Mosquito OilSpray
    				[model] => 
    				[tax] => 0
    				[tax_description] => Unknown tax rate
    				[price] => 9.0000
    				[final_price] => 9
    				[weight] => 0.12
    				[id] => 356
    			)
    
    	)
    
    [customer] => Array
    	(
    		[firstname] => sacha3
    		[lastname] => sacha3
    		[company] => 
    		[street_address] => 33rue
    		[suburb] => 
    		[city] => QSDSQ
    		[postcode] => 123213
    		[state] => 
    		[zone_id] => 0
    		[country] => Array
    			(
    				[id] => 73
    				[title] => France
    				[iso_code_2] => FR
    				[iso_code_3] => FRA
    			)
    
    		[format_id] => 1
    		[telephone] => 123213213
    		[email_address] => xxxx@hotmail.com
    	)
    
    [delivery] => Array
    	(
    		[firstname] => sacha3
    		[lastname] => sacha3
    		[company] => 
    		[street_address] => 33rue
    		[suburb] => 
    		[city] => QSDSQ
    		[postcode] => 123213
    		[state] => 
    		[zone_id] => 0
    		[country] => Array
    			(
    				[id] => 73
    				[title] => France
    				[iso_code_2] => FR
    				[iso_code_3] => FRA
    			)
    
    		[country_id] => 73
    		[format_id] => 1
    	)
    
    [content_type] => physical
    [billing] => Array
    	(
    		[firstname] => sacha3
    		[lastname] => sacha3
    		[company] => 
    		[street_address] => 33rue
    		[suburb] => 
    		[city] => QSDSQ
    		[postcode] => 123213
    		[state] => 
    		[zone_id] => 0
    		[country] => Array
    			(
    				[id] => 73
    				[title] => France
    				[iso_code_2] => FR
    				[iso_code_3] => FRA
    			)
    
    		[country_id] => 73
    		[format_id] => 1
    	)
    
    [coupon] => discount_coupon Object
    	(
    		[messages] => Array
    			(
    				[debug] => Array
    					(
    						[0] => INFO: DISPLAY_PRICE_WITH_TAX = false
    						[1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false
    						[2] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true
    						[3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 0
    						[4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true
    						[5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true
    						[6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None
    						[7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = true
    						[8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6
    						[9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false
    						[10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false
    						[11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false
    						[12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon [code] applied
    						[13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true
    						[14] => INFO: Product 356 passed exclusion check.  Discount 0 applied. (shipping)
    						[15] => INFO: Discount of 0 applied to product 356 ($9).
    						[16] => INFO: Calculating tax on 9.  Displayed price 9.
    						[17] => INFO: Shipping Discount of 6.5 applied.
    					)
    
    			)
    
    		[coupon] => Array
    			(
    				[coupons_id] => t
    				[coupons_description] => 
    				[coupons_discount_amount] => 1.000000000000
    				[coupons_discount_type] => shipping
    				[coupons_date_start] => 
    				[coupons_date_end] => 
    				[coupons_max_use] => 0
    				[coupons_min_order] => 0.0000
    				[coupons_min_order_type] => 
    				[coupons_number_available] => 0
    			)
    
    		[applied_discount] => Array
    			(
    				[Unknown tax rate] => 0
    				[shipping] => 6.5
    			)
    
    		[cart_info] => Array
    			(
    				[valid_products] => Array
    					(
    						[count] => 1
    						[line_items] => 1
    						[total] => 9
    					)
    
    				[total_products] => Array
    					(
    						[count] => 1
    						[line_items] => 1
    						[total] => 9
    					)
    
    				[exclusions] => Array
    					(
    						[categories] => Array
    							(
    							)
    
    						[products] => Array
    							(
    							)
    
    						[manufacturers] => Array
    							(
    							)
    
    					)
    
    			)
    
    		[discount_tax] => Array
    			(
    				[Unknown tax rate] => 0
    			)
    
    	)
    
    )
    
    End Discount Coupons DEBUG-->

     

     

     

    If someone could help me is would be great.


  6. Hi everybody,

     

    First sorry If I didn't post in the good place

     

    I developed a contrib which display a random selection of 4 products, in define range of price, at the bottom of shopping_cart.php.

     

    Like this, customer navigate, create its basket and before ordering he can add some cheap product to his basket.

     

    I would like to track these additions, so allowing me to see if this contrib is useful or not.

    1 °-how many customer add product by this way to there basket

    2 °-how many finalize order, have product added by this way.

     

    1 °) on the button of addition in the basket,

    add = ' < has href = ' ". Tep_href_link (basename (PHP_SELF), tep_get_all_get_params (array ('action'('share'))). ' Action=buy_now*products_id = '. Cross [' products_id ']). ' " > '. Tep_image_button (' button_add.gif ', IMAGE_BUTTON_BUY_NOW). ' < / has > *nbsp ';

    I'm using the action "buy_now" so I thought to create a new action "buy_now_2", identical in "buy_now" but which add to a new table "product_beforepay" an entrance including id of the product, basket_id

    A file of stat which looks for in this table "product_beforepay", which looks for quite the entered to sort out by date / product...

    That go!! That gets more complicated for the second part.

     

    2 °) but to cross this with finalize order it will be more difficult:

    This contrib is use also before to log, so I cannot use customer_id, or customer basket.

    So I really don't know.

     

    Thank you

     

    P.S.: Sorry for my english, I'm french, and my english are very poor.

×