Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce Bootstrap Addons and Code


Recommended Posts

Modular Shopping Cart
 
This is a modular re-design of the existing shopping cart that is used in the responsive version of osCommerce
Addon: http://addons.oscommerce.com/info/9466
Support: http://www.oscommerce.com/forums/topic/409351-modular-shopping-cart/

Link to comment
Share on other sites

Ship In Cart v3.0 BS reloaded

 

Show shipping cost and order totals estimation in shopping cart

 

Add-on: http://addons.oscommerce.com/info/9066

Support: http://forums.oscomm...showtopic=38411

 

New version for Modularized Shopping cart:

Addon: http://addons.oscommerce.com/info/9466
 

Link to comment
Share on other sites

  • 7 months later...
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Store Times BS

 

Set store opening times and holidays and optionally close checkout (or any pages you choose). Could be used instead to display whether the help line is open. Multi-language and date format compatible.

 

Edge-compatible (at time of posting). No core changes.

 

Addon: http://addons.oscommerce.com/info/9556

Support: http://www.oscommerce.com/forums/topic/410858-addon-store-times-bs/

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

  • 1 month later...

Google Customer Reviews GCR & Seller Ratings
 
Google customer reviews and seller ratings used to be just for Certified Stores. Now they are being rolled out to all Google merchants.
This addon presents customers with an opt-in form on checkout_success. Google follows up after delivery to ask for a review of the transaction.
Once you have collected enough reviews, you can show a badge with your seller rating.
 
Consists of a header tags module and a content module that can optionally be used in any area of the chosen pages.
Addon: http://addons.oscommerce.com/info/9569

Support: http://www.oscommerce.com/forums/topic/411084-addon-google-customer-reviews-gcr-seller-ratings/

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

@@BrockleyJohn

 

You beat me to it. Great work. I see you've put a default for delivery date, but I was looking for a more finessed solution on how to handle the delivery date which took into account weekends and national holidays. I ended up with some basic code (just to show it could be done) and I think for those who want to be granular an admin page could be created to add specific holiday dates and delivery times for specific zones and shipping methods. It could get ugly if you ship worldwide and have lots of shipping methods so there would need to be some mechanism for copying information between zones and shipping methods :)

 

Dates would need to be 'set and forget' so you don't have to go in and change them every year.

 

There would need to be three different methods for entering dates in the following formats:

 

- Easter (luckily there is a function in date() just for that!);

 

- Particular dates (for example Christmas Day, New Years Day); and

 

- Particular days of particular months (for example first Wednesday in March, Last Friday in November).

 

 

This is rough code for the major Australian holidays

//GET DELIVERY DATE FOR GOOGLE

$days_to_ship = 3; //Number of business days to ship

$yr = date('Y'); // Current year

$holidays = array(date('Y-m-d', strtotime($yr . '-12-25')), date('Y-m-d', strtotime($yr . '-12-24')), date('Y-m-d', strtotime($yr . '-12-26')), date('Y-m-d', strtotime($yr+1 . '-01-01')), date('Y-m-d', strtotime($yr . '-12-31')), date('Y-m-d', strtotime($yr . '-01-26')), date('Y-m-d',easter_date()), date('Y-m-d',easter_date()-172800), date('Y-m-d',easter_date()+86400), date('Y-m-d', strtotime($yr . '-04-25')), date('Y-m-d', strtotime('second monday of June')), date('Y-m-d', strtotime('first monday of March')), date('Y-m-d', strtotime('second monday of March')), date('Y-m-d', strtotime('first monday of May')), date('Y-m-d', strtotime('first monday of October')), date('Y-m-d', strtotime('first tuesday of November'))); //Array of holidays

$Today = date('Y-m-d'); //Today (duh!)

// Add weekends and national holidays to shipping time

$transit_days = array( date("Y-m-d", strtotime($Today. ' + 1 days')) , date("Y-m-d", strtotime($Today. ' + 2 days')) , date("Y-m-d", strtotime($Today. ' + 3 days')), date("Y-m-d", strtotime($Today. ' + 4 days')) , date("Y-m-d", strtotime($Today. ' + 5 days')) , date("Y-m-d", strtotime($Today. ' + 6 days')) , date("Y-m-d", strtotime($Today. ' + 7 days')) ); // This array can be cleaned up :)
	foreach($transit_days as $days) {
		if (in_array($days,$holidays)) {
		$days_to_ship = $days_to_ship+1;
	}
	}

$NewDate = date('Y-m-d',strtotime($Today . '+' . $days_to_ship . ' weekdays')); // Gives the actual date of delivery accounting for weekends and national holidays

Then again, it may be overkill :)

osCommerce user since 2003! :thumbsup:

Link to comment
Share on other sites

@@frankl

 

The main issue here is deriving the shipping method for a given order - the date handling stuff is really a nice-to-have and pointless if you don't have the timescale for the method - and zone-based timescales also require knowing the method.

 

The only way to get it for a standard osc order is to check the text on the shipping order total which is language-dependent.

 

For the interfaces I've done, I've simply implemented a mapping between order total text and shipping method. This is easy enough to populate manually for a given store but designing an admin function that will list all these texts for a multi-language store is a problem I have yet to crack.

 

The only reliable way to get the text that goes into the order total is to call the module for a quote. Since the language definitions are constants, once you have done a quote in one language, you can't do another in the same php execution. Well, unless you had one or other php extensions loaded that allow you to undefine constants but that's not a general solution.

 

As has been discussed extensively elsewhere, the cleanest approach is to extend the order table (and thus class) to record the shipping method (and payment method for similar reasons).

 

Perhaps zone bands for follow up might fly.

From a UK point of view, I can see national, European and Global as three follow-up timescales.

 

It seems to me the most important thing is to follow up after the item is received, and not too long afterwards. Setting a week follow-up on a next day delivery doesn't feel like a big issue.

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

time is money, so the proper way for delivery time estimate is to quote it alongside the delivery cost.

at least, that is the route i will be taking if I change my system ...

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

oops - sorry - didn't realise we were in this thread. Proper place for this discussion is here: http://www.oscommerce.com/forums/topic/411084-addon-google-customer-reviews-gcr-seller-ratings/

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

  • 2 months later...

Sort Products in Admin Manually

Update of original addon by Geofrey Walton This modification has been updated to work on the latest Bootstrap version and PHP 7. It adds a textbox next to the status radio buttons in admin which allows you to enter a manual default sort order for your products.

Updated Addon:  https://apps.oscommerce.com/OlMtZ

Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions.

Link to comment
Share on other sites

  • 2 weeks later...

Ship In Cart v3 BS reloaded

Show shipping cost and order totals estimation in shopping cart
 
Add-on: Ship In Cart BS reloaded v3

Support: http://www.oscommerce.com/forums/index.php?showtopic=38411

Updated link to the latest actual version, compatible with modular shopping cart, latest 2.3.4 EDGE and PHP7

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...