Jump to content

* * * * * 2 votes

[Contribution] Products Specifications

  • Please log in to reply
1163 replies to this topic

#1161   Denzel

  • Members
  • 10 posts
  • Real Name:Dennis
  • Gender:Male
  • Location:Berlin / Germany

Posted 29 July 2015 - 12:44

Hi Carine !


With attr in the sourcecode only the radiobuttons changed once together. But nothing other happened. So I changed to prop and everything goes :D Maybe the php version is interessting for this issue ? Got 5.3.15 on my server.





#1162   Psytanium

  • Members
  • 275 posts
  • Real Name:Psytanium
  • Gender:Male

Posted 14 August 2015 - 14:02

Hello, I have a question.


I applied a filter named "Generation" to the category Processors (CPU)


The values are intel i3 / intel i5 / intel i7


When i go to the backend to edit a CPU product i can see the filter drop down with i3 selected by default.


is there a way to leave a product with Null value ? because not all processors belong to i3 or i5 or i7


I modified the files admin/includes/modules/products_specifications_input.php


I added under

if ($values_data['specification_value'] != '') {

this line

$values_select_array[0] = array('id' => '0', 'text' => 'None');

Seems working fine.

Now by default, I have 'None' as a first option in the backend, without any changes in the front end.


But i need the author advice, I'm afraid this will lead to some problems. Do you think this is safe ?

#1163   kymation


    Code Monkey

  • Community Sponsor
  • 8,874 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 14 August 2015 - 15:53

Why not just add a value of None to the list of values for this Specification?




My Addons

Banners Box 2.3+ Support
Categories Accordion Box 2.3+ Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3+ Support
Get 1 Free 2.2x & 2.3.x & BS Support Bootstrapped
Modular Front Page 2.3+ Support
Modular SEO Header Tags 2.3+ Support
Multi-Vendor Shipping (MVS) 2.2x & 2.3.x Support
PDF Datasheet 2.3+ Support
Price in Cart Only / MAPP 2.3+ Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review All Versions Support
Shopping List 2.3+ Support !
Specials Image Overlay 2.3+ Support
Superfish Categories Box 2.3+ & BS Support Bootstrapped
Theme Switcher 2.3+ & BS Support  Bootstrapped

#1164   Psytanium

  • Members
  • 275 posts
  • Real Name:Psytanium
  • Gender:Male

Posted 14 August 2015 - 16:08

@kymation if i add it as a value it will appear in the front end filter, then i will have:


Show All





now i can exclude a product from the filter.


what do you think ?