- Posts: 10
- Thank you received: 0
CREATE A LISTING OF PRODUCTS WITH DISCOUNT
14 years 3 months ago #57738
by jcmattos
CREATE A LISTING OF PRODUCTS WITH DISCOUNT was created by jcmattos
Hi,
How can I make a listing with just products with:
1. discounts.
2. More views.
3. More voting.
Can you help me with that please?
And it's possible show a image with the percentage in the product image?
How can I make a listing with just products with:
1. discounts.
2. More views.
3. More voting.
Can you help me with that please?
And it's possible show a image with the percentage in the product image?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
14 years 3 months ago - 14 years 3 months ago #57765
by Mohamed Thelji
Replied by Mohamed Thelji on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Hello,
1. You can do it if you :
- Group all your discounted product in a category
- Create a product listing of this category
2. Yes, if you create a new product listing menu and set the "Ordering field" option to product_hit
3. Yes, if this time you set the "Ordering field" option to product_total_vote
Hope this will help you.
1. You can do it if you :
- Group all your discounted product in a category
- Create a product listing of this category
2. Yes, if you create a new product listing menu and set the "Ordering field" option to product_hit
3. Yes, if this time you set the "Ordering field" option to product_total_vote
Hope this will help you.
Last edit: 14 years 3 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
14 years 3 months ago #57813
by jcmattos
Replied by jcmattos on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
And it's possible show a image with the percentage in the product listing image? (Like "SALE.jpg" image)
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
14 years 3 months ago - 14 years 3 months ago #57829
by Mohamed Thelji
Replied by Mohamed Thelji on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Our development team is currently working on a solution that will allow you to add another picture like your "SALE.jpg" on your product's pictures.
Last edit: 14 years 3 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
14 years 3 months ago #57831
by Xavier
Replied by Xavier on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Hi jcmattos,
Yes it's possible, edit the view "Product / listing_img_title.php" in HikaShop > Display > Views
Add the lines:
And you can add an image in this div, place the text in this image, and place the image with css properties.
Yes it's possible, edit the view "Product / listing_img_title.php" in HikaShop > Display > Views
Add the lines:
Code:
if($this->row->discount->discount_percent_amount != null){
?><div class="hika_discount_listing"><?php
echo (int)$this->row->discount->discount_percent_amount;
?></div><?php
}
And you can add an image in this div, place the text in this image, and place the image with css properties.
The following user(s) said Thank You: Mohamed Thelji
Please Log in or Create an account to join the conversation.
14 years 3 months ago #57857
by jcmattos
Replied by jcmattos on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
it works! thanks!
Please Log in or Create an account to join the conversation.
14 years 3 months ago - 14 years 3 months ago #57873
by RHAF
Replied by RHAF on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
It work thanks...
Last edit: 14 years 3 months ago by RHAF.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69879
by verzevoul
Replied by verzevoul on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
I ll try it to! Its important, thanks!
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69965
by verzevoul
Replied by verzevoul on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Parse error: syntax error, unexpected '}' in /home/............./html/com_hikashop/category/listing_img_title.php on line 37.
i tried it too, I added the code mentioned at the end of the file, but the above error came.
i tried it too, I added the code mentioned at the end of the file, but the above error came.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #70056
by Xavier
Replied by Xavier on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Hi verzevoul,
Since the first thread of this topic, a new feature has been made in HikaShop, the Badges.
The badges allow you to add a badge on the product image.
You can find some documentation here:
www.hikashop.com/en/support/documentatio...p-badge-listing.html
Since the first thread of this topic, a new feature has been made in HikaShop, the Badges.
The badges allow you to add a badge on the product image.
You can find some documentation here:
www.hikashop.com/en/support/documentatio...p-badge-listing.html
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #70093
by verzevoul
Replied by verzevoul on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
Really nice feature. But how can I add a badge with 20% discount to 3 only products. Not categories?
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #70097
by Xavier
Replied by Xavier on topic Re: CREATE A LISTING OF PRODUCTS WITH DISCOUNT
You can create a new category (for example: discount20), add this category to your 3 products, and apply the badge on this category.
The following user(s) said Thank You: verzevoul
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds