2. Now Create a new notice and enter the consent text. For example:
<h3>We use cookies</h3>
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
<div class="consent-btns">
<button class="xnotice-dissent" onclick="consentClose()">I do not accept</button><button class="xnotice-close">I accept</button>
</div>
3. Under the `Notice Setting tab, Select the `Display Type to `Sticky`
4. Tick the checkbox `Don’t show once closed`
5. Pick the `Token Storage Type to `Cookie`
6. On the Custom Layout Field, enter following custom layout
<div {attr} class="cookie-consent">{notice}</div>
7. On the `Custom Javascript` field, enter following:
To sum up the cost of several methods, you can use the Grouping Option. Here are the steps to be followed:
Go to X-Shippingpro -> Global setting -> Grouping, Now select a group e.g. Group1 to SUM
2. Now we have a group1 and we have to assign group method/member for this group.
3. To assign a method into a group, go to the general tab of a method, select the Group to Group1.
4. When X-Shippingpro finds several methods belongs to the same group during checkout, X-Shippingpro takes the appropriate action and shows one method instead of showing them all.
For example, you have a `Method-1` and `Method-2` methods. If customer want to purchase only from the `Method-2` or `Method-2`, group mode will not come into action.
But when a customer wants to purchase from both `Method-1` and `Method-2`, it meets the group criteria and grouping will come into action. So shipping cost will be summed up and it displays the summed cost instead of showing separately.
(P.S: if you find any problem, please replace the dash with a minus sign in the equation as HTML replaces the minus sign to a dash that may cause a problem)
7. On the Payment success condition field, enter the following condition:
LMI_PAYMENT_NO != ''
8. Please download this ocmod and install it through the extension installer and refresh your ocmod list. This is needed as WebMoney does not return to the success page properly.
You can integrate Perfect money in xpayment in following ways:
Create a new payment method in x-payment
On the General setting, Choose your Order status that you want to apply when the purchase is successful.
On the Criteria setting Tab, uncheck the checkbox “For any” of the option Currency Rule. Now choose your applicable currency. This is needed as Perfect Money is not available to all currencies.
4. On the integration tab, Select Integration Type “Redirect/Forward to Payment URL”
5. Enter URL to redirect is: https://perfectmoney.is/api/step1.asp
6. Select Method Type: POST
7. On the Data(s) field, enter following JSON data and adjust your PAYEE_ACCOUNT accordingly.
It is possible to change the theme colour of the ribbon and countdown in X-Discount. To change your theme, you will have to put your custom CSS rules to the field Custom CSS located in the Global Setting tab of the X-Discount.
Here are examples of the custom ribbon and countdown:
As you know opencart has many themes on the marketplace and it is quite impossible to add predefined patches to all available templates. By X-Discount’s offer countdown and discount, the ribbon has been configured for the default theme. But it is possible to show countdown and ribbon on any theme. The Ribbon & Countdown Setting tab of the X-Discount module allows you to defined your own CSS selector where the ribbon or countdown will have appeared.
Let me show you how to find the selector using the chrome debugging tool. Let’s assume you want to place a ribbon on the product listing page. To do so, please navigate to any product listing page. Then click the mouse right button over any product box and then click the Inspect option. It will show up chrome debugging tool. Now find out a CSS Class that must be unique so it can be used to differentiate product boxes across the page. For example, for the default theme CSS selector .product-layout is unique.
Once you choose the selector for the product box, you will have to find out a selector where the X-discount actually put the ribbon in. For example, in the default theme, it could be .product-thumb .image
Similarly, you can get your selector for the details. Note in the detail page, the countdown would be placed before the given selector. For example, in the default theme, the selector #product could be a good choice.
However, if you have any problem getting your selector, don’t hesitate to request support. Have a good day!