Storefront shops issues

GK User
Fri Aug 26, 2016 12:49 pm
Hello , just two things:
a) How can I add some extra tabs under each product (apart from product description and customer review, see photo)
Screenshot_3.jpg

b) How can i add some offers to my products, I mean to have the old price shown but appear like erased with a line, and underneath the new price, together with the discount percentage. Or any alternative way to present my product offers and discounts.
Screenshot_4.jpg


Thanx
User avatar
Fresh Boarder

teitbite
Sun Aug 28, 2016 11:20 am
Hi

a). I'm afraid You can't without some direct changes to /html/com_virtuemart/productdetails/default.php file. Please see how the code for 2 tabs looks like now and try add Your own in similar manner.

b). In virtuemart settings You have multiple settings for price display. Just select which one You wish to show there.
User avatar
Moderator

GK User
Wed Aug 31, 2016 10:15 pm
Thanx for the answer, I will customize the default.php file as you suggest.

I need further customization for my second issue. The pricing tab in Virtuemart Configuration Tab, offers some options which i want to logically alter a bit. For example, I want the discount amount to appear only where there is a discount, and as I told you I also want to present to the customers the BasePrice (Initial price) together with the SalesPrice after the discount is applied (if there is a discount). When there is not a discount I want only the Baseprice to appear since BasePrice= SalesPrice and not both of them as it does, it makes no sense. In other Words I need to apply an IF function to check whether there is a discount or not, and only then present both BasePrice and SalesPrice. In this case, after all that, I would also use some CSS as I told you to apply a diagonal line to the BasePrice (the price before the discount to appear like erased).

I would appreciate some technical help, thank you.
User avatar
Fresh Boarder

teitbite
Sun Sep 04, 2016 11:47 am
Hi

Ok, now I understand. All the code You need is presented in couple of threads across forum, here is the most recent one I think: https://www.gavick.com/forums/quark/cro ... 45#p262245
User avatar
Moderator


cron