chrometweaks.org

If I get a domain name from iPage?

Click Here To View All Answers...


My 1st question is: If I get a domain name from iPage? Thanks in advance for any response. Another question I got... Hello, I've been trying to find a solution to my problem and I didn't seem to have found any, I supposed that QTpro would help but didn't.

I'm developing a iPage site with the intent of selling blank CDs.

Let's say I have in my stock 10,000.

I'm selling CD's by lots of.

500.

1000.

3000.

5000.

10000.

Every lot offers a different price by single CD.

Ie:.

500 CD $1.00 /cd lot = $500.

1000 CD 0.85/cd lot = $850.

I'm using the product attibutes with my values of 500, 1000, 3000,..... CD's to seel them by lots.

When I place an order with one lot of 500 my stock of 10,000 is deducted by 1 CD instead of 500 CD's.

How could I have the number of CD's sold deducted by my stock while using the attributes. If more clarification is needed let me know.

Thank you for your help..

Comments (58)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some research in Google and get back to you if I got an useful answer. You should email the people at iPage as they probably could help you..

Comment #1

Anybody?.

I'm trying to use what has been discussed in thread.

Http://forums.oscommerce.com/index.php?sho...t=0&#entry66435.

I thought of adding in application top somewhere in that code the value of products_options_values_name (that I modified in mySQL to become in Integer).

$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+($HTTP_POST_VARS['cart_quantity']), $HTTP_POST_VARS['id']);.

I thought of having my formula as follows.

$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+.

($HTTP_POST_VARS['products_options_values_name'])*($HTTP_POST_VARS['cart_quantity']).

, $HTTP_POST_VARS['id']);.

Where I add to my cart the quantity amount from "products_options_values_name".

Multiplied by the number of lots 'cart_quantity'.

What is missing in that? And would it be possible to have it work?.

My basic knowledge of PHP is not helping and the help of the community will be so much of a big help.

If more clarification is needed let me know..

Comment #2

Hello again.

I think that what's missing is that 'products_options_values_name' is not a Variable, and it should be defined as one, where would I do that?.

I'm hoping that the way I'm thinking of it is correct as I'm starting to feel that I'm totally lost and lost track of what I'm trying to do..

Comment #3

Hello again.

I forgot to mention that I'm also using the module "option_type_feature_v1.6" and the iPage site is using radio buttons..

Whereas I'd be using that part of the code in my product_info.php.

//CLR 030714 Add logic for radio buttons.

$tmp_html = '<table>';.

$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from "TABLE_PRODUCTS_ATTRIBUTES" pa, "TABLE_PRODUCTS_OPTIONS_VALUES" pov where pa.products_id = '"(int)$HTTP_GET_VARS['products_id']"' and pa.options_id = '"$products_options_name['products_options_id']"' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '"$languages_id"'");.

$checked = true;.

While ($products_options_array = tep_db_fetch_array($products_options_query)) {.

$tmp_html .= '<tr><td class="main">';.

$tmp_html .= tep_draw_radio_field('id['$products_options_name['products_options_id']']', $products_options_array['products_options_values_id'], $checked);.

$checked = false;.

$tmp_html .= $products_options_array['products_options_values_name'] ;.

$tmp_html .=$products_options_name['products_options_comment'] ;.

If ($products_options_array['options_values_price'] != '0') {.

$tmp_html .= '('$products_options_array['price_prefix']$currencies->display_price($products_options_array['options_values_price'], $product_info_values['products_tax_class_id']) .')&nbsp';.

}.

$tmp_html .= '</tr></td>';.

}.

$tmp_html .= '</table>';.

?>.

<tr>.

<td class="main"><?php echo $products_options_name['products_options_name']':'; ?></td>.

<td class="main"><?php echo $tmp_html; ?></td>.

</tr>.

<?php.

Break;.

Maybe that should add something to the problem.

I'm going nuts trying to have this work - please help!..

Comment #4

Anyone help please!.

I tried so many things and so far nothing works!!! I really need that to work!.

This post has been edited by.

Xelan.

: 15 March 2004, 14:25..

Comment #5

Hello, I've been trying to find a solution to my problem and I didn't seem to have found any, I supposed that QTpro would help but didn't.

I'm developing a iPage site with the intent of selling blank CDs.

Let's say I have in my stock 10,000.

I'm selling CD's by lots of.

500.

1000.

3000.

5000.

10000.

Every lot offers a different price by single CD.

Ie:.

500 CD $1.00 /cd lot = $500.

1000 CD 0.85/cd lot = $850.

I'm using the product attibutes with my values of 500, 1000, 3000,..... CD's to seel them by lots.

When I place an order with one lot of 500 my stock of 10,000 is deducted by 1 CD instead of 500 CD's.

How could I have the number of CD's sold deducted by my stock while using the attributes. If more clarification is needed let me know.

Thank you for your help..

Comment #6

A thought where I might need help.

A thought that came up to mind,.

Is it possible that once I "add to cart" multiply by 1 the value of option value I use to define the number of CD's in a lot? Would that solve my problem and how could I do that?..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.