Remove duplicate images from flexslider product slider - drupal

I have created a view with Flexslider module with some product fields as product_image, product_title and category_name
the result i got is something like this
and my view is
the issue is for every product there are more than one image in the products table( i needed this for other purpose) but in this slider depending on the number of images products are repeating (creating duplicates) you can see in the slider above.
can anyone help me to solve this issue. I don't want any duplicate products in this slider.
Thanks in advance

First. Remove reference to taxonomy term because it can couse duplicate rows. Instead use "Category field name".
Next in your Product_image field on tab "multiple field settings" check "Display all values in the same row" option and display 1 element without separator.

Related

Woocommerce: How to display a table with different content for each Product Variation?

I would like to display a small table listing the bulk prices for each particular product variation. The table will only appear when the variation is selected, much like the variation's SKU. I am alright with the table either being in the woocommerce_product_meta_end(hook) or in one of the product tabs.
I am aware that custom fields can be created for each variation under 'edit product': http://www.remicorson.com/woocommerce-custom-fields-for-variations/. I would like to create a custom 'wp-editor' field where I can create the table for each variation using HTML, so would appreciate if anyone can help me on this.
Thanks in advance.
It might be easier than you think, without requiring custom fields! When you edit the product there is an additional "Description" field for each variation. This will be displayed when the customer selects that option - usually under the drop-down menu where you select the variation. The field isn't very big, but it does accept HTML.

Change the label text (Search & Filter wordpress plugin)

I'm using a Wordpress plugin - Search & Filter to filter the content on portfolio page. The content can be filtered by category and tag.
Basically, what I want is to remove the text "portfolio" on drop down menu as shown below. Which mean change the text from "All Portfolio Categories" to "All Categories".
I have go through the plugin code, but still cannot find it. Hoping that some of you could provide me with some advice. Thanks!
You have to add this in the shortcode:
all_items_labels="All Categories, All tags" (or whatever text you need to fill in)
Probably this is the complete shortcode you need:
[searchandfilter fields="category,post_tag" all_items_labels="All Categories, All tags"]
Hope it helps!
To replace the drop down, Use the code below
[searchandfilter fields="search,product_tag,product_cat" submit_label ="Search" search_placeholder="Search for a service" all_items_labels=",Location,Categories"]
in all_items_labels=",comma after all_items_labels=" is due to my search bar. As there is nothing to change in that, keeping that , will take it as the first position and will move to the second and third replacement. You can use similar structure to change any label of any position.

Drupal Commerce Multiple Product Listing

I am currently working on a project based on drupal + drupal commerce module.
I made a products node (Product Display) using the product reference and inline entity form - Multiple Values.
Now the problem is, I want to list products in a "div" rather than listing them through select box.
To be more clear:
It does list out multiple products, but shows only 1 product at a time. I have to select a product from the drop-down list.
As you can see here:
http://i.stack.imgur.com/EO8if.jpg
Please note: Table panel and bottle box are products.
What I want is:
All the products should be listed without the need of a drop-down select box selection.
Thanks & Regards
Is there a reason why you have used only one node of type "product display" for two diferent products "Table Panel" and "Bottle Box"?
If you create one node for each product its easier do display them as a list.
In my understanding, I wasn't doing it in the right way. I found out the way. I can make product displays and then render them as a VIEW. And style it accordingly. Again many thanks for your input, it really helped me to think, why am I doing this way.
Thanks nimbfire.

woocommerce: how to add new fields to variations form and show them on frontend

using last versions of wordpress, woocommerce and cheope (theme).
the question: how to
add some extra fields in variations form (text and image field types)
show them on frontend so that their values change accordingly on changing of attributes-select values.
e.g.: the site sells candles and uses variable products, for each kind of candle has several dimensions (with specific different prices), each of which has different duration.
The duration is an important element that I want the user to be informed about.
The same to show the available colors all together.
Unluckily in the standard variation form there is no field where I can insert these or other features.
some help please?
updated 07-August-2013
I succeeded in adding to variations form a new field displayed on back-end, as you can see here, by inserting the code you can find here (please see the comments too) in the function.php file of the theme.
Now, what I’m not able to do is get this field to display with each proper value on front-end (please take a look to the last comment in the above linked page).
Any tip or trick?
thanks
1)Add product attribute and check checkbox Used for variations and Visible on the product page
2)go to variations and add new and fill all fields price and stock must add on them
Your producr display variations and their data

How can I pass value of selected auto complete box to next autocomplete box as a argument from "View argument" section of cck field?

I have created a product review content type with some fields for categories and reviews.
I have 2 auto fill fields one for categories and one field for product selection which is also auto fill.
Created views to attached with these fields so I can get the output of categories as per passed "View argument".
When user will select the category from category auto fill box I want to pass that selected value as a argument to the product auto fill box. So the products will come as per selected categories.
I have searched for this on forums but not got the proper answer. Does anybody has idea about this feature?
Please see following image for reference.
Thanks in advance.
I think this link can help you: http://groups.drupal.org/node/3471
This example is for Drupal 5, but the basics for 6 and 7 are the same: custom JS to handle the Category Level 1 value, then post it to some MENU_CALLBACK on your site, which calls the View to get nodes with its IDs based on passed argument of Category level 1.
Anyway, if there are some difficulties, I can generate some code for D6 or D7.

Resources