Lightquick Steampunk Widgets - Elements of the past and the future combining to make something not quite as good as either

LightQuick Desktop Widgets - Latest News

You are here:
Downloads
Search Downloads
Download details

 Download - Click here
   
Virtuemart 1.0.15 Product / item specific coupon codes 1.0.15
Licence GNU
Language English
Size 3.37 KB
System Joomla 1.0/Joostina 1.2
Author Dean Beedell & http://www.nandebayo.org
Website Homepage
Created 2009-10-02
Downloads 263

Virtuemart-1.0.15-product-specific-coupons.zip

This Virtuemart 1.0 extension allows you to create coupon codes that can be tied to specific products. For example, you have an item on sale in your shop at £5 - SKU spade01 with product id of 35. You can create a discount coupon of £4.99 which is tied to that specific product id (35). Entering the coupon code will discount only spade01, any other product will not receive the discount. When spade01 is removed from the cart then the discount coupon is coupon-codes.jpgalso removed. (The end result is that the product is then sold at £0.01, virtually free but the 1 penny cost allows the payment modules to recognise the sale as being valid)

The standard coupon functionality (gift/permanent coupons) is retained but the functionality is significantly improved by these changes. This additional functionality is missing from standard Virtuemart 1.0.15 and even from VM 1.1. It is absolutely essential functionality. In my opinion it should be part of core VM.

This is based upon some VM 1.1 changes found at this location: http://www.nandebayo.org/blog/?p=45. Some significant changes were made to allow it to function under VM 1.0.15. These changes are presented to you now for your Virtuemart 1.0.15 shop. The changes may well work on older versions of Virtuemart but they are untested on anything other than VM 1.0.15.

PLEASE NOTE: This hack works well on an total discount on a specific item, however a bug has been reported in the creation of % discount on a specific item, please bear with me until the bug is resolved, alternatively, please make the fix yourself and report it back to me!  I am so busy I cannot spend the time on resolving this for the moment...

This is a change /hack to core VM 1.0.15. You cannot install it using the standard Joomla installation utility. The following files will need to be changed/ replaced with the files contained in this zipfile.

administrator/components/com_virtuemart/html/product.product_list.php
administrator/components/com_virtuemart/html/coupon.coupon_form.php
administrator/components/com_virtuemart/languages/english.php
administrator/components/com_virtuemart/classes/ps_coupon.php
administrator/components/com_virtuemart/classes/ps_cart.php

This is a very safe modification to do, if you do not understand php / sql do not proceed and even if you do, it is always best to backup your installation and database. It is an easy to job to backup your whole site. If you need help then contact us and you can engage us to explain how.

When the above files have been replaced then some Database changes are required. Using MyPHP admin from your control panel add the following fields to the table jos_vm_coupons:

     product_id, user_id, min_value, discount_type

The SQL commands you must type are:

     ALTER table jos_vm_coupons ADD product_id text
     ALTER table jos_vm_coupons ADD user_id text
     ALTER table jos_vm_coupons ADD min_value text
     ALTER table jos_vm_coupons ADD discount_type text

All of the fields should be text type. All of them should have default value as null and should be nullable.

product-list.jpgFinding the product id is very difficult in VM 1.0.15. It has been made easier by a change to the Virtuemart listing of all products allowing the id field to be displayed (exactly as per Joomla 1.5) on the far right of the product list page. This useful change has been provided as part of this modification.

If you want to see the coupon functionality in action it can be seen here: 

http://www.carstuffdirect.co.uk

There are 'free gifts' which have coupon codes tied to them. Bear this in mind this is a LIVE site.

 

 

Comments (0)Add comments

Write comment

busy

Cookies

By EU law we have to leave this message about cookies - In order to deliver a personalised, responsive service and to improve the site, it remembers and stores information about how you use it. This is done using simple text files called cookies which sit on your computer. These cookies are completely safe and secure and will never contain any sensitive information. They are used only by Lightquick or the trusted partners we work with ie. Google. By continuing to use this site you accept the use of these cookies. Remember all sites use these cookies but if you are unhappy with this cookie usage, then unfortunately we have to ask you to leave the site.

 

RSS feeds listed below - Select the format of feed that you require.

Britain & Scotland - Better Together

Steampunk Yahoo Widget

How about something special for the weekend sir?

Steampunk Stamp Widget

something special for the weekend sir Lightquick have a nice little Yahoo widget for you to download. Click on either image.

Do you need a stamp with that madam?

     

Steampunk Widget Downloads

Download the Regulator Clock XWidget here

Regulator Clock XWidget 1.0.0

Downloads: 83
Avg. Rating:
StarStarStarStarStar(0)

Download the Panzer Clock and Stopwatch Yahoo Widget here

Panzer Clock and Stopwatch Yahoo Widget 1.0.0

Downloads: 31
Avg. Rating:
StarStarStarStarStar(0)

Download the U-Boat Dual Time Clock Yahoo Widget here

U-Boat Dual Time Clock Yahoo Widget 1.0.3

Downloads: 136
Avg. Rating:
StarStarStarStarStar(0)

Download the Steampunk Weathered Clock Yahoo Widget here

Steampunk Weathered Clock Yahoo Widget 1.0

Downloads: 317
Avg. Rating:
StarStarStarStarStar(0)

Download the XWidget SDK and Engine for Windows here

XWidget SDK and Engine for Windows 1.9.3

Downloads: 304
Avg. Rating:
StarStarStarStarStar(0)

Download the Steampunk Thermionic Nixie Tube widget here

Steampunk Thermionic Nixie Tube widget 1.0

Downloads: 418
Avg. Rating:
StarStarStarStarStar(4)

Download the Steampunk Underwidget here

Steampunk Underwidget 0.3

Downloads: 1307
Avg. Rating:
StarStarStarStarStar(3)

Download the Steampunk Moon Phase Widget here

Steampunk Moon Phase Widget 0.9

Downloads: 1561
Avg. Rating:
StarStarStarStarStar(6)

Download the Widget Vault - A Steampunk Widget Appstore here

Widget Vault - A Steampunk Widget Appstore

Downloads: 1203
Avg. Rating:
StarStarStarStarStar(3)

Download the Steampunk Rotating Earth Widget here

Steampunk Rotating Earth Widget 1.0

Downloads: 2136
Avg. Rating:
StarStarStarStarStar(61)

Download the Steampunk Volume XWidget here

Steampunk Volume XWidget 1.0.2

Downloads: 1272
Avg. Rating:
StarStarStarStarStar(0)

Download the Steampunk Orrery Plasmoid Widget for Linux Ku... here

Steampunk Orrery Plasmoid Widget for Linux Ku...

Downloads: 853
Avg. Rating:
StarStarStarStarStar(5)

Download the Weird Steampunk Clock Yahoo Widget here

Weird Steampunk Clock Yahoo Widget 1.2

Downloads: 1784
Avg. Rating:
StarStarStarStarStar(3)

Download the Steampunk Orrery XWidget here

Steampunk Orrery XWidget 0.1

Downloads: 1208
Avg. Rating:
StarStarStarStarStar(2)

Download the Steampunk Orrery Rainmeter Skin here

Steampunk Orrery Rainmeter Skin 0.1

Downloads: 1370
Avg. Rating:
StarStarStarStarStar(6)

Download the Steampunk Resource Monitor Widget here

Steampunk Resource Monitor Widget ver 1.0.2

Downloads: 4954
Avg. Rating:
StarStarStarStarStar(45)

Download the Jupiter Planetary Desktop Widget here

Jupiter Planetary Desktop Widget 1.0.1

Downloads: 1269
Avg. Rating:
StarStarStarStarStar(5)

Download the Steampunk Clock Widget here

Steampunk Clock Widget ver 1.2

Downloads: 2332
Avg. Rating:
StarStarStarStarStar(16)

Download the Joomla Multi-Site Status Steampunk Yahoo Widg... here

Joomla Multi-Site Status Steampunk Yahoo Widg...

Downloads: 433
Avg. Rating:
StarStarStarStarStar(5)

Download the Yahoo Widget SDK and Runtime Engine for Windo... here

Yahoo Widget SDK and Runtime Engine for Windo...

Downloads: 3465
Avg. Rating:
StarStarStarStarStar(9)

Download the Steampunk Orrery Calendar Clock Yahoo Widget here

Steampunk Orrery Calendar Clock Yahoo Widget

Downloads: 7477
Avg. Rating:
StarStarStarStarStar(2)

Download the Steampunk Weather Widget here

Steampunk Weather Widget 1.0.8

Downloads: 52832
Avg. Rating:
StarStarStarStarStar(38)

Download the Cyberpunk Yahoo thermionic nixie tube valve w... here

Cyberpunk Yahoo thermionic nixie tube valve w...

Downloads: 5952
Avg. Rating:
StarStarStarStarStar(15)

Download the British Penny Red Stamp Widget here

British Penny Red Stamp Widget 1.0.1

Downloads: 657
Avg. Rating:
StarStarStarStarStar(0)

Download the Steampunk CPU / GPU temperature monitor Yahoo... here

Steampunk CPU / GPU temperature monitor Yahoo...

Downloads: 12856
Avg. Rating:
StarStarStarStarStar(26)

Download the Steampunk Clock Calendar Yahoo Widget here

Steampunk Clock Calendar Yahoo Widget 2.8

Downloads: 18121
Avg. Rating:
StarStarStarStarStar(62)

Widget Assistance

If you require assistance regarding Widget or Desktop customisation then please contact lightquick here.

Contact me here

Navigation

Newsflashes
Sitemap

Site Last Modified

Site Last Modified:Saturday 9 April 2016, 17:54

Administrator Login Form

Administrators click here.

Log In / Sign Up

Support Sponsored Links

Click on our sponsors advert to support this site... it helps pay for all the free downloads you will find here