chrometweaks.org

What are key difference between Movable Type and iPage and Wordpress blogging platforms? Which shoul

Click Here To View All Answers...


My question is What are key difference between Movable Type and iPage and Wordpress blogging platforms? Which shoul Hoping for any comment. Another question on my mind: If ((DOWNLOAD_ENABLED != 'true') || (!$stock_values'products_attributes_filename'])).

{.

$stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty'];.

<?php.

// send low stock email.

$warning_stock = STOCK_REORDER_LEVEL;.

$current_stock = $stock_left;.

$low_stock_email = '<b>The following product is.

Running low on stock:</b> '$product_info['products_name']"\n"'<b>Model No.:</b> '$product_info['products_model']"\n"'<b>Quantity:</b> ' ..

$product_info['products_quantity']"\n"'<b>Product URL:</b> ''.

Http://www.yesudo.com/product_info.php?products_id='.

(int)$HTTP_GET_VARS[.

'products_id']"\n\n"'<b>Current Low order limit is '$warning_stock' units</b>';.

$low_stock_subject = 'The following product is running low on stock: ' ..

$product_info['products_name'];.

If ($current_stock < $warning_stock) {.

Tep_mail(STORE_/img/avatar4.jpg, STORE_/img/avatar4.jpg_EMAIL_ADDRESS,.

$low_stock_subject, $low_stock_email, STORE_/img/avatar4.jpg, STORE_/img/avatar4.jpg_EMAIL_ADDRESS);.

}.

?>.

}..

Comments (16)

Good question... I dunno what is the right answer. I'll do some Googling and get back to you if I bump into an answer. You should email the people at iPage as they probably could assist you..

Comment #1

Done that thanx but still getting a parse error?.

If ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])).

{.

$stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty'];.

<?php.

$warning_stock = STOCK_REORDER_LEVEL;.

$current_stock = $stock_left;.

$low_stock_email = '<b>The following product is running low on stock:</b> '$product_info['products_name']"\n"'<b>Model No.:</b> '$product_info[.

'products_model']"\n"'<b>Quantity:</b> '$product_info['products_quantity']"\n"'<b>Product URL:</b> ''.

Http://www.yesudo.com/product_info.php.

?.

Products_id='. (int)$HTTP_GET_VARS['products_id']"\n\n"'<b>Current Low order limit is '$warning_stock' units</b>';.

$low_stock_subject = 'The following product is running low on stock: '$product_info['products_name'];.

If ($current_stock < $warning_stock) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $low_stock_subject, $low_stock_email, STORE_OWNER,.

STORE_OWNER_EMAIL_ADDRESS);.

}.

?>.

}..

Comment #2

Try.

The above code didn't give me a parse error, but I have not tested it..

Tom..

Comment #3

It would also be easier on us, if we saw the line numbers associated with it, etc...

Comment #4

Thanx everyone - it was my mistake - I shouldn't have had it in <php quotes...

Comment #5

If ((DOWNLOAD_ENABLED != 'true') || (!$stock_values'products_attributes_filename'])).

{.

$stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty'];.

<?php.

// send low stock email.

$warning_stock = STOCK_REORDER_LEVEL;.

$current_stock = $stock_left;.

$low_stock_email = '<b>The following product is.

Running low on stock:</b> '$product_info['products_name']"\n"'<b>Model No.:</b> '$product_info['products_model']"\n"'<b>Quantity:</b> ' ..

$product_info['products_quantity']"\n"'<b>Product URL:</b> ''.

Http://www.yesudo.com/product_info.php?products_id='.

(int)$HTTP_GET_VARS[.

'products_id']"\n\n"'<b>Current Low order limit is '$warning_stock' units</b>';.

$low_stock_subject = 'The following product is running low on stock: ' ..

$product_info['products_name'];.

If ($current_stock < $warning_stock) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS,.

$low_stock_subject, $low_stock_email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);.

}.

?>.

}..

Comment #6

If ((DOWNLOAD_ENABLED != 'true') || (!$stock_values'products_attributes_filename'])).

Should be.

If ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])).

HTH.

Tom..

Comment #7


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