Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

What Is The Use Of “/?version”? Rate Topic   - - - - -

 

Posted 29 November 2015 - 04:16 PM #1

The line “define('PRODUCT_VERSION', '4.3.4')” in config.php is sufficient to know version of CS-Cart. So what is the use of “/?version”.



 
  • Triplets
  • Senior Member
  • Members
  • Join Date: 23-Sep 08
  • 1179 posts

Posted 29 November 2015 - 04:31 PM #2

I use it all the time. I maintain many cscart sites and it helps me keep track of what version they are on. Nice quick feature that doesn't require me to ftp into the server to see what version they are using.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11443 posts

Posted 29 November 2015 - 10:09 PM #3

Support.  When someone requests that I develop an addon for their site, it helps me accurately identify the version they are on.  Relying on a customer to provide this (or to go look in config.php) would be very error prone.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 

Posted 30 November 2015 - 08:11 AM #4

Okey brothers (if Triplets is sister I beg her pardon), I will comment out "die(PRODUCT_NAME . ' <b>' . PRODUCT_VERSION . ' ' . (PRODUCT_STATUS != '' ? (' (' . PRODUCT_STATUS . ')') : '') . (PRODUCT_BUILD != '' ? (' ' . PRODUCT_BUILD) : '') . '</b>');".



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19983 posts

Posted 30 November 2015 - 10:32 AM #5

If we receive any request and the customer does not know his versions, we can easily check it.

 

You can disable this feature, as Upgrade center has direct access to the value of the PRODUCT_VERSION php constant


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 

Posted 30 November 2015 - 01:35 PM #6

My dear eComLabs, thanks for the insight.