Latest Forum Posts
Home arrow Forum
Design Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Product Types Modification (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Product Types Modification

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1184
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Product Types Modification 4 Years, 1 Month ago  
It is based on the parameter name, not the value you give to label. Label is the actual value to be displayed.

The label is output by appending _label to the parameter name. (See below)

e.g.

Parameter Type: Testing

Parameter Name: test

Parameter Label: Test

{Testing:test_label} {Testing:test}

would output

Test this is a 123 test...
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1185
monkeytail (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Product Types Modification 4 Years, 1 Month ago  
Thanks for your (very) quick reply. Love it.

It works fine now!!

In which file do I have to delete (or comment-out) the code that provides the 'info icon' and parameter description hover - I don't want that functionality.

screen:


(turned of page-styling for better view)

Thanks ^_^
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1186
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Product Types Modification 4 Years, 1 Month ago  
Remove the short description or description from the product type (I can't remember which!)

If it exists the icon and mouse over are generated, if it does not then it isn't.
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1187
monkeytail (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Product Types Modification 4 Years, 1 Month ago  
That did it: wonderful! Works great.

Thanks a lot.
Best wishes for '08

^_^
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1475
mejim707 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Product Types Modification 3 Years, 11 Months ago  
Hi, I attempted to post this on the mod page but it did not show up. I love what I have read about what this will do. The problem I'm having is, after applying the mod and adding what I think are all the required details to the product, when I go to the product page to see it I get the message
Code: :

 {product_type}

where the details are supposed to be. COuld someone please help me figure this out. Thanks a lot!

Oh, Iforgot to mention, I'm running Joomla 1.0.13 Stable with VM 1.0.14 Stable.
 
 
Last Edit: 2008/02/27 00:23 By mejim707.
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1476
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Product Types Modification 3 Years, 11 Months ago  
Because your flypage has not been altered, {product_type} is no longer used with this mod!

This is explained on the mods page and earlier on this thread!

if your product_type name was new_type and your first parameter was param1 then to output the label you would use this in your flypage

Code: :

 {new_type:param1_label}

and to output the actual value stored you would use
Code: :

 {new_type:param1}

 
 
Last Edit: 2008/02/27 01:07 By macallf.
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1478
mejim707 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Product Types Modification 3 Years, 11 Months ago  
So I have altered the file shop.product_details.php as shown and replaced the file ps_product_type.php with the one from the zip download. Was I supposed to mod another file or specify a different flypage? The message
Code: :

 {product_type}

is showing in the store under the product. I am very sorry to trouble you with my NOOBEness (I'm such a "noobe" I don't know if that's the right spelling for noobe). I may not understand what you mean as I am fairly new to VM. Thanks again.
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1479
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Product Types Modification 3 Years, 11 Months ago  
Yes, you have to edit your flypage!

Your flypage defines how your product details page is layed out.

Product types would normally be displayed in a list, the whole point of this mod is to enable you to place individual elements of a product type anywhere you wish on your flypage and not just as a table!

For help on flypages, where they are etc, please refer to virtuemarts site. I am not going to explain here how to edit a flypage when there is a whole forum board just for this on VM's site.
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1587
movieman123 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Product Types Modification 3 Years, 10 Months ago  
Hi i have done everything copy and pasted the code like you said and coppied the class but now i dont know where to start to add fields ...
i wanna have 4 fields artist album song year but where must i add them in the backend ? of in a php file ?
i am completely new to virtuemart
can you please help me !

thanks !
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1588
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Product Types Modification 3 Years, 10 Months ago  
This is covered on The VM site, I am not going to do it again here!
 
 
Mark
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop