Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

noobie question


Guest

Recommended Posts

Posted

pretty new to osc... as you can tell

 

but i'm putting together a shop that will be selling different products requiring different attrib ...i'm just trying to narrow my search down, so if someone can point me to the promise land--that would be great.

 

first, i guess i'll need a contrib that will allow me to add different attribs to different products with their one-of-a-kind catalogue # or sku.

 

second, shipping fee is determine by weight...right now the store is having a standard fee (UPS) for shipment < 9lbs. and over that weight, it gets charge more per pound... which contrib (if any) will allow me to achieve this in the soon to become online store?

 

third, there is a minimum order amount (ie. let's say its $100, its a wholesale store)... how can i achieve this?

 

last and but not least, is this a good plan for payment processing, SSL+ authorize.net + authorize.net contrib module? more specifically, which SSL cert is being widely used by osc shop owners/managers/developers/etc...?

 

thanks in advance.

 

ps. nothing is too small or too big of a reply/comment/suggestions--so fire away :D

Posted

Hi,

 

The best ssl certificate in my opinion is www.instantssl.com. The $49 one would be fine.

 

Linda McGrath has a wonderful attribute manager that you can test out before it is released at:

http://www.8thoctave.com/osc_freecall/default.php

 

The admin and docs link are on that first page.

 

This might also do a minimum order price but not sure...test it out and see if it does what you want.

Posted
first, i guess i'll need a contrib that will allow me to add different attribs to different products with their one-of-a-kind catalogue # or sku.

 

I cannot help you out with this one. :(

 

second, shipping fee is determine by weight...right now the store is having a standard fee (UPS) for shipment < 9lbs. and over that weight, it gets charge more per pound... which contrib (if any) will allow me to achieve this in the soon to become online store?

 

Within Admin ~ Modules ~ Shipping you cat set at what weight break points prices are charged. For example, packages under 10 lbs are $2, packages unders 20 lbs are $4, etc.

 

third, there is a minimum order amount (ie. let's say its $100, its a wholesale store)... how can i achieve this?

 

Within Admin ~ Modules ~ Order totals there is a low order fee that will allow you to asses a fee if an order is below $100.

 

If you actually want to disable checkout if the order value is below $100, I do not know if there is a contribution that provides this functionality or not.

 

last and but not least, is this a good plan for payment processing, SSL+ authorize.net + authorize.net contrib module? more specifically, which SSL cert is being widely used by osc shop owners/managers/developers/etc...?

 

The osC + Authorize.net is probably the most used system other than PayPal.

 

In regards to a security cert, I will have to second Melinda's statement regarding InstantSSL. You receive the same coverage as from Thawte and save $150US. Not to mention that are much faster at getting you the cert.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

thanks for the feedback

 

...as for minimum order total... i don't think the owner wants to charge a fee--but to "set a minimum amount" before customers can checkout. this should make sense since the company is a wholesaler. i'm thinking of prolly just putting an if/else using php... i just need to know where to implement such a statement. any ideas where/when/how?

 

also, thanks for the ssl suggestions as well... it was either instantSSL's or freeSSL's... but i guess i'll research it more, and ask how much transaction the owner thinks he'll be having monthly...

 

i guess the only problems that lies ahead are...

 

1) integration of my design/layout

2) setting a minimum price before customers can checkout

3) setting up the admin side, so the store can work properly

 

once again, thanks.

Posted
...as for minimum order total... i don't think the owner wants to charge a fee--but to "set a minimum amount" before customers can checkout. this should make sense since the company is a wholesaler. i'm thinking of prolly just putting an if/else using php... i just need to know where to implement such a statement. any ideas where/when/how?

 

I would start looking at the files that use the already implemented low order fee thing. I'm not familiar with it, but I would imagine that wherever it would tack on an additional amount, you could output something like, "You need (a dollar amount) more to meet the minimum order requirements. You may also be able to stick it in the error checking code for the checkout process so that if the final price is under $100 it actually errors saying you need to buy more stuff. Just a suggestion to help you along. Good luck.

If every member of this board donated $1 to the dev team, that would be over $11,000.00. Don't you think this cart is worth at least a $1????

Posted

Edit shopping_cart.php to display a message that the order total is under the necessary minimum.

 

Edit each of the checkout_*.php files to check the order total and if under the minimum, redirect to shopping_cart.php to get the message.

 

I would highly suggest making the minimum order amount a configuration option in Admin so that it can easily be edited (amount wise) and disabled/enabled. ;)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

thanks for the other on editing shopping_cart.php etc... i will try that asap

 

as far as this:

I would highly suggest making the minimum order amount a configuration option in Admin so that it can easily be edited (amount wise) and disabled/enabled. ;)
how may i accomplish it...making it a "configuration option in Admin"?
Posted

Okay, this will pretty much do everything for you. :)

 

Place the following line into a PHPMyAdmin sql box:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Minimum Order Amount', 'MIN_ORDER_AMOUNT', '', 'The minimum amount an order must total to be able to checkout. Empty means no minimum.', '1', '23', now());

 

Then in Admin ~ Configuration ~ My store at the bottom you will see Minimum Order Amnout. Enter the amount that you want as your order minimum.

 

 

*****************

 

Add the following code to all of the checkout_*.php pages after

  require(DIR_WS_CLASSES . 'order.php');

 $order = new order;

add the following lines:

// check order total minimum

 if ($order->info['total'] < MIN_ORDER_AMOUNT) {

   tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));

 }

 

 

*****************

 

In shopping_cart.php, around line 107 should be:

      <tr>

       <td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></td>

     </tr>

<?php

     }

   }

?>

     <tr>

replace the last line ( <tr>) with:

<?php

// minimum order total

 if ($order->info['total'] < MIN_ORDER_AMOUNT) {

?>

     <tr>

       <td class="stockWarning" align="center"><br><?php echo TEXT_ORDER_UNDER_MIN_AMOUNT; ?></td>

     </tr>

<?php

     }

?>

     <tr>

 

 

*****************

 

Edit includes/languages/[language]/shopping_cart.php to add:

define('TEXT_ORDER_UNDER_MIN_AMOUNT', 'A minimum order amount of $' . MIN_ORDER_AMOUNT . ' is required in order to checkout.');

 

and that should do it. ;)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

thanks jim... you might as well release that as a contribution ^^

 

might help other people out there w/ shops like the one i'm working on.

 

again, thanks a lot... i will try it as soon as i get back home.

Posted

Submitted as a contribution. ;)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
Submitted as a contribution. ;)

 

great ^^

 

for checkout_*.php files... i just found and changed the following (cvs 051103):

  • checkout_confirmation.php

checkout_payment.php

checkout_process.php

checkout_shipping.php

 

just wondering if that is correct... might be useful to add if so, in the readme

Posted

also, i noticed that it includes the "sales tax" as well to the order amount...

 

so that if the product-only total was $95, it will go to checkout...

 

i guess i can just subtract the tax, or just change what MIN_ORDER_AMOUNT is compared to...

 

ie.

  if ($order->info['total'] < MIN_ORDER_AMOUNT) {

   tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));

 }

 

$order->info['subtotal'] should do the trick... i think this is what the owner wanted. the minimum for the product-total alone should be at least $100.

 

thanks again jim.

Posted

You are correct on both counts - you got all of the checkout files and to use subtotal instead of total for the "real" order total.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...