Search found 27 matches

Search found 27 matches

yotpo works for open cart

Does someone can make yotpo works for opencart2.2?I tried but failed for category pages,all of the products use the same star ratings for category pages and related pages,however product detail pages works fine.

Jump to post
  • Mon Dec 13, 2021 10:38 am
  • Replies 2
  • Views 373
yopto reviews integration issue

Hi OC elites, I use 2.2 version,I install yopto reviews After Step 1 - Adding the JavaScript Library Code done easily,but not sure how to replace the content in " " <div class="yotpo yotpo-main-widget" data-product-id="SKU/Product_ID" data-price="Product Price"...

Jump to post
  • Fri Dec 03, 2021 1:30 pm
  • Replies 2
  • Views 726
Re: subcategory conflict with category by SEO URL

product seo url works fine by input seo url,except category and its subcategory works wrong with their seo url

Jump to post
  • Fri Dec 29, 2017 3:02 pm
  • Replies 3
  • Views 1511
Re: subcategory list disorder by https padlock

Thanks for your reply,but thats not my point,when Category input seo url,subcategory pages says "Subcategory can not be found",if i keep Category seo url blank,the browser has unfriendly like below index.php?route=product/category&path=25_28 and work fine. i use https cover whole pages.

Jump to post
  • Fri Dec 29, 2017 2:55 pm
  • Replies 3
  • Views 720
subcategory conflict with category by SEO URL

Hi, I use oc2.2 when i set up category and subcategory im headache with an issue. I set up a side category easily and input a friendly seo url like book,then i quickly set up a subcategory and choose book as parent and input book-history for sub category seo url,but when I goes to front-end from bac...

Jump to post
  • Fri Dec 29, 2017 2:37 pm
  • Replies 3
  • Views 1511
Re: price format

There is another problem related to this SUP tag issue.

139.99 is good,but for special price if add css line-through,it looks ugle like this
139.99

what i want is $139.99

Jump to post
  • Sat Jan 07, 2017 5:13 pm
  • Replies 12
  • Views 1828
Re: price format

opencartmart wrote:Have you refreshed ocmod list after adding function in the product.tpl page?
Yes,refreshed.

So now i just want it works only for price in product and category page,excluding the cart and checkout pages,but don't know how.

Jump to post
  • Sat Jan 07, 2017 5:08 pm
  • Replies 12
  • Views 1828
Re: price format

In library/cart/currency.php there is a number_format function. Without looking in too much detail I think you could edit this to surround the part after the . with <sup> tags. How to make the <sup> tags only works for category page and product page excluding cart and the special price? Cheers

Jump to post
  • Sat Jan 07, 2017 3:23 pm
  • Replies 12
  • Views 1828
Re: price format

First add following function in system/helper/general.php function priceWithSup($price) { return preg_replace('/([$£€]?)(\d+)\.(\d+)([$£€]?)/', '$1$2.<sup>$3</sup>$4', $price); } Now you can call this function anywhere you want. For example, in product.tpl replace $price by priceWithSup($price) Tha...

Jump to post
  • Fri Jan 06, 2017 11:11 pm
  • Replies 12
  • Views 1828
Re: stock status color

opencartmart wrote:There should be many extensions for doing this. Just search on extensions market
yeh,but not sure if the extension is for the customize theme.so,maybe ocmod ways can sort it out.

Jump to post
  • Thu Jan 05, 2017 8:57 pm
  • Replies 2
  • Views 399
Re: price format

In library/cart/currency.php there is a number_format function. Without looking in too much detail I think you could edit this to surround the part after the . with <sup> tags. Are you saying this code $string .= number_format($amount, (int)$decimal_place, $this->language->get('decimal_point'), $th...

Jump to post
  • Thu Jan 05, 2017 8:38 pm
  • Replies 12
  • Views 1828
Re: price format

opencartmart wrote:Do need in product page only Or in all places?
At least product page,if can extend to all other pages like cart page,that would be perfect.

Jump to post
  • Thu Jan 05, 2017 5:47 pm
  • Replies 12
  • Views 1828
stock status color

Hi,
I use oc2.2 and i want to automatically make "in stock" font in green color,and "out of stock" in red color,"Pre-order" in yellow color,don't know how,someone knows?

Jump to post
  • Thu Jan 05, 2017 2:42 pm
  • Replies 2
  • Views 399
price format

Hi,
I use OC2.2.00 and how to format the price amount in product page,for example,
I want to make the $139.99 to look like $13999

cheers

Jump to post
  • Thu Jan 05, 2017 2:38 pm
  • Replies 12
  • Views 1828
Price Format

Hi,
I got a problem for price format,for example,$32.99,i want 99 float top right with sup and smaller size than 32 ,seems its not easy thing as the price not editable as constant.

Appreciated if someone can do.

Jump to post
  • Sun Aug 28, 2016 8:13 pm
  • Replies 1
  • Views 1050
Re: how to add registered member level on account page

Nice try bro,one question,will the modification overwrite files?

Jump to post
  • Wed Aug 24, 2016 10:16 am
  • Replies 5
  • Views 797
Re: gift voucher currency error

I installed oc 2.2,not upgrade,but i almost used the last version 2.2 before 2.3 comes out,and the gift voucher module is default,not a 3rd party one.I checked out the codes page and think maybe the error is coming from script code fragment,but not so sure,the send button script on the right above c...

Jump to post
  • Sat Aug 20, 2016 10:35 pm
  • Replies 9
  • Views 1723
Re: gift voucher currency error

Yes,in edit currency page,there are values for each label,only there is one blank for symbol left or right. However,we still tested to fill the same value,say $ to test if its caused by blank,but the same message alert popup. Decimal we fill 2 all the time. Actually,we never edit the currency page f...

Jump to post
  • Sat Aug 20, 2016 3:35 am
  • Replies 9
  • Views 1723
Re: how to add registered member level on account page

Thanks Ernie,that' s what i wanted ,but im not sure if can work it out by writing some codes in the account relevant pages to obtain the backend data--the first name,level set by admin, and make them shown up in frontend page?

Jump to post
  • Thu Aug 18, 2016 12:47 pm
  • Replies 5
  • Views 797

Search found 27 matches