Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bjeli

Pioneers
  • Posts

    21
  • Joined

  • Last visited

Everything posted by bjeli

  1. Hi tokpersonal, I'm looking for something similar but I haven't found yet. Have you found it? In this link you can read and explanation how you can do it, I'm trying to develope it but it seems very difficult. If you resolved this problem, advise me please. In spanish: Hola Marga, Yo también estoy buscando algo similar desde hace tiempo y no lo encuentro. Lo has encontrado? En este link explica lo que debes hacer, pero me está resultando complicado. Si consigues algo, agradecería que me avisaras. Un saludo,
  2. It can`t be a UNIQUE index with options_id and options_values_id fields because i have many products with these the same atribute and the same option, so I think that it must be a Unique with products_id, options_id and options_values_id fields. Ok, i'll try it. It is not the best solution but it's the only one that i have. Thanks dewed
  3. Sometimes they delete some options. Is this what you said? I don't understand very well but i'll see.
  4. Thanks for your answer. I often modify product after saved them and i usually use templates. But the user has to modify the prices or sort the options manually. When the user does it, its when the options are repeated. My actual solution is to delete all the doubled option in the products_attributes table with this sql: SELECT pa . `products_attributes_id` , pa . `products_id` FROM `products_attributes` pa inner join `products_attributes` pb on pa . `products_id` =pb . `products_id` and pa . `options_id` =pb . `options_id` and pa . `options_values_id` =pb . `options_values_id` WHERE pa . `products_attributes_id` > pb . `products_attributes_id` ORDER BY `pa` . `products_id` ASC But that`s not useful. The user depends on me.
  5. I have this problem with AJAX-AttributeManager-V2.8.9.1. I have double entries for the same option. I have done what you said. Firs of all i add the product and then i set the attributes. Does anyone resolved this issue? Thanks ;)
  6. I resolved my problem with two changes in option_types.php Change 1: $ImageSelector_Dropdown = '<select name="' . $Image_Dropdown_ID . '" onChange="document.getElementById(\'ImageSelect' . $products_options_name['products_options_id'] . '\').innerHTML=ImageText'.$products_options_name['products_options_id'].'[this.selectedIndex];">' . $Image_Dropdown[$products_options_name['products_options_id']] . '</select> ' . $ProdOpt_Comment; Replace with: $ImageSelector_Dropdown = '<select name="' . $Image_Dropdown_ID . '" onChange="calcPrice(this);document.getElementById(\'ImageSelect' . $products_options_name['products_options_id'] . '\').innerHTML=ImageText'.$products_options_name['products_options_id'].'[this.selectedIndex];">' . $Image_Dropdown[$products_options_name['products_options_id']] . '</select> ' . $ProdOpt_Comment; Change 2: $option_price = ' (' . $products_options['price_prefix'] . ' ' . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') '; Replace with: $option_price = ' (' . $products_options['price_prefix'] . '' . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
  7. I have a product with an image attribute. In some options this attribute increases the price. The price update doesn't work when I use the image attribute in my product. I installed Option Types v2.1.3_1 and Options_price_update_v1.5 addons. Thanks.
  8. Thanks, I solved may problem. I had to change [$product_info['products_id']] with [$products_options_name['products_options_id']] and $product_info['products_id'] with $products_options_name['products_options_id'] in some cases too. The only file i had to change is option_types.php
  9. I've just installed this addon and i have a problem when one of my products has more than one image attribute. In the first select buttons shows its options but in the seconds select buttons shows its own options and the options of the first image attribute. I mean in the product_info page. Can anybody help me? Thanks. :thumbsup:
×
×
  • Create New...