Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 3rd, 2012  |  syntax: None  |  size: 0.93 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // ==UserScript==
  2. // @name SWREG Variable Pricing Checker
  3. // @license GPL version 3 http://www.gnu.org/copyleft/gpl.html
  4. // @description SWREG Ecommerce Variable Pricing - When provided by a product, checks if Variable Pricing is available. If activated change &vp=(price in fromat xx.xx)
  5. // @icon http://faq.swreg.org/favicon.ico
  6. // @info Variable Product Pricing (http://www.swreg.org/services_setup_variprice.htm)
  7. // @info2 Variation Details http://www.swreg.org/help/product/04.htm - http://www.immacc.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=163
  8. // @info3 read: http://www.textfiles.com/law/saucs1.txt
  9. // @date 28/06/2011
  10. // @version 1.01
  11. // @include https://usd.swreg.org/cgi-bin/*
  12. // @include https://*.swreg.org/cgi-bin/*
  13. // @include http://*.swreg.org/cgi-bin/*
  14. // @include http://usd.swreg.org/cgi-bin/*
  15. // ==/UserScript==
  16.  
  17. if (location.search && ! location.search.match(/&vp=[^&]/) ) {
  18.  location.href += "&vp=00.01"
  19. }