News:

Looking for documentation? Take a look on our wiki

Main Menu

Manufacturer choice in product page - How to do?

Started by mrmysterious, August 25, 2016, 17:06:25 PM

Previous topic - Next topic

mrmysterious

Hello,

due to my special concept I have a product which is made by a lot of manufacturers.
How to achieve that the customer can choose via drop down menu on product page from the list of manufacturers
that I have stored before in manufacturers tab?
That means: I don't want to assign the different manufacturers to that special product when I create it, but let the customer choose anyway.
Is there a solution?

cheers,
mrm 
Joomla!-Version 3.8.5
VirtueMart 3.2.12
Template As002053free (customized)
OS Linux h
PHP 5.6.30
MySQL 5.6.19-67.0-log

GJC Web Design

https://forum.virtuemart.net/index.php?topic=79799.0

if u do'nt want to assign multi mans to (why not?) then as std. it would never show up if a man is selected

you would need to hack the product model search query to do this.. look for man id + any without manid
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

balai


mrmysterious

Quote from: balai on August 25, 2016, 19:19:24 PM
Sounds like custom fields will do the job

Fine. Maybe it is quite simple, but however I don't get it yet.

Some pics to show the problem:



You see: I added manufacturers to a product. There are two of them in this case.

How do I manage to show them as a choice here in product page?



Surely I could create a custom field where I have to write those manufacturers as a value. Again! In this case, easy - they are only two. But what about 50? 100?

Why should I have to do twice the work once I assigned them to the product there had to be an easy way to show them as a choice, hadn't it?

But I just have no clue now - though it might be soooo simple.... :-[

cheers,
mrm

Joomla!-Version 3.8.5
VirtueMart 3.2.12
Template As002053free (customized)
OS Linux h
PHP 5.6.30
MySQL 5.6.19-67.0-log

balai

I don't think that the assigned manufacturers can be selectable.
They are considered product properties, hence cannot be modified by the end user.

Your solution seems to be custom fields.
If you are looking for an easy way to assign a predefined set of values to your products, have a look at this plugin.
https://breakdesigns.net/extensions/customfields-for-all

GJC Web Design

or experiment adding the manus as cats.. there is no limit to the number and structure of cat->product mappings

E.g. when I do carparts sites etc I only use the manu as a label for the actual PART manu..  vehicle manus and models etc etc are all categories
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mrmysterious

Thanks @all for the good tips. i will try them out.
Still it's unsatisfying that the man. seem to only be of a use for internal sorting.
Maybe a task to the virtuemart programmers for a next update:
Make the man. available as a property, so they can be found in the property custom field beside product lenght, weight ect.

cheers, mrm
Joomla!-Version 3.8.5
VirtueMart 3.2.12
Template As002053free (customized)
OS Linux h
PHP 5.6.30
MySQL 5.6.19-67.0-log