Discount price display.
- brainforge
-
Topic Author
- Offline
Less
More
15 years 6 months ago #9377
by brainforge
Discount price display. was created by brainforge
Joomla 1.6, Hikashop 1.4.6, PHP 5.3
Just added a discount.
Product listing shows discount OK with original price crossed out.
However on checkout it shows product price followed by %discount.
On line 56 of product listing_price.php it where get('show_discount') returns 2.
On line 55 of checkout listing_price.php where get('show_discount') returns 1 - should be 2.
Also the total price shows the discount.
Not sure I like that, would prefer just to see the total price after discount.
Done a find for 'show_discount' and cannot see anywhere immediately obvious where it might be getting set to 1.
Just added a discount.
Product listing shows discount OK with original price crossed out.
However on checkout it shows product price followed by %discount.
On line 56 of product listing_price.php it where get('show_discount') returns 2.
On line 55 of checkout listing_price.php where get('show_discount') returns 1 - should be 2.
Also the total price shows the discount.
Not sure I like that, would prefer just to see the total price after discount.
Done a find for 'show_discount' and cannot see anywhere immediately obvious where it might be getting set to 1.
Please Log in or Create an account to join the conversation.
15 years 6 months ago #9460
by nicolas
Replied by nicolas on topic Re: Discount price display.
The show discount parameter can by set in the options of your menu.
So if the itemid of your product page is different from the itemid of your checkout, you will have one option for each menu. If the checkout menu was force in the configuration of hikashop but that the menu is not a hikashop content menu, the default options of the config will be used.
So if the itemid of your product page is different from the itemid of your checkout, you will have one option for each menu. If the checkout menu was force in the configuration of hikashop but that the menu is not a hikashop content menu, the default options of the config will be used.
Please Log in or Create an account to join the conversation.
- brainforge
-
Topic Author
- Offline
15 years 6 months ago #9551
by brainforge
Replied by brainforge on topic Re: Discount price display.
Finally got this to work - secret was in the Force a menu on the checkout option.
Product Display
Configuration->Display->Default Parameters for Products:
Show Discounted Price Display the Price before discount applied.
That works fine.
Shopping Cart Display
Display->Content Modules->Shopping Basket->Default Parameters for Products:
Show Discounted Price Display the price before discount is applied.
That works fine.
Checkout Display
Configuration->Checkout:
Force a menu on the checkout checkout (in my main menu).
This did not work as required.
Went into Display->Content Menus
Created a Checkout menu there.
Set Show Discounted Price Display the price before discount is applied.
Then Configuration->Checkout:
Force a menu on the checkout checkout (the menu I have just created).
Now works fine.
Product Display
Configuration->Display->Default Parameters for Products:
Show Discounted Price Display the Price before discount applied.
That works fine.
Shopping Cart Display
Display->Content Modules->Shopping Basket->Default Parameters for Products:
Show Discounted Price Display the price before discount is applied.
That works fine.
Checkout Display
Configuration->Checkout:
Force a menu on the checkout checkout (in my main menu).
This did not work as required.
Went into Display->Content Menus
Created a Checkout menu there.
Set Show Discounted Price Display the price before discount is applied.
Then Configuration->Checkout:
Force a menu on the checkout checkout (the menu I have just created).
Now works fine.
Please Log in or Create an account to join the conversation.
15 years 6 months ago #9557
by nicolas
Replied by nicolas on topic Re: Discount price display.
Great
Please Log in or Create an account to join the conversation.
- brainforge
-
Topic Author
- Offline
15 years 4 months ago #15953
by brainforge
Replied by brainforge on topic Re: Discount price display.
Just been setting up another shop and got myself confused again.
When adding a Joomla menu found that for Hikashop product / category the Hikashop Options panel displays. It does not display for Hikashop Checkout menu item.
To get the required product price display in the checkout I had to do the following:
Would it be possible to link the Hikashop Checkout menu item in the Joomla menu admin pages to the Hikashop Options in the same way that products / categories work?
When adding a Joomla menu found that for Hikashop product / category the Hikashop Options panel displays. It does not display for Hikashop Checkout menu item.
To get the required product price display in the checkout I had to do the following:
- Hikakshop / Display / Content Menus and create an unpublished menu item called 'checkoutdisplay'.
- Hikashop / Configuration / Checkout set Force Menu on Checkout to 'checkoutdisplay'.
Would it be possible to link the Hikashop Checkout menu item in the Joomla menu admin pages to the Hikashop Options in the same way that products / categories work?
Please Log in or Create an account to join the conversation.
15 years 4 months ago #15962
by nicolas
Replied by nicolas on topic Re: Discount price display.
We'll put that on the todo list.
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds