![]() |
Extra Fields: Creating and making available for all Providers.
As the admin to the store, I would like to create some extra fields and make them something that shows up to each provider when they are adding a new product. I know that providers can create their own 'extra fields', which is really not the way I want it. I want to create the specified extra fields in the admin area and have them be fields that the providers have to fill in when they add a product to their store.
Is this possible? Any help or suggestions would be great! :) Thank you. |
Re: Extra Fields: Creating and making available for all Providers.
Maybe as an option to make the automatic generation - "Extra Fields" for each new product?
Take the reference product and has copied all "Extra" fields for each new product. |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
Thanks for the reply Yurij. Unfortunately, you completely lost me. I've got about 18 hours sleep since last Friday because I've been trying to get the store up and functioning properly so maybe I've just got loopy and have lost the ability to understand. ??!! (Just Kidding) 8O Really though, I don't understand what you mean with your post. Can you clarify?? THANK YOU!!! :D |
Re: Extra Fields: Creating and making available for all Providers.
To what you want to do will require some changes in the X-Cart.
1. Automatic created for each product list - "Extra fields." 2. The ban on the disposal of providers "Extra fields", established in paragraph № 1. 3. Editing list (add, edit, delete) "Extra fileds" established in paragraph № 1. Maybe we should add a field not through "Extra fields? Add them through the table "product" This looks easier. Then you should modify the database and one / two files (tpl-php)! |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
Yuri, YES! This is exactly what I would like to do. I have NO idea how to modify the database, but I'm not afraid to try if I get exact instructions. And, which templates would I have to modify and what would I have them say? THANK YOU! I really look forward to your reply. This is excactly what I need and I'm sure there are others who need the same thing as wel. :D/ |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
I will try to help you during the next week. Just at that time are no longer free. |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
That's fine. Thank you. ;) Talk to you soon! |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
There is a solution to your problem: We allow only one provider to change "Extra-Fileds", while other providers can only fill "Extra-Fileds" in the creation of their product. The obligatory initial condition - no "Extra-Fileds" for all providers. The order changes: 1. Create the backup site :) 2. Create provider (We need to know his login). You can use the provider, established by default (login: provider). 3. Edit file "modules/Extra_Fields/extra_fields.php", Find the following line: PHP Code:
And replaced by: PHP Code:
|
Re: Extra Fields: Creating and making available for all Providers.
4. Edit file "provider/extra_fields.php":
after this lines: PHP Code:
Insert the following line: PHP Code:
PS. .......$login!="provider".... If the username "provider who can edit "Extra Fileds" no "provider", change this condition (Replace the "provider" for your provider login). 5. Edit file "skin1/provider/menu.tpl": find this lines: PHP Code:
and replace them with this: PHP Code:
PS. .......and $login eq "provider".... If the username "provider who can edit "Extra Fileds" no "provider", change this condition (Replace the "provider" for your provider login). If you have any difficulty or questions, I am here. :) Total: - We allowed only one provider to work with "Extra-fileds". - All providers see the same set of "Extra-fileds" when working with the product. |
Re: Extra Fields: Creating and making available for all Providers.
Dear Yuri,
THANK YOU SO MUCH!! I did exactly what you said and it worked like a CHARM!!! Can I donate some $$ to you for your time and assistance? PM me if you have a PayPal account, and I will donate to you. THIS IS A GREAT MOD! Perfect for my type of website!!!! :D/ :D/ :D/ :D/ |
Re: Extra Fields: Creating and making available for all Providers.
Dear Yuri,
I need some more help here. Let me explain. I would like to have a specific extra field (Designer) to be listed on the product listing page. I've created and setup the extra field just as you specified above (works BEAUTIFULLY! Thanks!). When a customer clicks on any of the categories the product listing page is brought up. It currently shows the following: Product Image: Name of Product SKU of Product Short Description of Product Market Price Our Price Quantity Buy Now button, Add to Wishlist button I would also like it to display the extra field "Designer" (provider name) in the list as well, preferrably below the SKU. How would I do this? Your help and time is appreciated! THANK YOU!! |
Re: Extra Fields: Creating and making available for all Providers.
Quote:
Name "Extra field " - "Designer". If not, pls. change all"Designer" (in the entire code below) on your name. 1. Edit file "skin1/modules/Extra_Fields/product.tpl": PHP Code:
2. Create file "skin1/modules/Extra_Fields/product2.tpl": PHP Code:
|
Re: Extra Fields: Creating and making available for all Providers.
3. For "PRODUCTS DETAILS PAGE":
3.1 Edit file "skin1/customer/main/product.tpl", after this lines: PHP Code:
Insert the following code PHP Code:
3. For SUBCATEGORY page (config.Appearance.products_per_row="", Display products list in multiple columns (1-3) (leave empty to use standard format)): 3.1. Create file "skin1/modules/Extra_Fields/product3.tpl": PHP Code:
3.2. Edit file "skin1/customer/main/products.tpl", after this lines: PHP Code:
Insert the following code PHP Code:
|
Re: Extra Fields: Creating and making available for all Providers.
3. For SUBCATEGORY page (config.Appearance.products_per_row!=""):
3.1. Create file "skin1/modules/Extra_Fields/product3.tpl": PHP Code:
3.2. Edit file "skin1/customer/main/products_t.tpl", after this lines: PHP Code:
Insert the following code PHP Code:
|
Re: Extra Fields: Creating and making available for all Providers.
This answer came right on time! Thanks a million!
|
All times are GMT -8. The time now is 08:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.