1. soura123
  2. RO CSVI
  3. Monday, 03 October 2016
  4.  Subscribe via email
i want to do sth but i m stuck on how to..
my site every day sync with my vendor site...(import to me)
and my site export an xml to a third part site (export of me)
i want to fix some products titles for my export but every day after sync titles are back on how my vendor send it to me..
so i m trying to find a way to do this correctly
what i have think of is to add my title to customtitle (not syncing with vendor) and send that title to third party
now all my customtitles are empty so what i need is to export for my third party custom title and when custom title is empty to fill with the actual product name
i think this is correct thinking but i dont know how to do that....???
or if you have any better idea

thanks very much in advanced
Accepted Answer Pending Moderation
Hello,
Since you have a condition here when custom title is empty replace it with product_name, that wont be possible with rules.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
i dont think the replace plugin is for this job because we want field to replace not text or phrase,,,
the combine pluging would be perfect for this job if has option "only when the field has value"
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
a little bit more information rolandd??
hot to set up the filed??
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,

Why don't you add a replacement rule? That way you don't need to code anything, just manage the rules.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
i m sorry i m not a coder so it is very difficult for me to find the solution...
my thought was if there is a statement like: $product_name
to add on the $fieldvalue:''; between '' and to be ok
if you now the solution please help
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello,
In com_virtuemart\model\export\product.php file check from line number 932, that is the case statement for product_name and few more fields. There is set of code with sql query written to get product_name and other fields according to the translational language.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
ok i search for that but the only thing i fond for product_name is:
case:product_name

that's it ...
any help will be appreciated
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello,
We are limited to help you here as its your custom code but still you can look for product_name case statement in the com_virtuemart\model\export\product.php file and can do the same for your customtitle.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
i have to the code on this path
com_virtuemart\model\export\products.php
on case : customtile
the $fieldvalue:'';
if i put sth between '' i get it on empty customtitles
so now i want some one to tell how to get the name between ''
i play arround with $fieldvalue: product_name
but because i am on case customtitle nothing works
so i think some one with better knowledge of php can help perhaps??
thanks
  1. more than a month ago
  2. RO CSVI
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!