Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Phocea

Pioneers
  • Posts

    154
  • Joined

  • Last visited

Everything posted by Phocea

  1. To have al of this completly multilnaguage will take a lot more work as plenty of the prompts are hardcoded. Sorry for the lack of update but I got tons of work on a new project. I have got a new release with a few bug fixes and also a draft plugin for QT Pro. unfortunately before Xmas I have hit problems with updating QT pro values and cannot found a way to make it work. If anyone with good php and ajax skill want to have a look, PM me and I will send you the code. i am sure it aint far off but wont have the time to look at it in depth before mid 2007!!
  2. Functionality for downloadable product will follow, once the rest works ok and is stable :)
  3. Note that just adding the 2 columns for the fun of it will let you store the sort order for the attributes and attributes values but if it is not used anywhere else on the catalogue there is not much point using this functionality :) If you add this column or any other sort column using one of the contribution existing, make sure you also follow the changes on product_info
  4. I have tried removing the sort column from my database and to run the contribution with $this->add('AM_USE_SORT_ORDER' , false); and i am not getting any errors, so you must have done something wrong. Hellem, if you keep the switxh to off you do not need to comment out this 2 lines
  5. Did you change the Sort order option to true to false or not ? in attributemanager/classes/attributeManagerConfig.class.php $this->add('AM_USE_SORT_ORDER' , false);
  6. The sorting is not part of this contribution, it is to be used if you have installed one of the numerous attribute sorting contribution existing. The code you are refering to is from this contribution: http://www.oscommerce.com/community/contri...,attribute+sort So it should be fine. The point of the config area is that people can choose which contribution to use or have already use and change the name of the field accordingly
  7. No problem, I think it is a way before it comes out of beta. Adding the edit, delete functionality like you intended should be pretty easy since you left the ground work to do so. Addin QT Pro plugin functionality is however giving me grief at the moment. Thanks for the original code anyway, it is very clearly coded and following OO coding to the letter (or as mush as PHP4 let u !)
  8. Wolfalex, try the new update should be ok. Thanks for the feedback. problem was when sort order was not used I missed a couple of spots where code needed to be change. Should be ok now.
  9. I have posted the latest version I am working on which should work for everyone. Up to you thereafter to turn on the sort order support or not it is set to false by default
  10. This contribution does not and cannot in any way affect the product_info page. If you have a problem in that page it must come from another change
  11. Installes this on my test shop then removed it. Is it suppose to flicker so much and refresh such big area every time ?
  12. Upgrade your broswers :) I cannot replicate the problem hence its not a problem
  13. Like I said this is not a new release its an addon if you want to use the sort fields and it works fine if you have the correct column in your database table. This is the reason why Nimmit did not want to put it this in because there is 10 or so different contribution to add a sort field,each with their own name. The install.html states:
  14. If you do not have a sort field on your attribute table, do not use the Sort version of this contribution. Same apply if do not know how to follow the instruction included and change the code to use the name of your sort colomn.... For info i have IE6/7 Firefox 1/2 and I cannot replicate the behaviour you describe
  15. Solution on B,C,D is on this thread, read the posts... For A, its not working like this at the moment, you will have to develop it yourself
  16. Yeap that was right sorry !! Still got an error when going to view a normal order as it was using some of the function moved to oe_functions in classes/orders.php (god knows why and when I put stuff in there). Anyway, just included the function in orders.php and its cool. Ah well, to be forgivent, here is the french translation file up to date: <?php /* $Id: edit_orders.php,v 2.5 2006/04/28 10:42:44 ams Exp $ french osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Translated by Maverick Copyright (c) 2006 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Modification de commande'); define('HEADING_TITLE_NUMBER', 'N°'); define('HEADING_TITLE_DATE', 'en date du'); define('HEADING_SUBTITLE', 'Modifiez tous les champs souhaités puis cliquez sur le bouton "Mise à jour" ci-dessous.'); define('HEADING_TITLE_STATUS', 'Statut'); define('ADDING_TITLE', 'Ajouter un produit'); define('HINT_UPDATE_TO_CC', 'Set payment method to '); //ENTRY_CREDIT_CARD should be whatever is saved in your db as the payment method //when your customer pays by Credit Card define('ENTRY_CREDIT_CARD', 'Credit Card'); define('HINT_UPDATE_TO_CC2', ' and the other fields will be displayed automatically. CC fields are hidden if any other payment method is selected.'); define('HINT_PRODUCTS_PRICES', 'Price and weight calculations are done on the fly, but you must hit update in order to save any changes. Zero and negative values may be entered for quantity. If you want to delete a product, check the delete box and hit update. Weight fields are not editable.'); define('HINT_SHIPPING_ADDRESS', 'If the shipping destination is changed this may change the tax zone the order is in as well. You will have to press the update button again to properly calculate tax totals in this case.'); define('HINT_TOTALS', 'Feel free to give discounts by adding negative values. Any field with a value of 0 is deleted when updating the order (exception: shipping). Weight, subtotal, tax total, and total fields are not editable. On-the-fly calculations are estimates; small rounding differences are possible after updating.'); define('HINT_PRESS_UPDATE', 'Cliquez sur le bouton "Mise à jour" pour enregistrer toutes vos modifications.'); define('HINT_BASE_PRICE', 'Price (base) is the products price before products attributes (ie, the catalog price of the item)'); define('HINT_PRICE_EXCL', 'Price (excl) is the base price plus any product attributes prices that may exist'); define('HINT_PRICE_INCL', 'Price (incl) is Price (excl) times tax'); define('HINT_TOTAL_EXCL', 'Total (excl) is Price (excl) times qty'); define('HINT_TOTAL_INCL', 'Total (incl) is Price (excl) times tax and qty'); define('TABLE_HEADING_COMMENTS', 'Commentaires'); define('TABLE_HEADING_STATUS', 'Statut de la commande'); define('TABLE_HEADING_QUANTITY', 'Qté'); define('TABLE_HEADING_PRODUCTS_MODEL', 'Modèle'); define('TABLE_HEADING_PRODUCTS_WEIGHT', 'Weight'); define('TABLE_HEADING_PRODUCTS', 'Produits'); define('TABLE_HEADING_TAX', 'Taxes'); define('TABLE_HEADING_BASE_PRICE', 'Prix (base)'); define('TABLE_HEADING_UNIT_PRICE', 'Prix unitaire HT'); define('TABLE_HEADING_TOTAL_PRICE', 'Prix total HT'); define('TABLE_HEADING_UNIT_PRICE_TAXED', 'Prix TTC'); define('TABLE_HEADING_TOTAL_PRICE', 'Total (excl.)'); define('TABLE_HEADING_TOTAL_PRICE_TAXED', 'Total TTC'); define('TABLE_HEADING_TOTAL_MODULE', 'Récapitulatif de la commande'); define('TABLE_HEADING_TOTAL_AMOUNT', 'Montant'); define('TABLE_HEADING_TOTAL_WEIGHT', 'Poids Total: '); define('TABLE_HEADING_DELETE', 'Effacement?'); define('TABLE_HEADING_SHIPPING_TAX', 'Taxe Frais de Port: '); define('TABLE_HEADING_CUSTOMER_NOTIFIED', 'Client avisé'); define('TABLE_HEADING_DATE_ADDED', 'Date de modification'); define('ENTRY_CUSTOMER_NAME', 'Nom'); define('ENTRY_CITY_STATE', 'Ville, Département:'); define('ENTRY_CUSTOMER_COMPANY', 'Société'); define('ENTRY_CUSTOMER_ADDRESS', 'Adresse'); define('ENTRY_CUSTOMER_SUBURB', 'Banlieue'); define('ENTRY_CUSTOMER_PHONE', 'Téléphone'); define('ENTRY_CUSTOMER_CITY', 'Ville'); define('ENTRY_CUSTOMER_STATE', 'Département'); define('ENTRY_CUSTOMER_POSTCODE', 'Code postal'); define('ENTRY_CUSTOMER_COUNTRY', 'Pays'); define('ENTRY_CUSTOMER_EMAIL', 'E-Mail'); define('ENTRY_ADDRESS', 'Adresse'); define('ENTRY_CURRENCY_TYPE', 'Devise'); define('ENTRY_CURRENCY_VALUE', 'Valeur Devise'); define('ENTRY_SHIPPING_ADDRESS', 'Adresse de livraison:'); define('ENTRY_BILLING_ADDRESS', 'Adresse de facturation:'); define('ENTRY_PAYMENT_METHOD', 'Moyen de paiement:'); define('ENTRY_CREDIT_CARD_TYPE', 'Type de carte de crédit:'); define('ENTRY_CREDIT_CARD_OWNER', 'Proporiétaire de la carte:'); define('ENTRY_CREDIT_CARD_NUMBER', 'Numéro de la carte:'); define('ENTRY_CREDIT_CARD_EXPIRES', 'Expiration de la carte:'); define('ENTRY_SUB_TOTAL', 'Sous-Total:'); //do not put a colon (" : ") in the definition of ENTRY_TAX //ie entry should be 'Tax' NOT 'Tax:' define('ENTRY_TAX', 'Taxes'); define('ENTRY_TOTAL', 'Total:'); define('ENTRY_STATUS', 'Statut:'); define('ENTRY_NOTIFY_CUSTOMER', 'Notifier le client:'); define('ENTRY_NOTIFY_COMMENTS', 'Commentaires:'); define('EMAIL_TEXT_STATUS_UPDATE2', 'Si vous avez des questions, n\'hésitez pas à nous contacter.' . "\n\n" . 'Cordialement. Le Service Commercial ' . STORE_NAME . "\n"); define('TEXT_NO_ORDER_HISTORY', 'Pas d\'historique disponible'); define('EMAIL_SEPARATOR', '------------------------------------------------------'); define('EMAIL_TEXT_SUBJECT', 'Mise à jour de votre commande'); define('EMAIL_TEXT_ORDER_NUMBER', 'Commande n°:'); define('EMAIL_TEXT_INVOICE_URL', 'Facture détaillée:'); define('EMAIL_TEXT_DATE_ORDERED', 'Date de commande:'); define('EMAIL_TEXT_STATUS_UPDATE', 'Votre commande a été mise à jour au statut suivant.' . "\n\n" . 'Nouveau statut: %s' . "\n\n" . 'Répondez à cette email, dans le cas où vous désirez obtenir plus d\'informations.' . "\n"); define('EMAIL_TEXT_COMMENTS_UPDATE', 'Les commentaires pour votre commande sont' . "\n\n%s\n\n"); define('ERROR_ORDER_DOES_NOT_EXIST', 'Erreur: aucune commande existante'); define('SUCCESS_ORDER_UPDATED', 'Succès: la commande a bien été mise à jour.'); define('ADDPRODUCT_TEXT_CATEGORY_CONFIRM', 'OK'); define('ADDPRODUCT_TEXT_SELECT_PRODUCT', 'Choisissez un article'); define('ADDPRODUCT_TEXT_PRODUCT_CONFIRM', 'OK'); define('ADDPRODUCT_TEXT_SELECT_OPTIONS', 'Choisissez une option'); define('ADDPRODUCT_TEXT_OPTIONS_CONFIRM', 'OK'); define('ADDPRODUCT_TEXT_STEP', 'Etape n°'); define('ADDPRODUCT_TEXT_STEP1', ' « Choisir une catégorie. '); define('ADDPRODUCT_TEXT_OPTIONS_NOTEXIST', 'Pas d\'options: sauté..'); define('ADDPRODUCT_TEXT_CONFIRM_QUANTITY', 'Qté.'); define('ADDPRODUCT_TEXT_CONFIRM_ADDNOW', 'Ajouter maintenant'); define('ADDPRODUCT_TEXT_STEP2', ' « Choisir un article. '); define('ADDPRODUCT_TEXT_STEP3', ' « Choisir une option. '); define('MENUE_TITLE_CUSTOMER', '1. Informations Clients'); define('MENUE_TITLE_PAYMENT', '2. Moyen de paiement'); define('MENUE_TITLE_ORDER', '3. Produits Commandés'); define('MENUE_TITLE_TOTAL', '4. Remise, Frais de Port et Total'); define('MENUE_TITLE_STATUS', '5. Status et Notification'); define('MENUE_TITLE_UPDATE', '6. Mise à jour'); //add-on for downloads define('ENTRY_DOWNLOAD_COUNT', 'Télechargement #'); define('ENTRY_DOWNLOAD_FILENAME', 'Nom de Fichier'); define('ENTRY_DOWNLOAD_MAXDAYS', 'Jours d\'Expiration'); define('ENTRY_DOWNLOAD_MAXCOUNT', 'Téléchargements Restants'); define('TEXT_SHIPPING_SAME_AS_BILLING', 'Adresse de livraison identique à celle de facturation'); define('TEXT_BILLING_SAME_AS_CUSTOMER', 'Adress de facturation identique à celle du client'); // pull down default text define('PLEASE_SELECT', 'Veuillez Selectionner'); define('TYPE_BELOW', 'Tapez Ci-Dessous'); ?> Hey drako, whats is the menu you are using at the top of your site ?
  17. Just add the look at the product_stock table and how it stores the information. Its pretty straight forward, building a string to keep the correct attribute combination values. The difficulty into adding it to the Ajax Manager is going to be the graphical concept and how to add it to the manager without spoiling the existing look and feel. Nimmit included classes to call popups so i guess we could try and use this :)
  18. chooch, all i can tell you is that on my test site I do have QTPro installed and the ajax attribute manager and did not run into any problems. Furthermore, using the same method used to add the sort_order, a quantity field per attribute could also be added I guess. I wsa planning to do this as a plugin but first want to check how exactly QT pro handle the stock for attribute combination. Does he store a stock number for the exact combination, or does it store a stock number for each separate attributes which are they in turn used for validation. Ie for Size - Color Shirt, does QT pro sote in the database a value saying: Shirt 1: XXL, Red : 2 in stock XXX, White : 5 in stock Or does it store: Shirt 1: XXL: 7 in stock Red: 2 in stock White: 5 in stock If it uses the 2nd case it would be very easy to use the attribute manager to also handle this values
  19. Hello, Last package loaded as 2.8.2 is crashing under Firefox2 and IE 6/7. Browser just hang as soon as I type something in the field. In ie7 it does finally come back but just include the all admin back into the div !! Instruction on how not to use the Ajax part would be nice as I thought the drowdown were good enough and faster
  20. While I was adding this i noticed that Nimmit already started some ground work to handle this with a central attribute where the name of the column used could be set once and for all, as well as a general switch parameter to use the sort order or not. I will try to find a couple of hours to implement my changes using this parameters as it would make it easier for eveyone to change. I will keep you posted on this
  21. I have just posted a version which handle sort order since it has been asked by several people here Read carefully the instruction as you might require to change the database field it is using to update, depending on the contribution you are using for this functionality.
  22. A couple you migh want to add which are browsing mainly french sites: GET /links.php HTTP/1.1" 200 71316 "-" "BIGLOTRON (Beta 2;GNU/Linux) Comes regularly but only do a few pages GET /robots.txt HTTP/1.0" 200 1666 "-" "Graal (http://www.gralon.net) Comes very often tu update its directory/saearch engines and crawls about 500 pages at a time resulting in a big shopping cart :)
  23. aapinene and mike1985 .. Did you activate the order_total module, giving it a correct sequence number ?? aapinene inb the reward config, did you activate the option to redeem and to earn points ?? All his explain in the readme file !
  24. Imagine a cart like this: CODE Product 1: 15.00 (Full Price) Product 2: 5.00 (Reduced Special Price) Total : 20.00 Coupon : -2.00 (CCGV Coupon -10%) What should max points calculated upon, on this order: 13.00 ( Product 1 Price - Full Coupon Reduction) ? 13.50 ( Product 1 Price - 10%) ? or as you stated it, if we give points for specials [*]18.00 ( Order Total - 10%) In the same example, if you allow to gain points on order where you redeem points, what should the number of points rewarded be based on: 15.00 ( Full Product 1 Price) ? 13.50 ( Product 1 Price - 10%) ? The number I give here are the amount on which points should be calculated, not the actual number of points since this depend on the POINTS_PER_AMOUNT_PURCHASE variable.
  25. Yeah i am certain the code works, I was just scared of the implication in merging both ... and also while writing test cases came up with another potential problem if you do not want to give points specials, or be able to pay for discounted products with points Imagine a cart like this: Product 1: 15.00 (Full Price) Product 2: 5.00 (Reduced Special Price) Total : 20.00 Coupon : -2.00 (CCGV Coupon -10%) Points : -13.00 Now what should be the max points allowed to be used on this order ? The coupon basically make the Product 1 and 2 price reduced by a furter 10% !! In this case should Product 1 assimilated to a specials then ? Then we would need to specifically check if a % coupon is being used and disable the redemption of points ... If we dont disable it, what should max points be on this order: 13.00 ( Product 1 Price - Full Coupon Reduction) ? 11.70 ( Product 1 Price - 10%) ? In the same example, if you allow to gain points on order where you redeem points, what should the number of points rewarded be based on: 15.00 ( Full Product 1 Price) ? 11.70 ( Product 1 Price - 10%) ?
×
×
  • Create New...