Saturday, October 30, 2010

Multiple Sales Per Product for Oscommerce

Our store often sets up sale prices several months in advance due to the lead time for the magazines in which we advertise. Many times the same products are repeated from ad to ad but the sale price changes. Since osCommerce as written only allows one sale price per product but has the potential to set more than one since sale prices are in their own file linked to the products I decided to see about writing my own contribution to allow sales to be set in advance and activated automatically at the proper time.

This contribution also allows you to create named sales. The names can be anything you like such as "July Magazine Ad" or "April 15 Newspaper Ad" or "Summer Sale Flyer" or whatever else you like. Each named sale will have its own beginning and ending dates which can overlap if you like. When you create a new sale for a product and associate it with an named sale the product sale will automatically take its beginning and ending dates from the named sale so you won't need to enter those again. On the catalog side specials.php the user will now be able to choose which sale items to view, whether all items on sale, items on sale that aren't associated with a named sale, or only items that are part of a specific named sale.

I’ve modified the stock osCommerce specials maintenance just enough to allow for the new beginning date and named sale features but focused my attention on writing a new sale price entry file that focuses on products. Only those sales for the focal product are listed. You can choose different products using either an advanced search or a drop down list of all products. One button click will return you to category/product maintenance with the current focal product selected. I've also added a button in the product information info box of categories.php to take you directly to sale maintenance for that product. This could make life easier since the stock osCommerce specials maintenance provides no way to search for the sale information for a specific product.

Download Add Ons Multiple Sales Per Product Oscommerce
Read more Multiple Sales Per Product for Oscommerce

Anti Hacker Login (security) for osCommerce (AHL4osC)

Spammers, robots, harvesters and other vermin are becoming more of a problem on the Web. For osC, there are several contributions that want to eliminate sending spam from HTML input forms, for example. For this purpose, the contributions 'Visual Verify Code (VVC) security', 'AntiRobotRegistrationValidation-3.2', 'anti_spambot_contact_us', 'Human confirmation V2.0' and 'Sam's_anti-hacker_account_mods_V1.6' use captchas. This is a state of the art technology that accomplishes this mission quite reliable. The disadvantage of visual verification is, that customers with visual impairments are kept out of the online store. The entire customer group of visually impaired and blind people can not buy in shops that use captchas.

By adding one of the contributions above, the osC HTML input forms are protected against spam. But none of the contributions currently protects existing customer accounts from being hacked and prevents the misuse of customer data.

I offer a different solution to both of these problems.
1. My contribution 'httpbl4osc' works with an IP-blacklist of the 'Project Honeypot' and keeps spammers, robots and harvesters away from osC HTML input forms. A visual verification is not necessary, customers will not notice the IP check.
2. The contribution 'Anti Hacker Login' offered here, protects existing customer accounts against hacker attacks. No visual verification is used, as well. The login function is temporarily blocked when an incorrect password is entered several times. The blocking time is extended by another false input. This prevents a large number of automated trial and error attacks of login name - password combinations.

The Contribution 'Anti Hacker Login' can be installed independently from my contribution 'httpbl4osc'. The combination with the contributions above, using visual verification is also possible, but not tested now.

Detailed installation instructions are included (quick and easy to do)

Translate to bahasa Indonesia
Spammer robot, merupakan masalah di Web. Untuk OSCommerce, ada beberapa kontribusi yang ingin menghilangkan mengirim spam dari bentuk-bentuk masukan HTML, misalnya. Untuk tujuan ini, kontribusi 'Visual Verifikasi Kode (VVC) keamanan', '-AntiRobotRegistrationValidation 3.2', 'anti_spambot_contact_us' 'V2.0 konfirmasi Manusia' dan 'Sam's_anti-hacker_account_mods_V1 .6' CAPTCHA digunakan. Ini adalah keadaan teknologi seni yang menyelesaikan misi ini cukup handal. Kerugian dari verifikasi visual, bahwa pelanggan dengan tunanetra disimpan keluar dari toko online. Kelompok pelanggan seluruh orang gangguan penglihatan dan buta tidak bisa membeli di toko-toko yang menggunakan CAPTCHA.

Dengan menambahkan salah satu kontribusi di atas, OSC HTML form input dilindungi terhadap spam. Tapi tak satu pun dari kontribusi saat ini melindungi rekening nasabah yang ada dari serangan hacked dan mencegah penyalahgunaan data pelanggan.

Saya menawarkan solusi yang berbeda untuk kedua masalah ini.
1. bekerja Kontribusi saya 'httpbl4osc' dengan Black-IP 'Proyek honeypot' dan terus spammer, robot dan pemanen dari bentuk masukan OSC HTML. Sebuah verifikasi visual tidak perlu, pelanggan tidak akan melihat cek IP.
2. Kontribusi 'Anti Hacker Login' ditawarkan rekening nasabah di sini, melindungi yang ada terhadap serangan hacker. Tidak ada verifikasi visual yang digunakan, juga. Fungsi login sementara diblokir bila password salah dimasukkan beberapa kali. Waktu memblokir diperpanjang oleh input lain palsu. Hal ini mencegah sejumlah besar percobaan serangan otomatis dan kesalahan nama login - kombinasi password.

Kontribusi 'Anti Hacker Login' dapat diinstal secara independen dari 'httpbl4osc' kontribusi saya. Kombinasi dengan kontribusi tersebut diatas, dengan menggunakan verifikasi visual juga mungkin, tapi tidak diuji sekarang.

Petunjuk rinci penginstalan yang disertakan (cepat dan mudah dilakukan)

Download Here Anti Hacker Login (security) for osCommerce (AHL4osC)
Read more Anti Hacker Login (security) for osCommerce (AHL4osC)