Post by AndreyChupik » Thu Jan 16, 2020 5:19 pm

Hi,
I have been looking at OpenCart V 3.0.3.2 as a possible solution for our website.
We have a large number of products and the pricing is fixed with set discounts for quantity.
Please tell me how to show both the list price and discounted price on the store main page?

this site shows both list price and discounted pirce on the store main page.
Last edited by AndreyChupik on Fri Jan 17, 2020 7:52 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Jan 09, 2020 5:10 am

Post by OSWorX » Thu Jan 16, 2020 6:49 pm

With OpenCart you can give discount(s) do every product.
And then display that also in the shop.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by AndreyChupik » Thu Jan 16, 2020 7:06 pm

OSWorX wrote:
Thu Jan 16, 2020 6:49 pm
With OpenCart you can give discount(s) do every product.
And then display that also in the shop.
But discount price not visible on shop's main page. I need solution to display discount price on shop's main page

Newbie

Posts

Joined
Thu Jan 09, 2020 5:10 am

Post by by mona » Thu Jan 16, 2020 7:47 pm

Opencart by default has old and new price
you can easily style this how you want

opencart by default has modules and layouts so you can add whatever you want to the home page or any other page section ..

so yes .. you can do this ..
a very quick example below of 8 products with standard opencart and 4 products after 2 seconds of styling .. this can be on the homepage - using a built in module ..

Attachments

Screen-Shot-2020-01-16.jpg

Screen-Shot-2020-01-16.jpg (164.38 KiB) Viewed 3238 times


DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by OSWorX » Thu Jan 16, 2020 7:49 pm

AndreyChupik wrote:
Thu Jan 16, 2020 7:06 pm
But discount price not visible on shop's main page. I need solution to display discount price on shop's main page
You mean you display single products (via module(s)) on the main page?
There is the main price and the discount additionally displayed.
If you want more, either develop that by yourself or post a request in the commercial forum: viewforum.php?f=88

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by AndreyChupik » Thu Jan 16, 2020 8:14 pm

by mona wrote:
Thu Jan 16, 2020 7:47 pm
Opencart by default has old and new price
you can easily style this how you want

opencart by default has modules and layouts so you can add whatever you want to the home page or any other page section ..

so yes .. you can do this ..
a very quick example below of 8 products with standard opencart and 4 products after 2 seconds of styling .. this can be on the homepage - using a built in module ..
I have a quantity discount for all products, and i want display discount price on shop's main page and regular price on shop's main page.

here is example: https://miroptom.ua
this site shows both list price and discounted price on the store main page

and i think you a talking about sale price, this is different things

Newbie

Posts

Joined
Thu Jan 09, 2020 5:10 am

Post by AndreyChupik » Thu Jan 16, 2020 8:15 pm

OSWorX wrote:
Thu Jan 16, 2020 7:49 pm
AndreyChupik wrote:
Thu Jan 16, 2020 7:06 pm
But discount price not visible on shop's main page. I need solution to display discount price on shop's main page
You mean you display single products (via module(s)) on the main page?
There is the main price and the discount additionally displayed.
If you want more, either develop that by yourself or post a request in the commercial forum: viewforum.php?f=88
I have a quantity discount for all products, and i want display discount price on shop's main page and regular price on shop's main page.

here is example: https://miroptom.ua
this site shows both list price and discounted price on the store main page

Newbie

Posts

Joined
Thu Jan 09, 2020 5:10 am

Post by letxobnav » Thu Jan 16, 2020 8:35 pm

you can have multiple quantity discounts per product but default they only show in the cart not the product page.
You would have to code to retrieve the discounted price (wholesale on that site) or find an extension.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by by mona » Thu Jan 16, 2020 8:39 pm

I am sorry but your example is extremely misleading - there are products on a homepage with 2 prices ...
one I presume is the price and the other is the price before discount .. I do not see anywhere a price for quantity
Screen-Shot-2020-01-16.jpg

Screen-Shot-2020-01-16.jpg (112.72 KiB) Viewed 3191 times

Is this what you want to appear on your homepage products?

The functionality is there .. and will not be difficult to do ..
As OSWorX has suggested .. either write that yourself or post in the commercial forum he posted above .. you will receive many replies and quotes ..

edit .. or as letxobnav suggests .. you can search the marketplace for an extension https://www.opencart.com/index.php?rout ... /extension

and this is a thread that might help you viewtopic.php?t=47726

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by letxobnav » Thu Jan 16, 2020 10:01 pm

that site displays a wholesale price, if you add a product to the cart and increase the quantity, you see the unit price decrease.
So kind of a quantity discount advertised as a wholesale price.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Mike_Shop » Thu Aug 20, 2020 5:56 am

AndreyChupik wrote:
Thu Jan 16, 2020 5:19 pm
Hi,
I have been looking at OpenCart V 3.0.3.2 as a possible solution for our website.
We have a large number of products and the pricing is fixed with set discounts for quantity.
Please tell me how to show both the list price and discounted price on the store main page?

this site shows both list price and discounted pirce on the store main page.
Hello,

I am very new here too and I am not a wizard but I think I know that you want.
You wan to show an original price of 150 euro then you make a discount to 120 euro but you want both prices to show like this...

150 euro crossed with a line and 120 euro as the new price one under the other, right?

In order to do that you have to do the following:

1. open back end as admin than go to:

2. go to Extensions > Extensions > choose extensions type MODULES > scroll down to SPECIALS and install that > than activate SPECIALS > SAVE.

3. go to CATALOG > PRODUCTS > edit a product > after DISCOUNT you will see SPECIAL > put you new price with discount + add priority + and date if you want. SAVE..
DONE

Good luck . I hope it helps.

Thank you for your support,
Kind regards,
Mike


User avatar
New member

Posts

Joined
Tue Aug 11, 2020 2:20 am

Post by Mike_Shop » Thu Aug 20, 2020 6:02 am

What I would love to know is HOW can i see the Discounted price the the price without VAT BIGGER .. they are very small by default . :))

Thanks in advance . very much appreciated.

I looked with inspect element and saw the position of them but i cannot find them in the stylesheet.css... and I don't want to break something in the code. :)
I am know this is basic stuff , but it beats me :)

Thank you for your support,
Kind regards,
Mike


User avatar
New member

Posts

Joined
Tue Aug 11, 2020 2:20 am

Post by by mona » Thu Aug 20, 2020 6:26 am

Code: Select all

.product-thumb .price-new {
    font-weight: 600;
    font-size: 22px;
}

.product-thumb .price-old {
    font-size: 16px;
    color: red;
}
will give you

Attachments

Screen-Shot-2020-08-19-at-23.22.21.jpg

Screen-Shot-2020-08-19-at-23.22.21.jpg (12.29 KiB) Viewed 2589 times


DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by Mike_Shop » Thu Aug 20, 2020 3:44 pm

by mona wrote:
Thu Aug 20, 2020 6:26 am

Code: Select all

.product-thumb .price-new {
    font-weight: 600;
    font-size: 22px;
}

.product-thumb .price-old {
    font-size: 16px;
    color: red;
}
will give you
Thank you so much, bro.

do I put it at the end or i have to replace something?

Many thanks

Thank you for your support,
Kind regards,
Mike


User avatar
New member

Posts

Joined
Tue Aug 11, 2020 2:20 am

Post by by mona » Thu Aug 20, 2020 7:57 pm

You are welcome

The correct place would be to have a custom stylesheet .. but .. that is too long to explain how to do.
So the simple solution is to add it to your stylesheet.css (anywhere actually in this case, but as a general rule add an area at the bottom

Code: Select all

/*   CUSTOM WORK  */
add all your custom styles here
all you have to then is remember to add these to any new installation (which is why the argument of a custom stylesheet comes into play above)

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: Google [Bot] and 418 guests