Archive

Posts Tagged ‘pound’

Configure Virtuemart On Joomla Site 2

June 24th, 2011 Comments off

We have 4 categories of products. Each category has between 5 and 9 products. All of the products are the same price. Each product should have 4 attributes. It is a coffee website so the attribute type is if they want whole beans or what type of grind they want.
There are 2 weights 1 pound and 5 pounds. Obviously the 5 pound bag is more expensive than the 1 pound bag.

They also want discount groups. So if you are a member of group 1 you get no discount. If you are a member of group 2 you get a discount and group 3 you get a larger discount and so on.

There is no tax on this coffee. Shipping will be done via USPS.

Configure Virtuemart On Joomla Site

June 21st, 2011 Comments off

We have 4 categories of products. Each category has between 5 and 9 products. All of the products are the same price. Each product should have 4 attributes. It is a coffee website so the attribute type is if they want whole beans or what type of grind they want.
There are 2 weights 1 pound and 5 pounds. Obviously the 5 pound bag is more expensive than the 1 pound bag.

They also want discount groups. So if you are a member of group 1 you get no discount. If you are a member of group 2 you get a discount and group 3 you get a larger discount and so on.

There is no tax on this coffee. Shipping will be done via USPS.

Cs Cart – Configuring Worldpay

January 18th, 2010 Comments off

Our online shop (CS Cart 2.0.8) sells gift items. Most of our customers are from USA and UK. Each gift item is priced differently for USA and UK. We have the option to choose the currency Dollars / Pounds in the web site. We are processing credit cards offline so far. We have recently signed with RBS Worldpay and configured it through the admin section.

Now, we are having problems configuring Worldpay. If the user buys the gift item it costs USA $10 and UK

Dollers To Pound

January 11th, 2010 Comments off

Hello, I just bought a job website and the currency is in $ dollers and I would like it to be in

Categories: Programming Tags: ,

Oscommerce – Usps Mail

June 22nd, 2009 Comments off

Oscommerce 2.2 RC 2A
Extensive knowledge of oscommerce required, and access to your own dev environment, as access to our installation will not be provided.

Goal: Show USPS First Class Mail as an option only, for products flagged as allowing it.
- Avoid using oscommerce contributions such as MVS.
- Below is code I have so far, that comes from a modified /includes/modules/shipping/usps.php
Need help looping through shopping cart, to check that each item has flag set to 1. If all have flag set to 1, I show quotes for the first class mail option

//If the weight of this product is 1 pound, it has the potential for first class.
//1 pound is the tare weight, and we subtract 1 lb for first class mail to leave only ounces
if ($this->pounds == “1″)
{

//Section that does not work; Loop through shopping cart – check all products
//Array Wrong Data Type
$check_first_class_basket_query = tep_db_query(“select products_id from ” . TABLE_CUSTOMERS_BASKET . ” where customers_id = ‘” . (int)$customer_id . “‘”);
while ($check_first_class_basket = tep_db_fetch_array($check_first_class_basket_query))
{
$check_first_class_query = tep_db_query(“select products_free_shipping from ” . TABLE_PRODUCTS . ” where products_id = ‘” . (int)$check_first_class_basket['products_id'] . “‘”);
$check_first_class = tep_db_fetch_array($check_first_class_query);
$check_first_class_array[] = $check_first_class['products_free_shipping'];
}
if (in_array(“1″, $check_first_class_array) && !in_array(“0″, $check_first_class_array))
{
//End Section that does not work. LOL.
//If ounces = 0, we change the weight to 1 ounce (the minimum)
if ($this->ounces == “0″)
{
$request .= ‘<Pounds> 0 </Pounds>’ . ‘<Ounces>1</Ounces>’;
}
else
{
$request .= ‘<Pounds> 0 </Pounds>’ . ‘<Ounces>’ . $this->ounces . ‘</Ounces>’;
}
}
}//Package is greater then 1 pound, skip the above checks.
}
else //KEY != FIRST CLASS

Bear