Would it be possible (with some modification or maybe an existing plugin) to create unique product options from within the product edit page? Those options then only assigned to that product?
In total across all my products, I'll have around 500 'options'. Each product of mine has about 5 options, rather than having to go to the OPTIONS section which will then list all 500, I'd rather input them directly from within the product edit page.
As it stands I cannot, I have to create the 'option value' elsewhere, then go back in to the product edit page area and then assign the option.
As you'll see in my attachment, you can only select already created product 'options value' from the product edit page, not create them here.
Related
I am making a nice dashboard. I have Geo-map with projects. When a user clicks on a particular project it will take the user to a detailed page about the project. I want to give this page (sheet) a dynamic title.
For example: The user clicks on the GEO map on the project in Aalst, he will be redirected to the detail page with a tittle "Costs and revenues for Project in Aalst".
Pictures of my dashboard:
enter image description here
enter image description here
I was working with VA 7.1 and there wasn't any way to parameterized text fields in VA reports. I've heard SAS wants to add this function in future release and at this moment you have to find a different way to put dynamic label on the report.
For example you can put a flat table with combination of every posible title you need. Then change style parameters for this table. You can turn off borders and column headers, change table background color, text font size and color, so you can make it looks like as a title field. Then you define filter connection between GEO map and this table, so when you click on the GEO map it will filter single record with correct title.
In Opencart we have the following type of products.
Printed Books (hard copies) which will be shipped to customer.
For the same we have Digital Downloads.
We want an option set at the store level whether user wants to see Downloads or Printed Copies.
When the user chooses downloads option, it should display only downloadable products in all the categories.
When user chooses Printed Copies, it should display only printed products in each of the categories.
Any suggestions to achieve this functionality are welcome.
Thanks
"Any suggestions to achieve this functionality"
From my point of view (which may not be optimal) we need:
Permanent storage for the user preference [5 % done]
add a column to the table <DB_PREFIX>customer with a type of INT and a value of 0 if the user is interested in all products, 1 for digital downloads and so on..., if there is a possibility that you will add new preferences later, then it's better to store a serialized version of all the user preferences in a column of type TEXT
A way to retrieve user preference [25 % done]
you can just retrieve it from the database every time you need it, a better way is to keep it in the session at the same way the user data (like address, telephone)in the class User is kept
A way to change the user preference [40 % done]
some check box in the user settings page, it's also preferable (UX wise) that the user preference is shown in the header next to his name and can be edited directly from there
And finally, displaying products based on that preference [100 % done :D]
you will need to change some code in the controller of the category page, best seller module, latest products .... (any module that involves displaying products)
Simple, naive and ugly solution:you will notice that there is a code segment that copies products data to the view data, it looks like
$data['products'][] = array( in OC 2.X and $this->data['products'][] = array( for versions prior to OC 2, a simple if condition here will be enough, just check for the user preference and decide accordingly whether to copy the product to the view data or not
Better solution: filter products based on the user preference from the very beginning in the model functions, add an extra optional parameter to all model functions that retrieves products (don't forget those functions that retrieves products count) that indicates the user preference, check inside model functions if the parameter is set then do you work in the query
I made some changes in this file catalog>view>theme>default>template>product.
I created a custom textbox where the price of the product changes according to the selection made in the select option.
http://webanddesigning.com.np/ocart/index.php?route=product/product&product_id=72&search=bara
but I cannot pass the selected price to the shopping cart. Any idea ?
Opencart does not pass price info to the cart. Price is calculated in the library cart class according to options, discounts, specials and other product data in your database. In your case it sounds like you need to either do this using native options or write a custom option method.
I was wondering if someone knows a command to change some of the product pages to a certain layout that you create in Opencart?
I have about 100 products I need to change their layouts to display certain things in the sidebar for the 100 products.
I created the layout in the admin area of Opencart 1.5.5.1. Honestly, having to go to each product (catalog > products) and select the design tab and select the Layout Override: to the choice of layout seems a little long to do!
Was hoping there is a simply SQL command to do. Is this possible?
Supposing You would like to update all the products with the same layout, follow these steps:
Find out the Layout ID (let's say, it would be 15).
Open up Your famous DB manager, let's say phpMyAdmin, while opening the window to type the SQL queries into it
Type in the following query and execute it:
UPDATE `product_to_layout` SET
`layout_id` = 15
WHERE
`product_id` IN (
SELECT `product_id` FROM `product`
)
(if You are using DB table prefixes, add it to the table names product_to_layout and product)
I am also supposing You only have a single store installation. The multistore could be a little different if You would like to set one layout for one store and another for other store.
If You have more layouts and would like to set one layout to a certain set of products You would have to modify the WHERE part to update only the concrete set of products.
i am trying to add product filter by price in opencart, So how to do this?
also add this featured in product page
Follow this steps you can easily add the Price filter for your open cart front end page
Filter I Category → Filter-->Insert--> add filter.
Give--> 1000,2000 and more.
Now Save Filters.
Filter II Extension-->Modules-->Click Filter.
Maintain with Column Left
Status enabled.
Filter III Catalog -->Products-->Click Edit
Go to Links-->Type Filter Amount
If Product Price 2500 ,then maintain the filter value price (2000 – 3000) Range.
Regards
Megala
In fact, it is unnecessary to add the price filter. It is possible to generate the price range filter automatically for products listing when the customer access any category in your store.
I use an advanced products filters module(include price range filter) for my store > http://www.myluvme.com/index.php?route=product/category&path=88_95.
It really help my customers focus in on what they are looking for which will create more sales.
The mod worked out of the box with the default theme and only needed some minor tweaks to work with my custom theme which the developer did for me immediately. i like that it builds upon the framework of oc.
It should be useful to boost your online sales too. I recommend you to try it. You could find it at:
http://www.ocaddons.com/product/opencart-module-advanced-products-filters-module-include-price-range
Unlike many other shopping carts there is no a built-in filter in OpenCart that could be considered a normal usable e-commerce store filter unfortunately. The OpenCart filters thing is a super clumsy functionality and it's not very clear for users how to administer it. In our company we use an extension called Brainy Filter http://www.opencart.com/index.php?route=extension/extension/info&extension_id=19184 They have it for both OpenCart versions but of course you should go with 2.x rather then the old 1.5.x one. All other filters we tried appeared to be either just junk or had very messy interfaces.