Discount Price

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu May 25, 2017 3:14 pm
Reply with quote
Report this post
Hi,

On my website indianweddingcards.in when I apply a Final price discount rule of 25%. The discounted prices is shown but the cost price is not crossed in red.
For example: https://indianweddingcards.in/wedding-c ... ation.html
Cost price is Rs.40, and after 25% discount it shows Rs.30.
But Rs.40 is not shown as crossed.
User avatar
Fresh Boarder

teitbite
Tue May 30, 2017 8:35 am
Reply with quote
Report this post
Hi

I can only see Rs.40 on this page. Can You give me an example of a product where I'll be able to see both prices ?
User avatar
Moderator

GK User
Tue May 30, 2017 9:26 am
Reply with quote
Report this post
Hi,
Yes that's the issue. When I put a discount it shows the discounted price but it doesn't show the cost price with a red cross. So how would the buyers know if this product is available at a discounted price
User avatar
Fresh Boarder

teitbite
Sat Jun 03, 2017 6:05 pm
Reply with quote
Report this post
Hi

Ok. I understand now. I can see:

Code: Select all
<span class="price-crossed"></span>


below the price, so there is something wrong about the base price itself. Please send me an access to ftp to my email [email protected], so I'll check.
User avatar
Moderator

GK User
Sun Jun 04, 2017 6:34 am
Reply with quote
Report this post
Hi,
Just sent an email with the information.
User avatar
Fresh Boarder

teitbite
Sun Jun 04, 2017 4:56 pm
Reply with quote
Report this post
Hi

I'm afraid the FTP access You've send is not working for me. I keep getting "Timed out" when trying to connect, so it could be because of the server configuration or the distance.

Any way pleas send me an access to joomla panel, it's not as easy to do that via it, but also possible, so I'll try that.
User avatar
Moderator

teitbite
Wed Jun 07, 2017 1:53 pm
Reply with quote
Report this post
Hi

Finally dug through mails to Yours and was able to see what is the problem. Looks like issue is in configuration for prices. Firstly the Discount -25% option was unpublished, secondly tax is set to 0, so price with tax used in the script was not created.

To not make changes to the configuration I forced php code to show the discounted price instead.

Code: Select all
                  if ($this->product->prices['basePrice'] != $this->product->prices['salesPrice']) {
                     echo '<span class="price-crossed">₨.' . $this->product->prices['basePrice'] . '</span>';
                  }


Now just add this to override.css, so it will be style a little better:

Code: Select all
.price-crossed {
    color: #222;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6em;
    padding: 0 30px;
    text-decoration: line-through;
}
User avatar
Moderator

teitbite
Mon Jun 19, 2017 11:24 am
Reply with quote
Report this post
Hi

Have not logged to Your site since 7th June when I made the changes described above.

Was that the problem You have mentioned in Your mail?
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.