News GK5 - Virtuemart Prices & Order

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Oct 31, 2014 3:54 pm
Reply with quote
Report this post
Hi

I have a question and I need some help !!!

Question:
1) In News GK5 I select the order "by Hits amount", could you please let me know from which table and column retrieve this information??? ( I have found in virtuemart_products column "Hits" is that one?)
Help:
1) Searching in the forum I have found of how to display the product price !!! This is ok ... Now I' try to figure out two things
a) How to to crossover the sales price and display the offer price (In VM I using the override final price with the custom one) ???
b) How can I do the same thing via News GK5 ???
c) How can I have a Budge Offer for offer products ???
2) Due to many offered option of shipment and payments I would like your suggestion in order display much better as it is

The site is offline so if you need access just let me know
Many Thanks for your support
User avatar
Expert Boarder

teitbite
Sat Nov 01, 2014 12:03 pm
Reply with quote
Report this post
Hi

1. I'm not 100% sure if this option is not excluded for K2 content only, but if this has been extended than this would be the column.

2. Please try with a tips proposed in one of this threads

https://www.gavick.com/forums/instyle-j ... ce#p201847

https://www.gavick.com/forums/storefron ... ce#p189352

https://www.gavick.com/forums/instyle/s ... ce#p170580

3. I'm afraid this may be not supported by our module. It can only disapley one of the prices. In most of the cases its a price called "basePriceWithTax", so it's the orginal price without shippment or payment options only.
User avatar
Moderator

GK User
Sun Nov 02, 2014 4:11 pm
Reply with quote
Report this post
Teitbite

I have try all three solution ... unfortunately no one of these works for me..

Thanks for your support
User avatar
Expert Boarder

teitbite
Tue Nov 04, 2014 9:30 am
Reply with quote
Report this post
Hi

Please send me an access to ftp and url to page with an example of category layout and NSP module. I'll see what I can do.
User avatar
Moderator

teitbite
Wed Nov 05, 2014 9:49 am
Reply with quote
Report this post
Hi

I have edited file /modules/mod_news_pro_gk5/tmpl/view.php and added this code under line 208.

Code: Select all
   if($product->prices['discountAmount']!=0) {
            $orginal_amount = str_replace('.',$cDecSymbol,number_format($product->prices['basePrice'],$cDecimals));
            if($config['vm_currency_position'] == 'before') { 
               $orginal_amount = $cSymbol.' '.$orginal_amount;
            } else {
               $orginal_amount = $orginal_amount.' '.$cSymbol;
            }
       $news_price .= '<span style="text-decoration:line-through;display:block;">'.$orginal_amount.'</span>';
   }
User avatar
Moderator

GK User
Wed Nov 05, 2014 11:43 am
Reply with quote
Report this post
Hi Just Perfect !!!!!

Just a note I find it under modules/mod_news_pro_gk5/tmpl/com_virtuemart/view.php

THANK YOU !!!
User avatar
Expert Boarder

teitbite
Thu Nov 06, 2014 12:23 pm
Reply with quote
Report this post
Hi

Och, yes. Sorry. I've missed that part while typing the path to the file ;/ Glad it's working :)
User avatar
Moderator


cron